{"id":51121128,"url":"https://github.com/0xbrock/ring-light","last_synced_at":"2026-06-25T02:30:48.178Z","repository":{"id":365236526,"uuid":"1244790223","full_name":"0xbrock/ring-light","owner":"0xbrock","description":"Customizable ring light web app - offline PWA","archived":false,"fork":false,"pushed_at":"2026-06-16T12:15:32.000Z","size":149,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-16T14:14:21.949Z","etag":null,"topics":["pwa","ring-light","simulator"],"latest_commit_sha":null,"homepage":"https://0xbrock.github.io/ring-light/","language":"JavaScript","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/0xbrock.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-20T15:45:52.000Z","updated_at":"2026-06-16T12:15:36.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/0xbrock/ring-light","commit_stats":null,"previous_names":["0xbrock/ring-light"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/0xbrock/ring-light","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xbrock%2Fring-light","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xbrock%2Fring-light/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xbrock%2Fring-light/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xbrock%2Fring-light/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xbrock","download_url":"https://codeload.github.com/0xbrock/ring-light/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xbrock%2Fring-light/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34757353,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-25T02:00:05.521Z","response_time":101,"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":["pwa","ring-light","simulator"],"created_at":"2026-06-25T02:30:47.563Z","updated_at":"2026-06-25T02:30:48.161Z","avatar_url":"https://github.com/0xbrock.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ring Light\n\nA customizable ring light web app — turns any screen into an adjustable\nfill light for video calls, selfies and photography. No build step, works\noffline once loaded, installable as a PWA.\n\n## Features\n\n- **Intensity** — scales the lit pixels (0–100%). A web page can't exceed the\n  device's own brightness, so for maximum output also raise your screen\n  brightness; the first-run hint says so.\n- **Color** — white mode with a 2000–7000 K temperature slider, or color mode\n  with hue + saturation.\n- **Shape** — an adjustable ring (size, thickness, edge softness) or a\n  full-screen flood for maximum light.\n- **Background** — defaults to black; changeable. Shows through the ring hole.\n- **Drag gestures** — drag anywhere on the light: up/down sets intensity,\n  left/right sets temperature or hue.\n- **Immersive** — controls auto-hide after a few seconds (tap to toggle),\n  Screen Wake Lock keeps the display on, Fullscreen where supported.\n- **Offline** — a service worker caches the app; it runs without a network\n  after the first visit.\n\n## Run locally\n\nIt's a static site — open `index.html` over HTTP (service workers and the\nWake Lock API need a secure context, so `file://` won't fully work):\n\n```sh\npython3 -m http.server 8000\n# then open http://localhost:8000\n```\n\n## Deploy to GitHub Pages\n\n1. Push these files to a GitHub repository.\n2. In the repo: **Settings → Pages → Build and deployment**, set\n   **Source: Deploy from a branch**, branch `main`, folder `/ (root)`.\n3. The app is served at `https://\u003cuser\u003e.github.io/\u003crepo\u003e/`.\n\nAll paths are relative, so it works from a project subpath, a user/org site,\nor a custom domain with no changes. `.nojekyll` keeps Pages from processing\nthe files.\n\n### Updating\n\nThe service worker is network-first: when online it always fetches the latest\nfiles. To push a new version, bump `CACHE` in `sw.js` (e.g. `ring-light-v2`)\nso the old offline cache is discarded on activation.\n\n## Browser support notes\n\n- **Screen Wake Lock** — Chrome, Edge, Safari 16.4+. Degrades silently if absent.\n- **Fullscreen API** — desktop and iPad. iPhone Safari has none; install via\n  **Share → Add to Home Screen** for a chrome-free standalone window instead.\n- **Smooth color transitions** use the registered `@property --ring-color`;\n  unsupported browsers just apply changes instantly.\n\n## Files\n\n| File | Purpose |\n|------|---------|\n| `index.html` | Markup and PWA metadata |\n| `styles.css` | Styling, ring gradient geometry |\n| `app.js` | State, rendering, gestures, wake lock, hints |\n| `sw.js` | Service worker (network-first caching) |\n| `manifest.webmanifest` | PWA manifest |\n| `icons/` | App icons |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xbrock%2Fring-light","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xbrock%2Fring-light","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xbrock%2Fring-light/lists"}