{"id":28311837,"url":"https://github.com/vanstrouble/caffeine-dose-alfred-workflow","last_synced_at":"2026-06-03T23:00:26.650Z","repository":{"id":293159314,"uuid":"983134535","full_name":"vanstrouble/caffeine-dose-alfred-workflow","owner":"vanstrouble","description":"Caffeine for your Mac.","archived":false,"fork":false,"pushed_at":"2026-05-21T19:58:12.000Z","size":4920,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-05-22T04:52:55.848Z","etag":null,"topics":["alfred","alfred-workflow","amphetamine","caffeinate","caffeine","coffee","mac","macbook","macos","shell","shell-script","system","timer","workflow"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vanstrouble.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":"vanstrouble","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":null,"thanks_dev":null,"custom":null}},"created_at":"2025-05-13T23:51:19.000Z","updated_at":"2026-05-21T19:58:55.000Z","dependencies_parsed_at":"2025-05-14T02:23:13.175Z","dependency_job_id":"b38ea650-43b3-4726-9580-b16dd06021ab","html_url":"https://github.com/vanstrouble/caffeine-dose-alfred-workflow","commit_stats":null,"previous_names":["vanstrouble/caffeine-dose-alfred-workflow"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/vanstrouble/caffeine-dose-alfred-workflow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanstrouble%2Fcaffeine-dose-alfred-workflow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanstrouble%2Fcaffeine-dose-alfred-workflow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanstrouble%2Fcaffeine-dose-alfred-workflow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanstrouble%2Fcaffeine-dose-alfred-workflow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vanstrouble","download_url":"https://codeload.github.com/vanstrouble/caffeine-dose-alfred-workflow/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanstrouble%2Fcaffeine-dose-alfred-workflow/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33883102,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-03T02:00:06.370Z","response_time":59,"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":["alfred","alfred-workflow","amphetamine","caffeinate","caffeine","coffee","mac","macbook","macos","shell","shell-script","system","timer","workflow"],"created_at":"2025-05-24T14:17:38.022Z","updated_at":"2026-06-03T23:00:26.645Z","avatar_url":"https://github.com/vanstrouble.png","language":"JavaScript","funding_links":["https://ko-fi.com/vanstrouble"],"categories":[],"sub_categories":[],"readme":"# \u003cimg src=\"img/caffeine-dose-logo.PNG\" alt=\"Caffeinate Dose Alfred Workflow Icon\" width=\"45\" align=\"center\"/\u003e Caffeine Dose | Alfred Workflow\n\nKeeps your Mac awake using the `caffeinate` command-line utility. No third-party or dedicated apps required. From Alfred you can start/stop sessions, set a duration or end time, and check the status.\n\n## Download\n\n- Available on the Alfred Gallery. [Get it here](https://alfred.app/workflows/vanstrouble/caffeine-dose/).\n- Download it directly [from GitHub here](https://github.com/vanstrouble/caffeine-dose-alfred-workflow/releases/latest).\n\n**Using [Amphetamine app](https://apps.apple.com/us/app/amphetamine/id937984704?mt=12)? You can grab the workflow dose [here](https://github.com/vanstrouble/dose-alfred-workflow).**\n\n## Usage\n\nStart typing your action in Alfred using your configured keyword (default: `caff` or `cfs`, or your preferred trigger).\n\n### Keep your Mac awake (`caff`)\n\n\u003cimg src=\"img/caff.png\" alt=\"Alfred toggle Caffeinate\" width=\"550\"/\u003e\n\n\nUse the `caff` keyword to toggle caffeinate on or off, preventing macOS from sleeping.\n\n- **Keyword:** `caff`\n\nHold the **Command (⌘)** key while using the `caff` command, the session will allow the display to sleep.\n\n### All-in-one command (`cfs`)\n\n\u003cimg src=\"img/cfs-deactivate.png\" alt=\"Alfred Caffeine Dose deactivate\" width=\"550\"/\u003e\n\nThe `cfs` command lets you keep your Mac awake for a specific duration or until a set time, all from Alfred. It also shows a clear status indicator so you always know if caffeinate is active.\n\n**Key features:**\n- Flexible input: set minutes, hours, or a specific time (e.g., `cfs 15`, `cfs 2h`, `cfs 9:30pm`).\n- Natural language support for durations and times.\n- Simple status display: see if caffeinate is active or inactive at a glance.\n\n\u003cimg src=\"img/cfs-minutes.png\" alt=\"Alfred set Caffeinate duration\" width=\"550\"/\u003e\n\n- **Keyword:** `cfs [duration or time]`\n\nHold **Command (⌘)** while using `cfs` to allow the display to sleep during the session.\n\n#### Examples\n\n| Command     | Description                                     |\n|-------------|-------------------------------------------------|\n| `cfs s`     | Shows status, time left, and if display can sleep. |\n| `cfs d`     | Deactivates caffeinate. |\n| `cfs i`     | Keeps your Mac awake indefinitely.              |\n| `cfs 15`    | Keeps your Mac awake for 15 minutes.            |\n| `cfs 2h`    | Keeps your Mac awake for 2 hours.               |\n| `cfs 1 30`  | Keeps your Mac awake for 1 hour and 30 minutes. |\n| `cfs 9:30`  | Keeps your Mac awake until the next 9:30.       |\n| `cfs 8am`   | Keeps your Mac awake until 8:00 AM.             |\n| `cfs 11:40pm`| Keeps your Mac awake until 11:40 PM.           |\n\nThe `cfs` command supports both 12-hour (AM/PM) and 24-hour time formats.\n\n### Customization\n\n**Keywords**\n\nBoth `caff` and `cfs` commands can be customized in the workflow settings. You can modify their keywords or behavior to better suit your needs.\n\n**Time format**\n\nSet to 12-hour (AM/PM) or 24-hour in the workflow settings. This changes how times are shown in notifications and status.\n\n**Hotkeyss**\n\nSet hotkeys for quick and direct actions, like toggling caffeinate or starting a session instantly.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanstrouble%2Fcaffeine-dose-alfred-workflow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvanstrouble%2Fcaffeine-dose-alfred-workflow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanstrouble%2Fcaffeine-dose-alfred-workflow/lists"}