{"id":35416183,"url":"https://github.com/psampir/hzstrobe","last_synced_at":"2026-01-13T19:49:46.247Z","repository":{"id":331394260,"uuid":"1126441739","full_name":"psampir/hzstrobe","owner":"psampir","description":"Lightweight, high-performance web utility designed to detect your monitor's refresh rate and perform a high-frequency strobe test.","archived":false,"fork":false,"pushed_at":"2026-01-02T14:01:14.000Z","size":52,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-07T13:13:29.534Z","etag":null,"topics":["app","hardware-testing","hz","refresh-rate","strobe","testing-tools","typescript","vite","web"],"latest_commit_sha":null,"homepage":"https://psampir.github.io/hzstrobe/","language":"TypeScript","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/psampir.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-01T23:17:30.000Z","updated_at":"2026-01-02T14:01:19.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/psampir/hzstrobe","commit_stats":null,"previous_names":["psampir/hzstrobe"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/psampir/hzstrobe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psampir%2Fhzstrobe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psampir%2Fhzstrobe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psampir%2Fhzstrobe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psampir%2Fhzstrobe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/psampir","download_url":"https://codeload.github.com/psampir/hzstrobe/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psampir%2Fhzstrobe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28397900,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T14:36:09.778Z","status":"ssl_error","status_checked_at":"2026-01-13T14:35:19.697Z","response_time":56,"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":["app","hardware-testing","hz","refresh-rate","strobe","testing-tools","typescript","vite","web"],"created_at":"2026-01-02T15:26:12.024Z","updated_at":"2026-01-13T19:49:46.242Z","avatar_url":"https://github.com/psampir.png","language":"TypeScript","readme":"# [HzStrobe](https://psampir.github.io/hzstrobe/)\n\nLightweight, high-performance web utility designed to detect your monitor's refresh rate and perform a high-frequency strobe test.\n\n---\n\n## ⚠️ PHOTOSENSITIVE EPILEPSY WARNING\n\n**READ BEFORE USING:** This application generates rapid flashing lights (strobe effects) which can trigger seizures in people with photosensitive epilepsy.\n\n*   **DO NOT USE** this tool if you or anyone in your household has a history of epilepsy or seizures.\n*   **IMMEDIATELY STOP** using the tool if you experience dizziness, altered vision, eye or face twitching, jerking or shaking of arms or legs, disorientation, confusion, or momentary loss of awareness.\n\n---\n\n## Features\n\n*   **Real-time Hz Detection**: Accurately measures monitor refresh rate using the browser's `requestAnimationFrame` loop.\n*   **Variable Strobe Speed**: Adjust the strobe frequency from 0% (static) to 100% (every frame) to test motion clarity and pixel response times.\n*   **High Performance**: Built with the HTML5 Canvas API (`alpha: false`) for maximum rendering efficiency and timing precision.\n*   **Zero Bloat**: Written in Vanilla TypeScript with no runtime framework dependencies.\n\n## Technical Details\n\n### Why Canvas 2D?\nWhile WebGL or WebGPU offer lower-level access, the bottleneck for a screen strobe application is the browser's compositor and VSync implementation. The Canvas 2D API is fully hardware-accelerated in modern browsers and provides the most direct path to `requestAnimationFrame` without the overhead of shader compilation or buffer management.\n\n### Timing Logic\nThe application measures the delta between frame callbacks to calculate an instantaneous FPS. The strobe effect uses an accumulator-based system to ensure smooth frequency scaling regardless of the monitor's native refresh rate.\n\n## Getting Started\n\n### Prerequisites\n*   Node.js (v20.19.0 or higher)\n*   npm\n\n### Installation\n\n1.  Clone the repository:\n    ```bash\n    git clone https://github.com/psampir/hzstrobe.git\n    cd hzstrobe\n    ```\n\n2.  Install dependencies:\n    ```bash\n    npm install\n    ```\n\n3.  Start the development server:\n    ```bash\n    npm run dev\n    ```\n\n4.  Build for production:\n    ```bash\n    npm run build\n    ```\n\n## License\n\nMIT License. See [LICENSE](LICENSE) for details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsampir%2Fhzstrobe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpsampir%2Fhzstrobe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsampir%2Fhzstrobe/lists"}