{"id":24872628,"url":"https://github.com/jecaro/pomodozig","last_synced_at":"2025-07-07T17:32:26.453Z","repository":{"id":275210960,"uuid":"911621945","full_name":"jecaro/pomodozig","owner":"jecaro","description":"Terminal based pomodoro timer","archived":false,"fork":false,"pushed_at":"2025-01-31T21:22:01.000Z","size":81,"stargazers_count":13,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T22:19:23.745Z","etag":null,"topics":["polybar","pomodoro","zig"],"latest_commit_sha":null,"homepage":"","language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jecaro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2025-01-03T13:01:17.000Z","updated_at":"2025-01-31T21:21:59.000Z","dependencies_parsed_at":"2025-01-31T22:29:28.827Z","dependency_job_id":null,"html_url":"https://github.com/jecaro/pomodozig","commit_stats":null,"previous_names":["jecaro/pomodozig"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jecaro%2Fpomodozig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jecaro%2Fpomodozig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jecaro%2Fpomodozig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jecaro%2Fpomodozig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jecaro","download_url":"https://codeload.github.com/jecaro/pomodozig/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236620026,"owners_count":19178242,"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":["polybar","pomodoro","zig"],"created_at":"2025-02-01T05:18:15.200Z","updated_at":"2025-02-01T05:18:15.815Z","avatar_url":"https://github.com/jecaro.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pomodozig\n\n[![CI][status-png]][status]\n\n`pomodozig` is a simple terminal based pomodoro timer written in `Zig`. It can \nbe used in the terminal or embedded in a status bar such as `polybar` as shown \nbelow.\n\n\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"./demo.gif\" alt=\"demo\"/\u003e\n\u003c/div\u003e\n\n## Installation\n\nA static binary is available in the [releases][releases] page. It should work \non any linux distribution. For nix users, an overlay is available in [the flake \nfile](./flake.nix).\n\n## Usage\n\n```\n$ pomodozig -h\nUsage: pomodozig\n[-t \u003ctask_length\u003e]    Task length in minutes (default: 25 mins)\n[-sb \u003cshort_break\u003e]   Short break length in minutes (default: 5 mins)\n[-n \u003cnum_pomodoros\u003e]  Number of pomodoros before long break (default: 4)\n[-lb \u003clong_break\u003e]    Long break length in minutes (default: 15 mins)\n[-s]                  Disable notifications\n[-h]                  Show this help message\n```\n\n## Use in Polybar\n\nHere is an example of how to embed `pomodozig` in `polybar`:\n\n```ini\n[module/pomodozig]\ntype = custom/script\nlabel = 🍅 %output%\ninterval = 1\nexec = pomodozig\ntail = true\n; pause/resume\nclick-left = kill -USR1 %pid%\n; reset\nclick-right = kill -USR2 %pid%\n```\n\n## Controls\n\n`pomodozig` can be controlled with the following keys:\n\n- `q` Quit\n- `p` Pause/Resume\n- `r` Reset the current task/break. Hit twice to reset the whole session.\n\nor with signals:\n\n- `SIGUSR1` Pause/Resume\n- `SIGUSR2` Reset the current task/break. Send twice to reset the whole \n  session.\n\n## Notifications\n\n`pomodozig` notifies you when a task or break is over, using `notify-send` the \nprogram shipped with `libnotify`. It can be disabled with the `-s` flag.\n\n[nix]: https://nixos.org/\n[releases]: https://github.com/jecaro/pomodozig/releases\n[status-png]: https://github.com/jecaro/pomodozig/workflows/CI/badge.svg\n[status]: https://github.com/jecaro/pomodozig/actions\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjecaro%2Fpomodozig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjecaro%2Fpomodozig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjecaro%2Fpomodozig/lists"}