source: flowtimer/README.md@ 7a52e57

guix
Last change on this file since 7a52e57 was 7a52e57, checked in by Enrico Schwass <ennoausberlin@…>, 9 months ago

some adjustments to the README.md

  • Property mode set to 100644
File size: 3.5 KB
RevLine 
[7ce6506]1# Flowtimer
2
[7a52e57]3Flowtimer 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.
[7ce6506]4
5## Features
6
[7a52e57]7- **Configurable Sessions:** Define your own work, short break, and long break durations through a JSON file.
[7ce6506]8- **Predefined Phases:** Start with standard Pomodoro phases or create your own.
9- **Progress Tracking:** Visual feedback on time remaining for each phase.
10- **Customizable Cycle:** Choose how many work sessions you want before taking a longer break.
11
12## Getting Started
13
14### Prerequisites
15
16Ensure you have the following installed on your machine:
17
18- Python 3.x
19
20### Installation
21
221. Clone the repository:
23 ```bash
[7a52e57]24 git clone --branch guix https://gitlab.kid.local:/legacy/flowtimer.git
[7ce6506]25 cd flowtimer
26 ```
27
282. Install the required dependencies:
29 ```bash
[7a52e57]30 pip3 install .
[7ce6506]31 ```
32
33### Usage
34
351. **Create or Modify Configuration:**
36
[7a52e57]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}
[7ce6506]97 ```
98
99 This configuration represents a standard Pomodoro cycle: three work sessions of 25 minutes each, separated by 5-minute short breaks, and followed by a 15-minute long break.
100
1012. **Run Flowtimer:**
102 ```bash
[7a52e57]103 python flowtimer.py --config /path/to/config_file.json
[7ce6506]104 ```
105
[7a52e57]106 This will start the timer based on the phases and durations specified in the JSON file.
[7ce6506]107
1083. **Adjusting Configuration:**
[7a52e57]109 To change the timings or the order of phases, simply edit the JSON file and rerun the script.
[7ce6506]110
111### Default Configuration
112
113If no configuration file is provided, Flowtimer will use the following default settings:
114
115- 25 minutes of work
116- 5 minutes of short break
117- 4 work sessions before a 15-minute long break
118
119### Command-line Options
120
[7a52e57]121- `--config <file>`: Specify a custom JSON configuration file.
[7ce6506]122- `--start`: Start the Pomodoro timer with the current configuration.
123
124### Example
125
126```bash
[7a52e57]127python flowtimer.py --config myconfig.json
[7ce6506]128```
129
[7a52e57]130This command will start Flowtimer with a custom configuration provided in `myconfig.json`.
[7ce6506]131
132## Contributing
133
134Contributions are welcome! Please submit a pull request or open an issue to discuss any changes or improvements.
135
136## License
137
138Flowtimer is open-source software licensed under the [MIT License](LICENSE).
139
140## Acknowledgments
141
142Special thanks to the Pomodoro Technique® for inspiring this tool.
Note: See TracBrowser for help on using the repository browser.