{"id":31628060,"url":"https://github.com/jirutka/zzz","last_synced_at":"2025-10-06T20:17:29.001Z","repository":{"id":44325824,"uuid":"400922514","full_name":"jirutka/zzz","owner":"jirutka","description":"A simple program to suspend or hibernate your computer 💤","archived":false,"fork":false,"pushed_at":"2024-08-15T14:43:25.000Z","size":36,"stargazers_count":27,"open_issues_count":2,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-08T20:35:00.453Z","etag":null,"topics":["alpine-linux","linux","suspend"],"latest_commit_sha":null,"homepage":"","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/jirutka.png","metadata":{"files":{"readme":"README.adoc","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-08-29T01:07:15.000Z","updated_at":"2025-01-28T01:17:14.000Z","dependencies_parsed_at":"2024-08-15T16:45:06.310Z","dependency_job_id":null,"html_url":"https://github.com/jirutka/zzz","commit_stats":{"total_commits":24,"total_committers":2,"mean_commits":12.0,"dds":0.04166666666666663,"last_synced_commit":"9fd22718d6a8595738e038c7a056147b7f481491"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/jirutka/zzz","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jirutka%2Fzzz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jirutka%2Fzzz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jirutka%2Fzzz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jirutka%2Fzzz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jirutka","download_url":"https://codeload.github.com/jirutka/zzz/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jirutka%2Fzzz/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278672041,"owners_count":26025826,"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-10-06T02:00:05.630Z","response_time":65,"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":["alpine-linux","linux","suspend"],"created_at":"2025-10-06T20:17:26.929Z","updated_at":"2025-10-06T20:17:28.995Z","avatar_url":"https://github.com/jirutka.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Zzz…\n:proj-name: zzz\n:version: 0.2.0\n:gh-name: jirutka/{proj-name}\n:repology-name: zzz-jirutka\n:releases-uri: https://github.com/{gh-name}/releases/download/v{version}\n\nifdef::env-github[]\nimage:https://github.com/{gh-name}/workflows/CI/badge.svg[Binaries Workflow, link=https://github.com/{gh-name}/actions?query=workflow%3A%22CI%22]\nimage:https://repology.org/badge/tiny-repos/{repology-name}.svg[Packaging status, link=https://repology.org/project/{repology-name}]\nendif::env-github[]\n\nA simple program to suspend or hibernate your computer.\nIt supports hooks before and after suspending.\n\nRefer to link:zzz.8.adoc[zzz(8)] for usage information.\n\n\n== Requirements\n\n.*Runtime*:\n* Linux system with `/sys/power/state` and optionally `/sys/power/disk`\n\n.*Build*:\n* C compiler and linker supporting at least C99 (tested with clang and gcc)\n* https://www.gnu.org/software/make/[GNU Make]\n* http://asciidoctor.org/[Asciidoctor] (for building man pages)\n\n\n== Installation\n\n=== On Alpine Linux\n\nInstall package https://pkgs.alpinelinux.org/packages?name={proj-name}[{proj-name}] on Alpine Linux v3.15 or later:\n\n[source, sh, subs=\"+attributes\"]\napk add {proj-name}\n\n\n=== On Arch Linux\n\nInstall package https://aur.archlinux.org/packages/{proj-name}[{proj-name}] from AUR:\n\n[source, sh, subs=\"+attributes\"]\nyay -S {proj-name}\n\nOr use another AUR helper.\n\n\n=== Using Pre-Built Binary\n\n{releases-uri}/{proj-name}-{version}-x86_64-unknown-linux.tar.gz[[x86_64]]\n{releases-uri}/{proj-name}-{version}-aarch64-unknown-linux.tar.gz[[aarch64]]\n{releases-uri}/{proj-name}-{version}-armv7-unknown-linux.tar.gz[[armv7]]\n{releases-uri}/{proj-name}-{version}-ppc64le-unknown-linux.tar.gz[[ppc64le]]\n{releases-uri}/{proj-name}-{version}-riscv64-unknown-linux.tar.gz[[riscv64]]\n\n. Download and extract release tarball for your CPU architecture (pick the right link from the list above):\n+\n[source, sh, subs=\"verbatim, attributes\"]\n----\ncurl -sSLO {releases-uri}/{proj-name}-{version}-x86_64-unknown-linux.tar.gz\ncurl -sSL {releases-uri}/checksums.txt | sha256sum -c --ignore-missing\ntar -xzf {proj-name}-{version}-*.tar.gz\n----\n\n. Install `{proj-name}` somewhere on your `PATH`, e.g. `/usr/local/bin`:\n+\n[source, sh, subs=\"verbatim, attributes\"]\ninstall -m 755 {proj-name}-{version}-*/{proj-name} /usr/local/bin/\n\nAll binaries are statically linked with http://www.musl-libc.org/[musl libc], so they work on every Linux system (distro) regardless of used libc.\n\n\n=== From Source Tarball\n\n[source, sh, subs=\"+attributes\"]\n----\nwget https://github.com/{gh-name}/archive/v{version}/{proj-name}-{version}.tar.gz\ntar -xzf {proj-name}-{version}.tar.gz\ncd {proj-name}-{version}\n\nmake build\nmake install DESTDIR=/ prefix=/usr/local\n----\n\n\n== Credits\n\nThis program is inspired from https://man.voidlinux.org/zzz.8[zzz(8)] (https://github.com/void-linux/void-runit/blob/master/zzz[source]) in Void Linux written by Leah Neukirchen.\n\n\n== License\n\nThis project is licensed under http://opensource.org/licenses/MIT/[MIT License].\nFor the full text of the license, see the link:LICENSE[LICENSE] file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjirutka%2Fzzz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjirutka%2Fzzz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjirutka%2Fzzz/lists"}