{"id":22283808,"url":"https://github.com/evan-goode/batnotifyd","last_synced_at":"2026-01-19T16:32:56.989Z","repository":{"id":72795076,"uuid":"374494179","full_name":"evan-goode/batnotifyd","owner":"evan-goode","description":"Lightweight daemon for low battery notifications on GNU/Linux","archived":false,"fork":false,"pushed_at":"2024-07-30T18:22:17.000Z","size":41,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-28T21:51:17.481Z","etag":null,"topics":["zig"],"latest_commit_sha":null,"homepage":"","language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/evan-goode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2021-06-07T00:42:28.000Z","updated_at":"2024-07-30T18:22:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"b1ae8e55-bb28-48a1-909e-d1833581b95d","html_url":"https://github.com/evan-goode/batnotifyd","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/evan-goode/batnotifyd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evan-goode%2Fbatnotifyd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evan-goode%2Fbatnotifyd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evan-goode%2Fbatnotifyd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evan-goode%2Fbatnotifyd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/evan-goode","download_url":"https://codeload.github.com/evan-goode/batnotifyd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evan-goode%2Fbatnotifyd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28574382,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T16:29:19.148Z","status":"ssl_error","status_checked_at":"2026-01-19T16:29:17.772Z","response_time":67,"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":["zig"],"created_at":"2024-12-03T16:42:24.560Z","updated_at":"2026-01-19T16:32:56.968Z","avatar_url":"https://github.com/evan-goode.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# batnotifyd\n\nLightweight daemon for low battery notifications on GNU/Linux. Requires libudev and libnotify. Written in [Zig](https://ziglang.org/).\n\n## Build \u0026 Run\n\n```\nnix develop # if using Nix\nzig build -Drelease-safe\n./zig-out/bin/batnotifyd\n```\n\n## Recommended usage\n\nbatnotifyd can run a command if the battery gets \"dangerously low\" (default is 2%, configure with `--danger_threshold`). It's highly recommended to set it to suspend, or hibernate if your system supports it:\n\n```\n./zig-out/bin/batnotifyd --danger_hook 'systemctl suspend'\n```\n\n## Install\n\nA systemd `--user` unit file is included for convenience.\n\n```\nzig build\nsudo install -m 755 ./zig-out/bin/batnotifyd /usr/local/bin/\ninstall -Dm 644 batnotifyd.service -t ~/.config/systemd/user/\nsystemctl --user daemon-reload\nsystemctl --user enable --now batnotifyd\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevan-goode%2Fbatnotifyd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevan-goode%2Fbatnotifyd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevan-goode%2Fbatnotifyd/lists"}