{"id":47918555,"url":"https://github.com/alvinsj/live-x","last_synced_at":"2026-04-04T05:49:22.146Z","repository":{"id":141049712,"uuid":"466495397","full_name":"alvinsj/live-x","owner":"alvinsj","description":"Playing with Web Worker+Socket \u0026 requestAnimationFrame ","archived":false,"fork":false,"pushed_at":"2026-03-13T15:36:55.000Z","size":317,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-04T05:49:19.175Z","etag":null,"topics":["comlink","hooks","raf","requestanimationframe","websocket","webworker"],"latest_commit_sha":null,"homepage":"https://live-x.vercel.app","language":"TypeScript","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/alvinsj.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":"2022-03-05T15:42:33.000Z","updated_at":"2023-03-17T12:55:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"ba56cb91-f0d5-4166-96ae-f588b90f1c07","html_url":"https://github.com/alvinsj/live-x","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alvinsj/live-x","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvinsj%2Flive-x","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvinsj%2Flive-x/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvinsj%2Flive-x/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvinsj%2Flive-x/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alvinsj","download_url":"https://codeload.github.com/alvinsj/live-x/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvinsj%2Flive-x/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31389391,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T04:26:24.776Z","status":"ssl_error","status_checked_at":"2026-04-04T04:23:34.147Z","response_time":60,"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":["comlink","hooks","raf","requestanimationframe","websocket","webworker"],"created_at":"2026-04-04T05:49:21.721Z","updated_at":"2026-04-04T05:49:22.139Z","avatar_url":"https://github.com/alvinsj.png","language":"TypeScript","readme":"# live-x \n\nThis repo shows:\n- Use of [comlink](https://github.com/GoogleChromeLabs/comlink) and web worker to offload Socket connection handling.\n- Use of [`requestAnimationFrame`](https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame) to manage `setState` (or batch update) within max FPS. \n\n![live-x](https://user-images.githubusercontent.com/243186/188469993-56557e1b-a285-4af5-a6bc-44653e1b4a10.gif)\n\n## Getting Started\n\nFirst, install the dependencies:\n\n```bash\nyarn install\n```\n\nDefine .env.localhost\n\n```bash\n# .env.local\nNEXT_PUBLIC_BOOK_WS_URL=wss://www.cryptofacilities.com/ws/v1\n```\n\nRun the development server:\n\n```bash\nyarn dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\n## More\n\nPlease refer to docs/README.md\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falvinsj%2Flive-x","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falvinsj%2Flive-x","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falvinsj%2Flive-x/lists"}