{"id":17169646,"url":"https://github.com/swiftcoder/gfx-rs-sdl-emscripten-demo","last_synced_at":"2025-03-24T19:18:53.698Z","repository":{"id":70888914,"uuid":"106212916","full_name":"swiftcoder/gfx-rs-sdl-emscripten-demo","owner":"swiftcoder","description":"Demo to work out the kinks in cross-compiling gfx-rs for the web","archived":false,"fork":false,"pushed_at":"2017-10-08T22:24:59.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-29T23:41:45.788Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/swiftcoder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2017-10-08T21:59:34.000Z","updated_at":"2018-07-25T19:43:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"f459b00c-281a-4547-84f1-0cf6a275af27","html_url":"https://github.com/swiftcoder/gfx-rs-sdl-emscripten-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swiftcoder%2Fgfx-rs-sdl-emscripten-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swiftcoder%2Fgfx-rs-sdl-emscripten-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swiftcoder%2Fgfx-rs-sdl-emscripten-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swiftcoder%2Fgfx-rs-sdl-emscripten-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swiftcoder","download_url":"https://codeload.github.com/swiftcoder/gfx-rs-sdl-emscripten-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245334908,"owners_count":20598389,"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":[],"created_at":"2024-10-14T23:26:53.432Z","updated_at":"2025-03-24T19:18:53.661Z","avatar_url":"https://github.com/swiftcoder.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# What?\n\nA port of the gfx-rs triangle demo, with the necessary scafolding to cross-compile to the web via emscripten.\n\n# Why?\n\nAlthough I've been able to run simple rust programs using sdl2 under emscripten, I have yet to successfully run an OpenGL-based program. This repository is intended to capture ongoing efforts to debug the process.\n\n# How?\n\nTo build the sample, you will need to install a recent rust, and the portable emscripten SDK. To display the sample in a web browser, install nodejs and then `npm install http-server -g`. \n\nTo run the sample on desktop, a simple `cargo run` will suffice.\n\nTo run the sample in a browser, run `make web` to build, then run `make serve` to setup a web server, and finally load \u003chttp://localhost:8080\u003e in your web browser of choice.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswiftcoder%2Fgfx-rs-sdl-emscripten-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswiftcoder%2Fgfx-rs-sdl-emscripten-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswiftcoder%2Fgfx-rs-sdl-emscripten-demo/lists"}