- Timestamp:
- 08/29/24 09:30:31 (9 months ago)
- Branches:
- guix
- Children:
- c251a80
- Parents:
- 406938d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
README.md
r406938d r7a52e57 1 1 # Flowtimer 2 2 3 Flowtimer is a customizable Pomodoro timer designed to enhance productivity by breaking work into intervals, typically 25 minutes long, separated by short breaks. It allows you to configure your work and break sessions through a CSVfile and includes predefined phases of activity to help you stay focused.3 Flowtimer is a customizable Pomodoro timer designed to enhance productivity by breaking work into intervals, typically 25 minutes long, separated by short breaks. It allows you to configure your work and break sessions through a JSON file and includes predefined phases of activity to help you stay focused. 4 4 5 5 ## Features 6 6 7 - **Configurable Sessions:** Define your own work, short break, and long break durations through a CSVfile.7 - **Configurable Sessions:** Define your own work, short break, and long break durations through a JSON file. 8 8 - **Predefined Phases:** Start with standard Pomodoro phases or create your own. 9 - **Simple Interface:** Easy-to-use command-line interface for starting and managing your sessions.10 9 - **Progress Tracking:** Visual feedback on time remaining for each phase. 11 10 - **Customizable Cycle:** Choose how many work sessions you want before taking a longer break. … … 23 22 1. Clone the repository: 24 23 ```bash 25 git clone https://github.com/yourusername/flowtimer.git24 git clone --branch guix https://gitlab.kid.local:/legacy/flowtimer.git 26 25 cd flowtimer 27 26 ``` … … 29 28 2. Install the required dependencies: 30 29 ```bash 31 pip install -r requirements.txt30 pip3 install . 32 31 ``` 33 32 … … 36 35 1. **Create or Modify Configuration:** 37 36 38 Flowtimer reads its configuration from a CSV file. The file should define the duration of each phase (in minutes) and the order of phases. 39 40 Example `config.csv`: 41 ```csv 42 phase,duration 43 work,25 44 short_break,5 45 work,25 46 short_break,5 47 work,25 48 long_break,15 37 Flowtimer reads its configuration from a JSON file. 38 39 Example `default.json`: 40 ```json 41 { "title": "Default", 42 "blocks": [ 43 {"type": "Phase", 44 "title": "MorningHuddle", 45 "initial_ticks": 900 46 }, 47 {"type": "Sequence", 48 "title": "AM", 49 "sequence": [ 50 { 51 "title": "Tasking", 52 "initial_ticks": 120 53 }, 54 { 55 "title": "Working", 56 "initial_ticks": 5400 57 }, 58 { 59 "title": "Syncing", 60 "initial_ticks": 300 61 }, 62 { 63 "title": "Break", 64 "initial_ticks": 600 65 } 66 ], 67 "initial_repetitions": 2 68 }, 69 {"type": "Phase", 70 "title": "Lunch", 71 "initial_ticks": 2700 72 }, 73 {"type": "Sequence", 74 "title": "PM", 75 "sequence": [ 76 { 77 "title": "Tasking", 78 "initial_ticks": 120 79 }, 80 { 81 "title": "Working", 82 "initial_ticks": 5400 83 }, 84 { 85 "title": "Syncing", 86 "initial_ticks": 600 87 }, 88 { 89 "title": "Break", 90 "initial_ticks": 600 91 } 92 ], 93 "initial_repetitions": 2 94 } 95 ] 96 } 49 97 ``` 50 98 … … 53 101 2. **Run Flowtimer:** 54 102 ```bash 55 python flowtimer.py --config config.csv103 python flowtimer.py --config /path/to/config_file.json 56 104 ``` 57 105 58 This will start the timer based on the phases and durations specified in the `config.csv`file.106 This will start the timer based on the phases and durations specified in the JSON file. 59 107 60 108 3. **Adjusting Configuration:** 61 To change the timings or the order of phases, simply edit the `config.csv`file and rerun the script.109 To change the timings or the order of phases, simply edit the JSON file and rerun the script. 62 110 63 111 ### Default Configuration … … 71 119 ### Command-line Options 72 120 73 - `--config <file>`: Specify a custom CSVconfiguration file.121 - `--config <file>`: Specify a custom JSON configuration file. 74 122 - `--start`: Start the Pomodoro timer with the current configuration. 75 - `--reset`: Reset the timer to default settings.76 123 77 124 ### Example 78 125 79 126 ```bash 80 python flowtimer.py --config myconfig. csv127 python flowtimer.py --config myconfig.json 81 128 ``` 82 129 83 This command will start Flowtimer with a custom configuration provided in `myconfig. csv`.130 This command will start Flowtimer with a custom configuration provided in `myconfig.json`. 84 131 85 132 ## Contributing 86 133 87 134 Contributions are welcome! Please submit a pull request or open an issue to discuss any changes or improvements. 88 89 ### To-Do90 91 - [ ] Add GUI support92 - [ ] Integrate sound notifications93 - [ ] Add a pause/resume feature94 135 95 136 ## License
Note:
See TracChangeset
for help on using the changeset viewer.