{"id":16536425,"url":"https://github.com/yakimka/cherrytomato","last_synced_at":"2026-03-14T05:05:03.576Z","repository":{"id":43863259,"uuid":"225976924","full_name":"yakimka/CherryTomato","owner":"yakimka","description":"Easy to use, flexible PyQt5 Pomodoro Technique timer","archived":false,"fork":false,"pushed_at":"2025-04-13T00:03:57.000Z","size":1749,"stargazers_count":35,"open_issues_count":3,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-31T19:57:37.431Z","etag":null,"topics":["pomodoro","pyqt5","tomato-clock","tomato-timer"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yakimka.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,"zenodo":null}},"created_at":"2019-12-04T23:38:42.000Z","updated_at":"2025-07-11T13:10:27.000Z","dependencies_parsed_at":"2025-06-30T09:48:32.340Z","dependency_job_id":null,"html_url":"https://github.com/yakimka/CherryTomato","commit_stats":{"total_commits":44,"total_committers":1,"mean_commits":44.0,"dds":0.0,"last_synced_commit":"5754cd88d9754848988ada91cfa0966e9bfc79ba"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/yakimka/CherryTomato","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yakimka%2FCherryTomato","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yakimka%2FCherryTomato/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yakimka%2FCherryTomato/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yakimka%2FCherryTomato/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yakimka","download_url":"https://codeload.github.com/yakimka/CherryTomato/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yakimka%2FCherryTomato/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269976794,"owners_count":24506467,"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","status":"online","status_checked_at":"2025-08-11T02:00:10.019Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","pyqt5","tomato-clock","tomato-timer"],"created_at":"2024-10-11T18:31:20.769Z","updated_at":"2026-03-14T05:05:02.086Z","avatar_url":"https://github.com/yakimka.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![build](https://github.com/yakimka/CherryTomato/workflows/build/badge.svg)\n[![codecov](https://codecov.io/gh/yakimka/CherryTomato/branch/master/graph/badge.svg)](https://codecov.io/gh/yakimka/CherryTomato)\n\n# CherryTomato\n\n![Screenshot](https://github.com/yakimka/CherryTomato/raw/master/assets/screenshot.png)\n\n## Features\n\n* Easy to use, flexible Pomodoro Technique timer.\n* Configurable intervals.\n* Notification after time is over.\n* Short and long break (after n tomatoes).\n* Auto stop tomato and break.\n* Tomatoes counter.\n* Switch to tomato when user press stop.\n* Execute custom commands when the timer is started, stopped or changed state.\n\n## Requirements\n\n* Python\u003e=3.6\n* PyQt5\n\n## Tested on\n\n* Arch Linux\n* KDE5\n* Xorg X server | Wayland session\n* FullHD Display\n* Python 3.7, 3.8, 3.9\n\n## Installing\n\n### pypi\n\n`pip install --user CherryTomato`\n\nRun in terminal: `cherry_tomato` (`~/.local/bin` must be in PATH environment variable)\n\nAlso, you can install `*.desktop` file for executing CherryTomato from Application Launcher or krunner.\n\nJust create file `~/.local/share/applications/cherrytomato.desktop` with content (change Icon section):\n\n```\n[Desktop Entry]\nType=Application\nName=CherryTomato\nGenericName=Easy to use, flexible PyQt5 Pomodoro Technique timer\nIcon=/home/USER/.local/lib/pythonVERSION/site-packages/CherryTomato/media/icon.png\nExec=$HOME/.local/bin/cherry_tomato\nTerminal=false\nCategories=Utility\n```\n\n### Arch Linux\n\nAlso you can install [CherryTomato from AUR](https://aur.archlinux.org/packages/cherrytomato):\n\n`yaourt -S cherrytomato`\n\n## Execute custom commands\n\nYou can specify custom commands that will be triggered on some events like the timer is started, stopped or changed state.\n\nCommands executed with python `subprocess.Popen` without `shell=True` option. It means that you can't use pipes or redirect output. You can read more about this in [subprocess documentation](https://docs.python.org/3/library/subprocess.html#subprocess.Popen).\n\nBut if you need pipes and other shell features you can write your own script, place it in filesystem and execute from CherryTomato.\n\n**NOTE:** Processes started by commands that you executed will not be closed automatically on the CherryTomato exit.\n \nAlso, you can pass some info about timer to your custom commands with macros:\n\n* `{tomatoes}` - number of completed tomatoes\n* `{state}` - current timer state (\"tomato\", \"break\" or \"long_break\")\n\nExamples you can see on screenshot.\n\n`/opt/scripts/test.sh` from screenshot example:\n\n```shell script\n#!/bin/bash\n\ntomatoes=$1\nstate=$2\n\nif [ $tomatoes -gt 10 ]\nthen\n    # ...\n    # greater than 10 logic\n    # ...\nelse\n    # ...\n    # lesser than 11 logic\n    # ...\nfi\n\n\nif [ $state = \"tomato\" ]\nthen\n    # ...\n    # is tomato state logic\n    # ...\nelif [ $state = \"break\" ]\nthen\n    # ...\n    # is break state logic\n    # ...\nelif [ $state = \"long_break\" ]\nthen\n    # ...\n    # is long break state logic\n    # ...\nfi\n```\n\nAnother examples:\n\n- You can play and pause music on Spotify with commands:\n\n    `dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Play`\n    \n    `dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Pause`\n\n- You can send messages to your phone with KDE Connect:\n    \n    `kdeconnect-cli --ping-msg \"It's Tomato Time!\" -n \"Phone name\"`\n\n## Troubleshooting\n\n### Tomato icon shows as empty box\n\nSee [#13](https://github.com/yakimka/CherryTomato/issues/13)\n\n## Credits\n\n* Icons made by [Freepik](https://www.flaticon.com/authors/freepik) from [www.flaticon.com](www.flaticon.com)\n* [Notification sound](https://freesound.org/people/rhodesmas/sounds/342755/) by rhodesmas is licensed under CC BY 3.0  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyakimka%2Fcherrytomato","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyakimka%2Fcherrytomato","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyakimka%2Fcherrytomato/lists"}