{"id":22763292,"url":"https://github.com/nikstar/caffeinate","last_synced_at":"2026-03-17T13:28:18.256Z","repository":{"id":168257752,"uuid":"159473230","full_name":"nikstar/Caffeinate","owner":"nikstar","description":"A fresh take on a status bar app that prevents your computer from going to sleep","archived":false,"fork":false,"pushed_at":"2019-01-05T17:01:41.000Z","size":57,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-05T11:44:49.530Z","etag":null,"topics":["caffeinate","macos"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nikstar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2018-11-28T09:04:38.000Z","updated_at":"2022-01-01T09:33:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"beb2c1c4-f83e-470c-a9ca-96f53ab7a494","html_url":"https://github.com/nikstar/Caffeinate","commit_stats":null,"previous_names":["nikstar/caffeinate"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikstar%2FCaffeinate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikstar%2FCaffeinate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikstar%2FCaffeinate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikstar%2FCaffeinate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nikstar","download_url":"https://codeload.github.com/nikstar/Caffeinate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246301959,"owners_count":20755512,"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":["caffeinate","macos"],"created_at":"2024-12-11T11:07:57.032Z","updated_at":"2026-03-17T13:28:18.251Z","avatar_url":"https://github.com/nikstar.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Caffeinate\nCaffeinate is a fresh take on a status bar app that prevents your computer from going to sleep\n\n## Installation\nYou can download the latest stable version from [Releases](https://github.com/nikstar/Caffeinate/releases). \n\nFor the app to launch at startup, you will need to add it to *System Preferences → Users \u0026 Groups → Login Items*. The app will preserve its state across launches.\n\n## Building from source\n1. Open `Caffeinate.xcodeproj` in Xcode 26 or newer.\n2. Build the `Caffeinate` scheme.\n\n## Manual Release\nFor a signed, notarized GitHub Release build you need:\n\n1. An active Apple Developer Program membership.\n2. A `Developer ID Application` certificate installed in your login keychain.\n3. Xcode signed into the same team that will ship the app.\n4. A notarytool keychain profile created once on your machine.\n\nApple references:\n- [Notarizing macOS software before distribution](https://developer.apple.com/documentation/security/notarizing-macos-software-before-distribution)\n- [Customizing the notarization workflow](https://developer.apple.com/documentation/security/customizing-the-notarization-workflow)\n\nRecommended one-time setup with an Apple ID app-specific password:\n\n```bash\nxcrun notarytool store-credentials CaffeinateNotary \\\n  --apple-id \"you@example.com\" \\\n  --team-id \"YOURTEAMID\" \\\n  --password \"app-specific-password\"\n```\n\nYou can also store an App Store Connect API key profile instead.\n\nRelease helper:\n\n```bash\nNOTARY_PROFILE=CaffeinateNotary ./scripts/release-macos.sh\n```\n\nThe helper will:\n1. Archive the app in `Release`.\n2. Export a `developer-id` signed `.app`.\n3. Submit a zip to Apple notarization.\n4. Staple the accepted ticket.\n5. Produce a final GitHub Releases-ready zip plus a SHA-256 file in `dist/release/`.\n6. Write `release-metadata.env` so the GitHub release step can reuse the exact artifact paths and tag/title defaults.\n\n## Versioning\nCurrent version metadata lives in `Caffeinate/Info.plist`.\n\nInspect the current version:\n\n```bash\n./scripts/set-version.sh --print\n```\n\nSet a new marketing version and build number:\n\n```bash\n./scripts/set-version.sh 1.1.0 --build 1\n```\n\nOr bump them incrementally:\n\n```bash\n./scripts/set-version.sh --patch\n./scripts/set-version.sh --bump-build\n```\n\n## GitHub Release\nAuthenticate the GitHub CLI once on your machine:\n\n```bash\ngh auth login\n```\n\nAfter `release-macos.sh` finishes, publish the newest notarized artifact as a GitHub Release:\n\n```bash\n./scripts/create-github-release.sh\n```\n\nBy default this will:\n1. Pick the latest directory under `dist/release/`.\n2. Use tag `v\u003cmarketing-version\u003e-\u003cbuild-number\u003e`.\n3. Create and push that tag from your current `HEAD` if it does not already exist.\n4. Run `gh release create --verify-tag` with the zip and `.sha256` file.\n\nUseful overrides:\n\n```bash\n./scripts/create-github-release.sh --draft\n./scripts/create-github-release.sh --release-dir dist/release/20260317-140741\n./scripts/create-github-release.sh --notes \"Manual release\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikstar%2Fcaffeinate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikstar%2Fcaffeinate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikstar%2Fcaffeinate/lists"}