{"id":21487267,"url":"https://github.com/dtinth/thyme_osx_ui","last_synced_at":"2026-05-21T10:01:54.406Z","repository":{"id":21699143,"uuid":"25020513","full_name":"dtinth/thyme_osx_ui","owner":"dtinth","description":"Mac OS X Status Bar Integration for Thyme","archived":false,"fork":false,"pushed_at":"2014-10-14T05:41:13.000Z","size":156,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-23T19:48:08.645Z","etag":null,"topics":["objective-c","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/dtinth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-10T04:36:29.000Z","updated_at":"2021-09-16T21:46:57.000Z","dependencies_parsed_at":"2022-07-23T15:47:20.799Z","dependency_job_id":null,"html_url":"https://github.com/dtinth/thyme_osx_ui","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtinth%2Fthyme_osx_ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtinth%2Fthyme_osx_ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtinth%2Fthyme_osx_ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtinth%2Fthyme_osx_ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dtinth","download_url":"https://codeload.github.com/dtinth/thyme_osx_ui/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244014187,"owners_count":20383716,"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":["objective-c","ruby"],"created_at":"2024-11-23T13:27:44.165Z","updated_at":"2026-05-21T10:01:49.356Z","avatar_url":"https://github.com/dtinth.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OS X Status Bar Integration for [Thyme](http://thymerb.com/)\n\nThis Gem adds OS X status bar integration to [Thyme](http://thymerb.com/) (a hackable console-based pomodoro timer),\nallowing you to always see the remaining time.\n\n![Screenshot (hosted by imgur.com)](http://i.imgur.com/VICYfLF.png)\n\nThis works by compiling an Objective-C code that simply displays the text passed via standard input on the status bar when you install the gem, so make sure you have `clang` installed.\n\n\u003cbr/\u003e\n\n:mushroom::alien::cloud::octopus::snail::x::shoe::turtle::angel::trollface::umbrella::star2::bread::apple::rabbit::icecream::nose::tomato::elephant::gun::rabbit2::ant::tomato::icecream::octopus::nose::fish::octopus::rabbit::turtle::heart::yum::mailbox::eyeglasses::rabbit::bike:\n\n\u003cbr/\u003e\n\n## Installation and Usage\n\nFirst, install the gem:\n\n```bash\ngem install thyme_osx_ui\n```\n\n\nThen, modify your `.thymerc` by adding `before`, `tick`, and `after` hooks as follows:\n\n```ruby\nrequire 'thyme_osx_ui'\n\nbefore do\n  $ui = ThymeOSX::UI.new\nend\n\ntick do |seconds_left|\n  $ui.tick(seconds_left)\nend\n\nafter do |seconds_left|\n  $ui.destroy\nend\n```\n\nNow whenever you start a pomodoro with `thyme`, you should see a status bar item.\nClicking on it and selecting \"void\" will kill the pomodoro.\n\n\n\u003cbr/\u003e\n\n:moon::angel::cat::octopus::snowman::x::sheep::trollface::angel::trollface::umbrella::star2::banana::angel::rabbit::icecream::nail_care::turtle::eyeglasses::ghost::rabbit2::angel::tomato::icecream::octopus::nose::floppy_disk::octopus::rabbit2::trollface::horse::yum::mushroom::eyes::rocket::balloon:\n\n\u003cbr/\u003e\n\nCustomization\n-------------\n\nYou can subclass the class `ThymeOSX::UI` and override these methods:\n\n- `emoji(seconds_left)` — to change the emoji icon.\n- `text(seconds_left)` — to change the text, which include the emoji and time left.\n    - So if you want to keep the emoji, you must call `emoji(seconds_left)` yourself.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdtinth%2Fthyme_osx_ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdtinth%2Fthyme_osx_ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdtinth%2Fthyme_osx_ui/lists"}