{"id":16752289,"url":"https://github.com/wumpf/minifb_wgpu_web_and_desktop","last_synced_at":"2025-09-04T12:44:49.523Z","repository":{"id":256070402,"uuid":"854256321","full_name":"Wumpf/minifb_wgpu_web_and_desktop","owner":"Wumpf","description":"Minimal example for wgpu + minifb, targeting both native \u0026 web","archived":false,"fork":false,"pushed_at":"2025-01-19T08:46:23.000Z","size":99,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-19T09:29:01.609Z","etag":null,"topics":["webgpu","wgpu"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/Wumpf.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-09-08T19:29:36.000Z","updated_at":"2025-01-19T08:46:25.000Z","dependencies_parsed_at":"2024-10-20T21:09:01.259Z","dependency_job_id":null,"html_url":"https://github.com/Wumpf/minifb_wgpu_web_and_desktop","commit_stats":null,"previous_names":["wumpf/minifb_wgpu_web_and_desktop"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wumpf%2Fminifb_wgpu_web_and_desktop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wumpf%2Fminifb_wgpu_web_and_desktop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wumpf%2Fminifb_wgpu_web_and_desktop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wumpf%2Fminifb_wgpu_web_and_desktop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Wumpf","download_url":"https://codeload.github.com/Wumpf/minifb_wgpu_web_and_desktop/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243826788,"owners_count":20354222,"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":["webgpu","wgpu"],"created_at":"2024-10-13T02:46:34.263Z","updated_at":"2025-03-16T05:16:48.490Z","avatar_url":"https://github.com/Wumpf.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"Minimal [`wgpu`](https://github.com/gfx-rs/wgpu) and [`minifb`](https://github.com/emoon/rust_minifb) example for web \u0026 desktop\n================================================\n\nThis is a minimal example of how to use [`wgpu`](https://github.com/gfx-rs/wgpu) and [`minifb`](https://github.com/emoon/rust_minifb) to render a triangle on the screen.\n\n![image](https://github.com/user-attachments/assets/89bce01d-3e96-435e-b897-038fa1cee340)\n\nRun on desktop\n--------------\n\n```sh\ncargo run\n```\n\nRun on web\n----------\n\n```sh\ncargo xtask run-wasm\n```\n\nThis executes an xtask that builds the wasm binary and launches a web server.\n\nKnown issues \u0026 limitations\n--------------------------\n\n* A bunch of fixes to `minifb` are required which haven't been released yet (as of writing). This project therefore depends on a specific commit of `minifb` for now.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwumpf%2Fminifb_wgpu_web_and_desktop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwumpf%2Fminifb_wgpu_web_and_desktop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwumpf%2Fminifb_wgpu_web_and_desktop/lists"}