{"id":19675656,"url":"https://github.com/notnite/lightning","last_synced_at":"2026-02-02T13:11:50.553Z","repository":{"id":215152727,"uuid":"737902246","full_name":"NotNite/lightning","owner":"NotNite","description":"Torture me with the power of RGB LEDs","archived":false,"fork":false,"pushed_at":"2024-12-18T01:59:40.000Z","size":32,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-05T23:16:42.173Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/NotNite.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":"2024-01-01T22:47:04.000Z","updated_at":"2024-12-18T01:59:43.000Z","dependencies_parsed_at":"2024-12-18T02:41:39.450Z","dependency_job_id":"0e651918-6183-4bb3-9ba0-8ceae25d45ba","html_url":"https://github.com/NotNite/lightning","commit_stats":null,"previous_names":["notnite/lightning"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotNite%2Flightning","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotNite%2Flightning/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotNite%2Flightning/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotNite%2Flightning/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NotNite","download_url":"https://codeload.github.com/NotNite/lightning/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252590636,"owners_count":21772941,"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":"2024-11-11T17:25:25.583Z","updated_at":"2026-02-02T13:11:50.523Z","avatar_url":"https://github.com/NotNite.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lightning\n\ntorturing myself with LED lights\n\n## HTTP API\n\nGET `https://soulja-boy-told.me/light`, send query params `r` `g` `b` `a`. all required between 0-255\n\n## WebAssembly\n\nPOST `https://soulja-boy-told.me/light` send the WASM file as the body. API:\n\n- `size() -\u003e u32`\n- `get_pixel(idx: u32) -\u003e u32`\n- `set_pixel(idx: u32, col: u32)`\n- `time() -\u003e u64`\n  - returns unix time in ms\n\nyou export a `tick(elapsed: f32)`, where elapsed is the seconds since program started (NOT delta time!). program runs for 30 seconds. colors in format `0xRRGGBB`, idx from zero to the return value of `size()`. compile to wasm32\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotnite%2Flightning","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnotnite%2Flightning","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotnite%2Flightning/lists"}