{"id":30862465,"url":"https://github.com/pkage/caffeine","last_synced_at":"2026-04-17T09:32:42.183Z","repository":{"id":76243979,"uuid":"184699754","full_name":"pkage/caffeine","owner":"pkage","description":"A fairly lightweight daemon that keeps your computer awake. Designed for rootless environments.","archived":false,"fork":false,"pushed_at":"2019-05-03T05:23:10.000Z","size":6,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-15T03:57:14.803Z","etag":null,"topics":["caffeinate","linux","xorg"],"latest_commit_sha":null,"homepage":null,"language":"C","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/pkage.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,"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}},"created_at":"2019-05-03T04:44:05.000Z","updated_at":"2025-07-29T01:00:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"58a410af-2fa4-4239-bf60-6379c586c134","html_url":"https://github.com/pkage/caffeine","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pkage/caffeine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkage%2Fcaffeine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkage%2Fcaffeine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkage%2Fcaffeine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkage%2Fcaffeine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pkage","download_url":"https://codeload.github.com/pkage/caffeine/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkage%2Fcaffeine/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31923158,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T09:10:15.403Z","status":"ssl_error","status_checked_at":"2026-04-17T09:10:14.455Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["caffeinate","linux","xorg"],"created_at":"2025-09-07T17:47:11.147Z","updated_at":"2026-04-17T09:32:42.178Z","avatar_url":"https://github.com/pkage.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Caffeine daemon\n\nThis is a really simple [caffeine](https://en.wikipedia.org/wiki/Caffeine) daemon for your linux system.\n\nThis works entirely without requiring root access and bypasses any imposed system management by emulating a mouse wiggle every few minutes.\n\n## Get started\n\nBuild the daemon \u0026 controller:\n\n```\n$ make install\n```\n\nThis produces a `caffeine` artifact in the directory, and creates a folder in your `~/.config/` directory. You can then copy this onto your `$PATH`.\n\nN.B. this requires `xdotool` at the moment.\n\n## Usage\n\nCommand               | Effect\n---                   | ---\n`caffeine daemon`     | Start the caffeine daemon. Creates a lockfile in the caffeine config dir.\n`caffeine status`      | Check if the daemon is running, and if it is, check if it is keeping the screen awake.\n`caffeine query`      | Same as status, but returns an exit code instead of printing (for embedding).\n`caffeine start`      | Start keeping the screen awake.\n`caffeine stop`       | Stop keeping the screen awake.\n`caffeine toggle`     | Toggle keeping the screen awake.\n`caffeine diagnostic` | Show some diagnostic information (daemon status, etc.)\n`caffeine version`    | Show version.\n\n## Configuration\n\nCheck out the `config.h` file for configuration options.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpkage%2Fcaffeine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpkage%2Fcaffeine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpkage%2Fcaffeine/lists"}