{"id":13471822,"url":"https://github.com/open-pomodoro/openpomodoro-cli","last_synced_at":"2026-03-09T23:32:52.750Z","repository":{"id":37484422,"uuid":"73523042","full_name":"open-pomodoro/openpomodoro-cli","owner":"open-pomodoro","description":"A command-line Pomodoro tracker which uses the Open Pomodoro Format","archived":false,"fork":false,"pushed_at":"2025-11-20T16:36:36.000Z","size":3325,"stargazers_count":455,"open_issues_count":16,"forks_count":31,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-12-18T06:28:20.785Z","etag":null,"topics":["pomodoro","pomodoro-cli","pomodoro-timer"],"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/open-pomodoro.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-11-12T00:59:33.000Z","updated_at":"2025-12-17T19:49:40.000Z","dependencies_parsed_at":"2025-09-23T03:07:22.589Z","dependency_job_id":"d12be5dc-6ebd-4040-9701-0a2fa51a2e55","html_url":"https://github.com/open-pomodoro/openpomodoro-cli","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/open-pomodoro/openpomodoro-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-pomodoro%2Fopenpomodoro-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-pomodoro%2Fopenpomodoro-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-pomodoro%2Fopenpomodoro-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-pomodoro%2Fopenpomodoro-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/open-pomodoro","download_url":"https://codeload.github.com/open-pomodoro/openpomodoro-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-pomodoro%2Fopenpomodoro-cli/sbom","scorecard":{"id":708488,"data":{"date":"2025-08-11","repo":{"name":"github.com/open-pomodoro/openpomodoro-cli","commit":"a689164211dae6e1eef9580efbb76aaf12962947"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.1,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":1,"reason":"Found 4/27 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/release.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/open-pomodoro/openpomodoro-cli/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/open-pomodoro/openpomodoro-cli/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/open-pomodoro/openpomodoro-cli/release.yml/main?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.3.0 not signed: https://api.github.com/repos/open-pomodoro/openpomodoro-cli/releases/36560836","Warn: release artifact v0.2.1 not signed: https://api.github.com/repos/open-pomodoro/openpomodoro-cli/releases/36155495","Warn: release artifact v0.1.0 not signed: https://api.github.com/repos/open-pomodoro/openpomodoro-cli/releases/11372942","Warn: release artifact v0.3.0 does not have provenance: https://api.github.com/repos/open-pomodoro/openpomodoro-cli/releases/36560836","Warn: release artifact v0.2.1 does not have provenance: https://api.github.com/repos/open-pomodoro/openpomodoro-cli/releases/36155495","Warn: release artifact v0.1.0 does not have provenance: https://api.github.com/repos/open-pomodoro/openpomodoro-cli/releases/11372942"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 7 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2022-0493 / GHSA-p782-xgp4-8hr8"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T07:27:10.718Z","repository_id":37484422,"created_at":"2025-08-22T07:27:10.718Z","updated_at":"2025-08-22T07:27:10.718Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30316771,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T20:05:46.299Z","status":"ssl_error","status_checked_at":"2026-03-09T19:57:04.425Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","pomodoro-cli","pomodoro-timer"],"created_at":"2024-07-31T16:00:49.552Z","updated_at":"2026-03-09T23:32:52.740Z","avatar_url":"https://github.com/open-pomodoro.png","language":"Shell","funding_links":[],"categories":["Go","Shell"],"sub_categories":[],"readme":"# Open-Pomodoro CLI\n\n\u003e A command-line Pomodoro tracker which uses the [Open Pomodoro Format](https://github.com/open-pomodoro/open-pomodoro-format/blob/master/README.md)\n\n## Table of Contents\n\n* [Installation](#installation)\n* [Usage](#usage)\n  * [Start a Pomodoro](#start-a-pomodoro)\n  * [Amend the current Pomodoro](#amend-the-current-pomodoro)\n  * [Check the status of the current Pomodoro](#check-the-status-of-the-current-pomodoro)\n  * [Clear a finished Pomodoro](#clear-a-finished-pomodoro)\n  * [Cancel an active Pomodoro](#cancel-an-active-pomodoro)\n  * [Finish a Pomodoro early (or late)](#finish-a-pomodoro-early-or-late)\n  * [Take a break](#take-a-break)\n  * [Repeat the last Pomodoro](#repeat-the-last-pomodoro)\n  * [Show Pomodoro history](#show-pomodoro-history)\n  * [Tmux Color](#tmux-color)\n* [Status Format](#status-format)\n  * [Available Parts](#available-parts)\n* [Hooks](#hooks)\n* [Settings](#settings)\n\n## Installation\n\n1. Download the latest package for your platform from the [Releases page](https://github.com/open-pomodoro/openpomodoro-cli/releases/latest).\n2. Untar the package with `tar -zxvf openpomodoro-cli*.tar.gz`.\n3. Move the extracted `openpomodoro-cli` file to a directory in your `$PATH` (for most systems, this will be `/usr/local/bin/`).\n\nOr, if you have a [Go development environment](https://golang.org/doc/install):\n\n```\ngo install github.com/open-pomodoro/openpomodoro-cli/cmd/pomodoro@latest\n```\n\nOr, if you've cloned this repository:\n\n```\nmake install\n```\n\n## Usage\n\n### Start a Pomodoro\n\n```\n$ pomodoro start\n25:00 🍅\n\n# Start a Pomodoro in the past\n$ pomodoro start --ago 10m\n15:00 🍅\n\n# Set the Pomodoro duration in minutes\n$ pomodoro start --duration 30\n30:00 🍅\n\n# Set the Pomodoro duration in seconds\n$ pomodoro start --duration 22m30s\n22:30 🍅\n\n# Provide a description and tags\n$ pomodoro start \"Blog post\" -t writing,personal\n25:00 🍅\nBlog post\nwriting,personal\n\n# Block until the Pomodoro finishes\n$ pomodoro start --wait\n25:00 🍅\n24:99\n```\n\n### Amend the current Pomodoro\n\n```\n$ pomodoro start \"Blog postt\" --tags writing,personal\n25:00 🍅\nBlog postt\nwriting,personal\n\n# Pass any options accepted by start. Only passed options will be changed.\n$ pomodoro amend \"Blog post\"\n24:30 🍅\nBlog post\nwriting,personal\n```\n\n### Check the status of the current Pomodoro\n\n```\n$ pomodoro status\n12:34 🍅\n\n# When the Pomodoro has finished\n$ pomodoro status\n❗🍅\n\n# Customize the status format\n$ pomodoro status -f \"%mr %c/%g 🍅\"\n12 🍅 2/8\n\n# Block until the Pomodoro finishes\n$ pomodoro status --wait\n12:34 🍅\n12:33\n```\n\nSee [](#status-format) below for documentation on the status format string.\n\n### Clear a finished Pomodoro\n\n```\n$ pomodoro status\n❗🍅\n$ pomodoro clear\n$ pomodoro status\n```\n\n### Cancel an active Pomodoro\n\n```\n$ pomodoro status\n12:34 🍅\n$ pomodoro cancel\n$ pomodoro status\n```\n\n### Finish a Pomodoro early (or late)\n\n```\n$ pomodoro status\n1:23 🍅\n$ pomodoro finish\n23:37\n$ pomodoro status\n❗️🍅\n```\n\n### Take a break\n\n```\n$ pomodoro break\n4:59\n\n$ pomodoro break 15\n14:59\n```\n\n### Repeat the last Pomodoro\n\n```\n$ pomodoro repeat\n25:00 🍅\nWriting a blog post\nwriting,personal\n\n# Block until the Pomodoro finishes\n$ pomodoro repeat --wait\n25:00 🍅\nWriting a blog post\nwriting,personal\n24:59\n```\n\n### Show Pomodoro history\n\n```\n$ pomodoro history\n2015-06-14T12:34:00-04:00 description=\"Blog post\" duration=25 tags=writing,personal\n\n# Output in JSON format\n$ pomodoro history --output json\n{\n  \"pomodoros\": [\n    {\n      \"start_time\": \"2015-06-14T12:34:56-04:00\",\n      \"description\": \"Blog Post\",\n      \"duration\": 25,\n      \"tags\": [\n        \"writing\",\n        \"personal\"\n      ]\n    }\n  ]\n}\n\n# Output in iCal format\n$ pomodoro history --output ical \u003e ~/Pomodoros.ics\n```\n\n### Tmux Color\n\n`tmux-color` returns a color for the current Pomodoro status.\n\n```\n# Active Pomodoro\n$ pomodoro tmux-color\ncolour2 # Green\n\n# Finished Pomodoro\n$ pomodoro tmux-color\ncolour1 # Red\n```\n\nNothing is output if no Pomodoro is active.\n\nColors can be used within a Tmux configuration like so:\n\n```tmux\nset -g status-left '#[bg=#(pomodoro tmux-color)]🍅'\n```\n\nYou can also define custom colors:\n\n```\n# Active Pomodoro\n$ pomodoro tmux-color --active colour166 --done colour165\ncolour166 # Orange\n\n# Finished Pomodoro\n$ pomodoro tmux-color --active colour166 --done colour165\ncolour165 # Purple\n```\n\n## Status Format\n\nAll commands which display the status of a single Pomodoro can take an additional `--format` / `-f` argument.\nThis argument controls how to display the Pomodoro.\n\nBy default, it displays the time remaining (or an Emoji exclamation point if zero), an Emoji tomato, the description, and tags.\nConsecutive spaces and newlines are de-duplicated.\n\n```\n$ pomodoro status\n12:34 🍅 \nWriting a blog post\nwriting,personal\n\n$ pomodoro status --format \"%R ⏱ %c/%g 🍅\\n%d\"\n13 ⏱ 2/8 🍅\nWriting a blog post\n```\n\n### Available Parts\n\n```\n# Time\n%r  - Time remaining in mm:ss\n%R  - Time remaining in minutes, rounded\n%!r - Same as %r, but with an exclamation point if the Pomodoro is done\n%!R - Same as %R, but with an exclamation point if the Pomodoro is done\n%l  - Length of the Pomodoro in mm:ss\n%L  - Length of the Pomodoro in minutes\n\n# Metadata\n%d  - Pomodoro description\n%t  - Pomodoro tags, joined by a comma\n\n# Goals\n%g  - Daily Pomodoro goal\n%!g  - Daily Pomodoro goal, with a preceding slash\n%c  - Completed Pomodoros today\n```\n## Hooks\n\nHooks can be run when Pomodoros change state. There are 3 possible hooks:\n\n* `break`\n* `start`\n* `stop`\n\nCommands which run hooks:\n\n* `break`: `break` immediately, `stop` when break is over\n* `cancel`: `stop`\n* `clear`: `stop`\n* `finish`: `stop`\n* `repeat`: `start`\n* `start`: `start`\n\nTo enable a hook, create an executable file in the `hooks` subdirectory within your configuration directory. For example:\n\n```sh\n#!/usr/bin/env bash\nset -exo pipefail\n\nsay \"Pomodoro started\"\n```\n\n```shellsession\n$ chmod +x ~/.pomodoro/hooks/start\n```\n\n## Settings\n\nThe Pomodoro CLI can be configured using a `settings` file in your configuration directory (`~/.pomodoro/settings`). The settings file uses the logfmt format.\n\n### Available Settings\n\n* `daily_goal` - The number of Pomodoros you want to complete each day (integer, default: 0 = no goal)\n* `default_pomodoro_duration` - Default duration for work sessions (duration string, default: 25m)\n* `default_break_duration` - Default duration for breaks (duration string, default: 5m)\n* `default_tags` - Default tags to apply to new Pomodoros (comma-separated strings, default: none)\n\n### Example Settings File\n\nCreate or edit `~/.pomodoro/settings`:\n\n```\ndaily_goal=8\ndefault_pomodoro_duration=25m\ndefault_break_duration=5m\ndefault_tags=work,focus\n```\n\n### Duration Format\n\nDuration values can be specified in the following formats:\n* Plain numbers default to minutes: `25` = 25 minutes\n* Explicit minutes: `25m`, `30m`\n* Seconds: `90s`, `1500s`\n* Mixed: `25m30s`, `1h30m`\n\n### Using Settings\n\nSettings are automatically applied when:\n* Starting a new Pomodoro (`pomodoro start`)\n* Taking a break (`pomodoro break` or `pomodoro finish --break`)\n* Displaying daily progress in status format (`%c/%g`)\n\nThe daily goal setting is used by the status format parts `%g` (goal) and `%c` (completed today) to show progress toward your daily target.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopen-pomodoro%2Fopenpomodoro-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopen-pomodoro%2Fopenpomodoro-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopen-pomodoro%2Fopenpomodoro-cli/lists"}