{"id":19228884,"url":"https://github.com/dirtyhenry/pomodoro-cli","last_synced_at":"2025-04-21T02:32:07.316Z","repository":{"id":42437592,"uuid":"109532054","full_name":"dirtyhenry/pomodoro-cli","owner":"dirtyhenry","description":"🍅 A command-line Pomodoro Timer in Swift.","archived":false,"fork":false,"pushed_at":"2024-10-21T13:34:00.000Z","size":465,"stargazers_count":26,"open_issues_count":3,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-21T21:53:55.554Z","etag":null,"topics":["pomodoro-cli","pomodoro-technique","pomodoro-timer","swift","swift-package-manager"],"latest_commit_sha":null,"homepage":"https://dirtyhenry.github.io/pomodoro-cli/","language":"Swift","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/dirtyhenry.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,"publiccode":null,"codemeta":null}},"created_at":"2017-11-04T21:37:00.000Z","updated_at":"2024-10-21T13:34:02.000Z","dependencies_parsed_at":"2024-08-05T19:11:45.869Z","dependency_job_id":null,"html_url":"https://github.com/dirtyhenry/pomodoro-cli","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirtyhenry%2Fpomodoro-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirtyhenry%2Fpomodoro-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirtyhenry%2Fpomodoro-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirtyhenry%2Fpomodoro-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dirtyhenry","download_url":"https://codeload.github.com/dirtyhenry/pomodoro-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223846019,"owners_count":17213097,"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":["pomodoro-cli","pomodoro-technique","pomodoro-timer","swift","swift-package-manager"],"created_at":"2024-11-09T15:30:51.749Z","updated_at":"2024-11-09T15:32:16.346Z","avatar_url":"https://github.com/dirtyhenry.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🍅 Pomodoro CLI\n\nPomodoro is a command-line interface to run timers from your terminal for people using the [Pomodoro Technique](https://en.wikipedia.org/wiki/Pomodoro_Technique).\n\nI started this project in 2017, as a pet project to learn how to write a CLI in [Swift](https://swift.org). I never stopped writing CLI tools from then.\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/dirtyhenry/pomodoro-cli/blob/main/Resources/usage-carbon.png?raw=true\" alt=\"pomodoro-cli usage example\" width=\"673\" height=\"250\"\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n## Usage\n\n```\n➜ Usage: pomodoro-cli [options]\n\nCLI pomodoro\n\nOptions:\n  -d, --duration \u003cvalue\u003e    The duration of the pomodoro in seconds (100) or in minutes (10m) (default to 25m)\n  -h, --help                Show help information\n  -m, --message \u003cvalue\u003e     The intent of the pomodoro (example: email zero)\n```\n\n## Hooks\n\nPomodoro can optionally run shell scripts when a pomodoro starts and/or finishes.\n\nSample scripts can be found in [the `SampleHooks` directory](https://github.com/dirtyhenry/pomodoro-cli/blob/main/Resources/SampleHooks).\n\n## Journal\n\nA journal of pomodoros is created in `~/.pomodoro-cli/journal.yml`.\n\n## Installation\n\n### From Source\n\nTo install from sources, [Swift](https://swift.org/getting-started/) is required.\n\nInstalling `swiftlint` and `swiftformat` via [Homebrew](https://brew.sh/), and having installed [Ruby](https://www.ruby-lang.org/fr/)/[Bundler](https://bundler.io) are recommended for an easy installation.\n\n- `make install` will install development dependencies;\n- `make deploy` will build a release binary, move it to `/usr/local/bin` by default, with default hooks installed;\n\nCheck out [`Makefile`](https://github.com/dirtyhenry/pomodoro-cli/blob/main/Makefile) for more development convenience commands.\n\n### From Distribution Images\n\nThe `.dmg` files are created via:\n\n```\nmake clean notarize\n# and upon successful feedback from the Apple notary service:\nmake image\n```\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\nPlease make sure to update tests as appropriate.\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n\n[blog-post]: https://bootstragram.com/blog/swift-command-line-pomodoro/\n[bootstragram]: https://bootstragram.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdirtyhenry%2Fpomodoro-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdirtyhenry%2Fpomodoro-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdirtyhenry%2Fpomodoro-cli/lists"}