{"id":28475985,"url":"https://github.com/tdfischer/runlevel","last_synced_at":"2025-07-01T19:30:50.994Z","repository":{"id":25845754,"uuid":"29285346","full_name":"tdfischer/runlevel","owner":"tdfischer","description":null,"archived":false,"fork":false,"pushed_at":"2015-01-15T07:48:05.000Z","size":112,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-07T15:05:48.301Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","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/tdfischer.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}},"created_at":"2015-01-15T07:09:15.000Z","updated_at":"2015-01-15T17:45:20.000Z","dependencies_parsed_at":"2022-08-24T14:14:55.986Z","dependency_job_id":null,"html_url":"https://github.com/tdfischer/runlevel","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tdfischer/runlevel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tdfischer%2Frunlevel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tdfischer%2Frunlevel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tdfischer%2Frunlevel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tdfischer%2Frunlevel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tdfischer","download_url":"https://codeload.github.com/tdfischer/runlevel/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tdfischer%2Frunlevel/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263025009,"owners_count":23401698,"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":[],"created_at":"2025-06-07T15:05:48.715Z","updated_at":"2025-07-01T19:30:50.980Z","avatar_url":"https://github.com/tdfischer.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Runlevels\n\nThe runlevel metaphor as applied to hackerspaces.\n\n## The Watering and Care of your Runlevel\n\nThe runlevel metaphor is an idea originally introduced to general purpose\ncomputering in System V Unix. For more information, I suggest reading the\nauthoritive reference on the subject:\n\nhttps://en.wikipedia.org/wiki/Runlevel\n\nThis package aims to implement the runlevel metaphor as a kind of distributed\nethereal number accessible through a Graviton cloud. This implementation has\nthree properties:\n\n* Resiliant to network effects, hardware degredation, hacking, etc\n* Accessible from anywhere with zero configuration or effort\n* The ability to monitor its value in real-time\n\nUsing Graviton, A service that implements ```net:noisebridge:runlevel``` is exposed on\nthe network. It provides two methods, ```get``` and ```set```. ```set``` accepts\na single integer parameter named \"runlevel\". ```get``` takes no arguments and\nreturns the integer runlevel.\n\nA ```runlevel-changed``` event is broadcast whenever ```set``` is called.\n\nClients browse the default cloud for the ```net:nosiebridge:runlevel``` service,\nand get/set/watch the runlevel as appropriate.\n\nFuture iterations will implement a consensus algorithm such that multiple\nservers may consense upon the same runlevel.\n\n## Building\n\nYou'll need to install the required dependencies:\n\n* Graviton - https://graviton.phrobo.net/\n\nThis is built with a simple makefile using pkg-config:\n\n    $ make\n\n## Running a server\n\n    $ ./spacekit-runlevel serve\n\n## Getting the current runlevel\n\n    $ ./spacekit-runlevel get\n\n## Setting the current runlevel\n\n    $ ./spacekit-runlevel set 5\n\n## Watching for changes to the runelvel\n\n    $ ./spacekit-runlevel watch\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftdfischer%2Frunlevel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftdfischer%2Frunlevel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftdfischer%2Frunlevel/lists"}