{"id":23048258,"url":"https://github.com/vanstrouble/dose-alfred-workflow","last_synced_at":"2025-07-26T13:40:11.082Z","repository":{"id":268009494,"uuid":"902714398","full_name":"vanstrouble/dose-alfred-workflow","owner":"vanstrouble","description":"Alfred Workflow for Amphetamine app.","archived":false,"fork":false,"pushed_at":"2025-06-13T21:14:52.000Z","size":2494,"stargazers_count":19,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-13T22:24:55.113Z","etag":null,"topics":["alfred","alfred-workflow","amphetamine","app-store","applescript","shell","shell-script","timer","workflow"],"latest_commit_sha":null,"homepage":"","language":"Shell","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},"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":"2024-12-13T05:53:51.000Z","updated_at":"2025-06-13T21:14:55.000Z","dependencies_parsed_at":"2024-12-13T19:29:10.135Z","dependency_job_id":"265f6473-08a0-46d8-b5fc-c8327e7eb0bd","html_url":"https://github.com/vanstrouble/dose-alfred-workflow","commit_stats":null,"previous_names":["vanstrouble/dose-alfred-workflow"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/vanstrouble/dose-alfred-workflow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanstrouble%2Fdose-alfred-workflow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanstrouble%2Fdose-alfred-workflow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanstrouble%2Fdose-alfred-workflow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanstrouble%2Fdose-alfred-workflow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vanstrouble","download_url":"https://codeload.github.com/vanstrouble/dose-alfred-workflow/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanstrouble%2Fdose-alfred-workflow/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267175760,"owners_count":24047923,"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-07-26T02:00:08.937Z","response_time":62,"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","app-store","applescript","shell","shell-script","timer","workflow"],"created_at":"2024-12-15T22:38:25.813Z","updated_at":"2025-07-26T13:40:11.075Z","avatar_url":"https://github.com/vanstrouble.png","language":"Shell","funding_links":["https://ko-fi.com/vanstrouble"],"categories":[],"sub_categories":[],"readme":"# \u003cimg src=\"img/dose-logo.png\" alt=\"Amphetamine Dose Alfred Workflow Icon\" width=\"45\" align=\"center\"/\u003e Amphetamine Dose | Alfred Workflow\n\nControl the [Amphetamine app](https://apps.apple.com/us/app/amphetamine/id937984704?mt=12) straight from Alfred — start or stop sessions and set how long your Mac should stay awake, all without lifting your hands from the keyboard.\n\n## Download\n\n- Available on the Alfred Gallery. [Get it here](https://alfred.app/workflows/vanstrouble/amphetamine-dose/).\n- You can also download it directly from GitHub [here](https://github.com/vanstrouble/dose-alfred-workflow/releases/latest).\n\n**Not a fan of fancy extras? Go native with _Caffeine Dose_ — it runs on `caffeinate`, no sugar, no cream. Just pure workflow. [Try it here](https://github.com/vanstrouble/caffeine-dose-alfred-workflow.git).**\n\n## Usage\n\n### keep your Mac awake (dose)\n\n\u003cimg src=\"img/dose.png\" alt=\"Alfred toggle Amphetamine image\" width=\"550\"/\u003e\n\nUse the `dose` keyword to toggle Amphetamine on or off, preventing macOS from sleeping.\n\n- **Keyword:** `dose`\n\nHold the **Command (⌘)** key while using the `dose` command, the session will allow the display to sleep.\n\n### One command for everything (ams)\n\n\u003cimg src=\"img/ams.png\" alt=\"Alfred set Amphetamine duration image\" width=\"550\"/\u003e\n\nThe `ams` command allows you to set Amphetamine to keep your Mac awake for a specific duration or until a specific time. It supports natural input formats for minutes, hours, and specific times, making it flexible and easy to use.\n\n- **Keyword:** `ams [duration or time]`\n\nHold the **Command (⌘)** key while using the `ams` command, the session will allow the display to sleep.\n\n#### Examples:\n\n| Command    | Description                                    |\n|------------|------------------------------------------------|\n| `ams i`    | Keeps your Mac awake indefinitely.             |\n| `ams 15`   | Keeps your Mac awake for 15 minutes.           |\n| `ams 2h`   | Keeps your Mac awake for 2 hours.              |\n| `ams 1 30` | Keeps your Mac awake for 1 hour and 30 minutes.|\n| `ams 9:30` | Keeps your Mac awake until the next 9:30.      |\n| `ams 8am`  | Keeps your Mac awake until 8:00 AM.            |\n| `ams 11:40pm` | Keeps your Mac awake until 11:40 PM.        |\n\nThe `ams` command supports both 12-hour (AM/PM) and 24-hour time formats.\n\n### Customization\n\nBoth `dose` and `ams` commands can be customized in the workflow settings. You can modify their keywords or behavior to better suit your needs.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanstrouble%2Fdose-alfred-workflow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvanstrouble%2Fdose-alfred-workflow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanstrouble%2Fdose-alfred-workflow/lists"}