Changeset 7a52e57 in flowtimer


Ignore:
Timestamp:
08/29/24 09:30:31 (9 months ago)
Author:
Enrico Schwass <ennoausberlin@…>
Branches:
guix
Children:
c251a80
Parents:
406938d
Message:

some adjustments to the README.md

File:
1 edited

Legend:

Unmodified
Added
Removed
  • README.md

    r406938d r7a52e57  
    11# Flowtimer
    22
    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 CSV file and includes predefined phases of activity to help you stay focused.
     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.
    44
    55## Features
    66
    7 - **Configurable Sessions:** Define your own work, short break, and long break durations through a CSV file.
     7- **Configurable Sessions:** Define your own work, short break, and long break durations through a JSON file.
    88- **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.
    109- **Progress Tracking:** Visual feedback on time remaining for each phase.
    1110- **Customizable Cycle:** Choose how many work sessions you want before taking a longer break.
     
    23221. Clone the repository:
    2423   ```bash
    25    git clone https://github.com/yourusername/flowtimer.git
     24   git clone --branch guix https://gitlab.kid.local:/legacy/flowtimer.git
    2625   cd flowtimer
    2726   ```
     
    29282. Install the required dependencies:
    3029   ```bash
    31    pip install -r requirements.txt
     30   pip3 install .
    3231   ```
    3332
     
    36351. **Create or Modify Configuration:**
    3736
    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}
    4997   ```
    5098
     
    531012. **Run Flowtimer:**
    54102   ```bash
    55    python flowtimer.py --config config.csv
     103   python flowtimer.py --config /path/to/config_file.json
    56104   ```
    57105
    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.
    59107
    601083. **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.
    62110
    63111### Default Configuration
     
    71119### Command-line Options
    72120
    73 - `--config <file>`: Specify a custom CSV configuration file.
     121- `--config <file>`: Specify a custom JSON configuration file.
    74122- `--start`: Start the Pomodoro timer with the current configuration.
    75 - `--reset`: Reset the timer to default settings.
    76123
    77124### Example
    78125
    79126```bash
    80 python flowtimer.py --config myconfig.csv
     127python flowtimer.py --config myconfig.json
    81128```
    82129
    83 This command will start Flowtimer with a custom configuration provided in `myconfig.csv`.
     130This command will start Flowtimer with a custom configuration provided in `myconfig.json`.
    84131
    85132## Contributing
    86133
    87134Contributions are welcome! Please submit a pull request or open an issue to discuss any changes or improvements.
    88 
    89 ### To-Do
    90 
    91 - [ ] Add GUI support
    92 - [ ] Integrate sound notifications
    93 - [ ] Add a pause/resume feature
    94135
    95136## License
Note: See TracChangeset for help on using the changeset viewer.