{"id":18564844,"url":"https://github.com/marcoplaitano/pomodoro-bash","last_synced_at":"2026-04-24T16:03:31.659Z","repository":{"id":221567320,"uuid":"754736926","full_name":"marcoplaitano/pomodoro-bash","owner":"marcoplaitano","description":"A simple Bash pomodoro timer","archived":false,"fork":false,"pushed_at":"2024-02-13T08:09:07.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-26T12:09:45.900Z","etag":null,"topics":["bash","pomodoro","pomodoro-bash","pomodoro-script","pomodoro-technique","pomodoro-technique-timer","pomodoro-timer","shell-script"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marcoplaitano.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-02-08T17:09:37.000Z","updated_at":"2024-02-09T07:41:28.000Z","dependencies_parsed_at":"2024-02-09T08:44:13.103Z","dependency_job_id":null,"html_url":"https://github.com/marcoplaitano/pomodoro-bash","commit_stats":null,"previous_names":["marcoplaitano/pomodoro","marcoplaitano/pomodoro-bash"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcoplaitano%2Fpomodoro-bash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcoplaitano%2Fpomodoro-bash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcoplaitano%2Fpomodoro-bash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcoplaitano%2Fpomodoro-bash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcoplaitano","download_url":"https://codeload.github.com/marcoplaitano/pomodoro-bash/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239293948,"owners_count":19615043,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","pomodoro","pomodoro-bash","pomodoro-script","pomodoro-technique","pomodoro-technique-timer","pomodoro-timer","shell-script"],"created_at":"2024-11-06T22:16:31.193Z","updated_at":"2026-04-24T16:03:26.624Z","avatar_url":"https://github.com/marcoplaitano.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pomodoro Timer\n\nThis Bash [Pomodoro Timer](https://www.pomodorotechnique.com/what-is-the-pomodoro-technique.php)\nis a simple command-line tool to help users implement the Pomodoro Technique, a\ntime management method that uses a timer to break down work into intervals,\nseparated by short breaks.\n\n![demo img](https://github.com/marcoplaitano/images/blob/main/pomodoro.png)\n\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n\n## Usage\n\n1. Clone the repository and make the script executable:\n\n```sh\ngit clone https://github.com/marcoplaitano/pomodoro-bash\ncd pomodoro-bash\nchmod +x pomodoro.sh\n```\n\n2. Run the pomodoro timer:\n\n```sh\n./pomodoro.sh\n```\n\nBy default, it alternates between *Focus* slices of **25** minutes and *Pauses*\nof **5**.  \nAfter **3** iterations, a *Long Pause* of **20** minutes is earned.\n\nThe timer can be controlled with case-**in**sensitive key presses:\n\n+ `P` to pause or resume (`SPACE` works too)\n+ `N` to skip to the next slice\n+ `Q` to quit the script\n\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n\n## Configuration\n\nOpen the `pomodoro.sh` file to edit the following variables:\n\n+ **TIMES**  \n    Duration (in minutes) of each slice\n    ```sh\n    declare -A TIMES=(\n        [FOCUS]=25\n        [PAUSE]=5\n        [LONG PAUSE]=20\n    )\n    ```\n\n+ **NUM_ITERATIONS**  \n    Number of *Focus* slices to complete before a *Long Pause* is earned\n    ```sh\n    NUM_ITERATIONS=3\n    ```\n\n+ **SOUNDS**  \n    Sounds to play when notifying the beginning of a new slice\n    ```sh\n    declare -A SOUNDS=(\n        [FOCUS]=\"/usr/share/sounds/focus.oga\"\n        [PAUSE]=\"/usr/share/sounds/pause.oga\"\n        [LONG PAUSE]=\"/usr/share/sounds/pause.oga\"\n    )\n    ```\n\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n\n## Author\n\nMarco Plaitano\n\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n\n## License\n\nDistributed under the [MIT](LICENSE) license.\n\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n\n## Acknowledgments\n\nPomodoro Technique: https://www.pomodorotechnique.com/what-is-the-pomodoro-technique.php\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcoplaitano%2Fpomodoro-bash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcoplaitano%2Fpomodoro-bash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcoplaitano%2Fpomodoro-bash/lists"}