Skip to main content

A sleek desktop productivity timer for managing multiple projects

Project description

Tima

Pronounced like "timer" - because that's what it is

A sleek desktop productivity timer that keeps you focused on what matters

Tima is a modern, minimalist activity timer designed to help you cycle through multiple projects with customizable time allocations. Perfect for time-boxed work sessions, research rotations, or managing multiple concurrent projects.

Features

Core Functionality

  • Multi-Project Management - Track multiple projects simultaneously with individual timers
  • Customizable Durations - Set default time allocations or customize per-project
  • Pause & Resume - Flexible control over individual project timers
  • Auto-Cycling - Automatic notifications and project switching when time expires
  • Persistent State - All projects and timer states are saved automatically

User Experience

  • Modern Dark UI - Easy on the eyes with a sleek, contemporary design
  • Keyboard Shortcuts - Full keyboard navigation for power users
  • Visual Indicators - Clear status indicators for current, paused, and running projects
  • Undo Support - Restore accidentally deleted or renamed projects
  • Import/Export - Easily share project lists via text files

Project Controls

  • Add, rename, and delete projects on the fly
  • Individual pause/resume for each project
  • Reset timers to default duration
  • Navigate between projects with arrow keys
  • Clear visual feedback for all actions

Installation

Requirements

  • Python 3.x
  • tkinter (usually included with Python)
  • Pillow (PIL) for icon generation
  • Windows OS (for native sound notifications)

Setup

# Clone or download the repository
git clone <repository-url>
cd tima

# Install dependencies
pip install pillow

# Run the application
python tima.py

Usage

Getting Started

  1. Launch Tima - Run python tima.py
  2. Add Projects - Type project names in the input field and click ADD (or press Enter)
  3. Start Working - The timer automatically starts with your first project
  4. Stay Focused - Watch the countdown and receive alerts when time expires

Managing Projects

Adding Projects

  • Type the project name in the input field
  • Press Enter or click the ADD button
  • New projects start with the default duration (1 hour)

Renaming Projects

  • Select a project in the list
  • Press F2, Enter, or double-click
  • Type the new name and press Enter to save

Deleting Projects

  • Select a project in the list
  • Press Delete
  • Use Ctrl+Z to undo if needed

Pausing/Resuming

  • Press Space to pause/resume the current project
  • Or use the Timer menu for more options

Keyboard Shortcuts

Global Controls

Key Action
Space Pause/Resume current project
/ Page Up Previous project
/ Page Down Next project
Delete Delete selected project
Ctrl+Z Undo last delete/rename
? Show keyboard shortcuts help

Project List

Key Action
Enter Rename selected project
F2 Rename selected project
Double-click Rename selected project

Text Entry

Key Action
Enter Add project (when focused on input field)

Menu Bar Options

File Menu

  • Import Projects - Load project list from a text file
  • Export Projects - Save project list to a text file
  • Exit - Close the application

Project Menu

  • Rename Selected - Rename the selected project
  • Delete Selected - Remove the selected project
  • Reset Selected - Reset selected project timer to default
  • Pause/Resume Selected - Toggle pause state for selected project

Timer Menu

  • Pause/Resume Current - Toggle current project timer
  • Reset Current - Reset current project to default duration
  • Next Project - Move to next project in the list
  • Previous Project - Move to previous project

Settings Menu

  • Set Default Duration - Configure default time allocation for new projects

Help Menu

  • Keyboard Shortcuts - Display all available keyboard shortcuts

Configuration

Default Duration

  • Navigate to SettingsSet Default Duration
  • Enter hours and minutes
  • New projects will use this duration
  • Existing projects keep their current settings

Data Persistence

All data is automatically saved to tima_projects.json including:

  • Project names and order
  • Individual project timer states
  • Pause states
  • Current project index
  • Default duration setting

Color Scheme

The application uses a modern dark theme with carefully chosen colors:

  • Dark background for reduced eye strain
  • Purple primary accent for active elements
  • Color-coded status indicators (green for running, orange for paused, red for ended)

Technical Details

Architecture

  • Built with Python's tkinter for cross-platform GUI
  • JSON-based data persistence
  • Event-driven timer system using tkinter's after() method
  • Undo stack implementation for reversible operations

File Structure

tima/
├── tima.py                      # Main application
├── tima_projects.json           # User project data
├── tima_icon.ico               # Application icon
└── README.md                   # This file

Platform Notes

  • Windows: Full support with native sound notifications
  • macOS/Linux: GUI works, but sound notifications may need adjustment

Tips & Tricks

  1. Focus Mode - Pause all non-essential projects to focus on one task
  2. Daily Rotation - Set up recurring daily projects and cycle through them
  3. Research Sessions - Perfect for managing multiple research papers or study topics
  4. Sprint Planning - Use for time-boxed development sprints across features
  5. Meeting Prep - Allocate time for preparing multiple meeting topics

Customization

Want to change the default settings? Edit these values in tima.py:

self.default_duration = 3600  # Default duration in seconds (1 hour)

# Color scheme (lines 29-40)
self.colors = {
    'bg': '#1e1e2e',           # Dark background
    'primary': '#6c63ff',       # Primary accent color
    # ... customize other colors
}

Troubleshooting

Timer not ticking?

  • Ensure you have projects added
  • Check if the current project is paused (look for [PAUSED] indicator)

Sound notifications not working?

  • Windows: Ensure C:/Windows/Media/Alarm04.wav exists
  • Other OS: Modify timer_ended() function to use cross-platform audio

Projects not saving?

  • Check write permissions in the application directory
  • Verify tima_projects.json is not corrupted

License

This project is open source. Feel free to use, modify, and distribute as needed.

Contributing

Contributions are welcome! Some ideas for enhancements:

  • Cross-platform sound notifications
  • Statistics and time tracking reports
  • Project categories and tags
  • Desktop notifications (system tray)
  • Dark/light theme toggle
  • Custom alert sounds per project

Stay focused. Stay productive. Use Tima.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tima_timer-1.0.0.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tima_timer-1.0.0-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file tima_timer-1.0.0.tar.gz.

File metadata

  • Download URL: tima_timer-1.0.0.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.13 {"installer":{"name":"uv","version":"0.9.13"},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for tima_timer-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b651972a8a736f8da59eeebbf6f28264c03c52483facce347dd405d3cab0cfed
MD5 919ab5db22b9466722debaeb89046438
BLAKE2b-256 9dd4a68a5c69096b27d14aa57d0082ead4fea92cdfb5aef6a5538dbc33dd9c96

See more details on using hashes here.

File details

Details for the file tima_timer-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: tima_timer-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 14.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.13 {"installer":{"name":"uv","version":"0.9.13"},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for tima_timer-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f77372e49f02a6245f905418f49bd8a7467d0431953be370d984f015415801fd
MD5 5f5c138b36f1a38a64540104dba3bcc5
BLAKE2b-256 e167b2e3ba62982b01fc5411819f2f9509910eff6c3285c717dc200dabe976f9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page