{"id":24054683,"url":"https://github.com/kubohiroya/react-webgpu-context","last_synced_at":"2026-02-07T07:01:41.309Z","repository":{"id":269764122,"uuid":"908395566","full_name":"kubohiroya/react-webgpu-context","owner":"kubohiroya","description":"React context and hook to use WebGPU with customizable loading and not supported messages.","archived":false,"fork":false,"pushed_at":"2024-12-26T03:34:54.000Z","size":23,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-24T23:36:22.930Z","etag":null,"topics":["react","react-context","react-hooks-library","webgpu"],"latest_commit_sha":null,"homepage":"","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/kubohiroya.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}},"created_at":"2024-12-26T01:06:38.000Z","updated_at":"2024-12-26T07:23:07.000Z","dependencies_parsed_at":"2024-12-26T01:44:43.429Z","dependency_job_id":"40d33594-737f-42e4-aa9d-349b6ec38037","html_url":"https://github.com/kubohiroya/react-webgpu-context","commit_stats":null,"previous_names":["kubohiroya/react-webgpu-context"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kubohiroya/react-webgpu-context","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubohiroya%2Freact-webgpu-context","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubohiroya%2Freact-webgpu-context/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubohiroya%2Freact-webgpu-context/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubohiroya%2Freact-webgpu-context/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kubohiroya","download_url":"https://codeload.github.com/kubohiroya/react-webgpu-context/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubohiroya%2Freact-webgpu-context/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29188304,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T05:07:31.176Z","status":"ssl_error","status_checked_at":"2026-02-07T05:06:15.227Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["react","react-context","react-hooks-library","webgpu"],"created_at":"2025-01-09T03:49:35.031Z","updated_at":"2026-02-07T07:01:41.283Z","avatar_url":"https://github.com/kubohiroya.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-webgpu-context\nReact context and hook to use WebGPU with customizable loading and not supported messages.\n\n## Installation\n```bash\n  pnpm install react-webgpu-context\n```\n\n### App.tsx\n```tsx\nimport { WebGPUDeviceContextProvider } from 'react-webgpu-context';\nimport {MyWebGPUApp} from './MyWebGpuApp'\nexport const App = ()=\u003e{\n  return (\n    \u003cWebGPUDeviceContextProvider\n      loadingMessage={(\u003cp\u003eLoading...\u003c/p\u003e)}\n      notSupportedMessage={(\u003cp\u003eWebGPU is not supported on this browser.\u003c/p\u003e)}\u003e\n      \u003cMyWebGPUApp /\u003e\n    \u003c/WebGPUDeviceContextProvider\u003e\n  );\n}\n```\n\n### MyWebGpuApp.tsx\n```tsx\nimport { useWebGPUDevice } from 'react-webgpu-context';\n\nexport const MyWebGPUApp = ()=\u003e{\n  const device: GPUDevice = useWebGPUDevice();\n  // use device to create render pipeline, buffers, etc.\n}\n```\n## Author\n- [Hiroya Kubo](https://github.com/kubohiroya)\n \n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkubohiroya%2Freact-webgpu-context","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkubohiroya%2Freact-webgpu-context","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkubohiroya%2Freact-webgpu-context/lists"}