{"id":22415804,"url":"https://github.com/xmas7/rust-webplatform","last_synced_at":"2026-05-04T02:36:25.375Z","repository":{"id":143167468,"uuid":"533099035","full_name":"xmas7/rust-webplatform","owner":"xmas7","description":"A Rust library for use with emscripten to access the DOM.","archived":false,"fork":false,"pushed_at":"2022-09-06T00:09:26.000Z","size":517,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T04:18:42.880Z","etag":null,"topics":["dom","emscript","library","platform","rust","web"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/xmas7.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}},"created_at":"2022-09-06T00:07:48.000Z","updated_at":"2024-05-20T11:11:39.000Z","dependencies_parsed_at":"2023-04-06T14:15:48.638Z","dependency_job_id":null,"html_url":"https://github.com/xmas7/rust-webplatform","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xmas7/rust-webplatform","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmas7%2Frust-webplatform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmas7%2Frust-webplatform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmas7%2Frust-webplatform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmas7%2Frust-webplatform/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xmas7","download_url":"https://codeload.github.com/xmas7/rust-webplatform/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmas7%2Frust-webplatform/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32592715,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"online","status_checked_at":"2026-05-04T02:00:06.625Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["dom","emscript","library","platform","rust","web"],"created_at":"2024-12-05T15:13:44.154Z","updated_at":"2026-05-04T02:36:25.321Z","avatar_url":"https://github.com/xmas7.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rust-webplatform\n\nA Rust library for use with emscripten to access the DOM.\n\n[Read the documentation](http://docs.rs/webplatform), read [brson's post on how\nRust works with emscripten](https://users.rust-lang.org/t/compiling-to-the-web-with-rust-and-emscripten/7627),\nor see an example app with [rust-todomvc](http://github.com/tcr/rust-todomvc).\n\n```rust\nextern crate webplatform;\n\nuse webplatform::HtmlNode;\n\nlet body = HtmlNode::query(\"body\").unwrap();\nbody.html_set(\"\u003ch1\u003eHELLO FROM RUST\u003c/h1\u003e \u003cbutton\u003eCLICK ME\u003c/button\u003e\");\nlet mut button = HtmlNode::query(\"button\").unwrap();\nbutton.on(\"click\", || alert(\"WITNESS ME\"));\n```\n\nUsed with `cargo build --target=asmjs-unknown-emscripten`.\n\n## License\n\nMIT or Apache-2.0, at your option.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxmas7%2Frust-webplatform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxmas7%2Frust-webplatform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxmas7%2Frust-webplatform/lists"}