{"id":18928889,"url":"https://github.com/loopystudios/replace_html","last_synced_at":"2026-03-16T00:30:18.514Z","repository":{"id":233330957,"uuid":"787038602","full_name":"loopystudios/replace_html","owner":"loopystudios","description":"A simple, minimal crate to replace an HTML element with new HTML.","archived":false,"fork":false,"pushed_at":"2024-04-15T20:28:08.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T08:33:28.842Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/loopystudios.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE-APACHE","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-04-15T19:16:50.000Z","updated_at":"2024-05-05T03:21:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"5c96c496-73cb-4d11-95f0-7e3f345acbe4","html_url":"https://github.com/loopystudios/replace_html","commit_stats":null,"previous_names":["loopystudios/replace_html"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loopystudios%2Freplace_html","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loopystudios%2Freplace_html/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loopystudios%2Freplace_html/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loopystudios%2Freplace_html/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/loopystudios","download_url":"https://codeload.github.com/loopystudios/replace_html/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239923970,"owners_count":19719234,"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-11-08T11:28:33.777Z","updated_at":"2026-03-16T00:30:18.465Z","avatar_url":"https://github.com/loopystudios.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# Replace HTML\n\n**A simple, minimal crate to replace HTML in wasm32 environments.**\n\n[![Discord](https://img.shields.io/discord/913957940560531456.svg?label=Loopy\u0026logo=discord\u0026logoColor=ffffff\u0026color=ffffff\u0026labelColor=000000)](https://discord.gg/zrjnQzdjCB)\n[![MIT/Apache 2.0](https://img.shields.io/badge/license-MIT%2FApache-blue.svg)](#license)\n[![Build status](https://github.com/loopystudios/replace_html/workflows/CI/badge.svg)](https://github.com/loopystudios/replace_html/actions)\n[![dependency status](https://deps.rs/repo/github/loopystudios/replace_html/status.svg)](https://deps.rs/repo/github/loopystudios/replace_html)\n[![Crates.io](https://img.shields.io/crates/v/replace_html.svg)](https://crates.io/crates/replace_html)\n[![Docs](https://img.shields.io/docsrs/replace_html)](https://docs.rs/replace_html)\n\n\u003c/div\u003e\n\nQuickstart to run demo:\n\n- **Web**\n\n```shell\n# Make sure the Rust toolchain supports the wasm32 target\nrustup target add wasm32-unknown-unknown\n\n# Install `wasm-server-runner` for the example\ncargo install wasm-server-runner\n\ncargo run --target wasm32-unknown-unknown --example simple\n```\n\nThere is also a web demo [available here](https://loopystudios.github.io/replace_html).\n\n## Usage\n\n```rust\n#[cfg(target_arch = \"wasm32\")]\nfn main() {\n    replace_html::replace_body(\"Your platform is not supported!\").unwrap();\n}\n#[cfg(not(target_arch = \"wasm32\"))]\nfn main() {\n    // Proceed to run your application...\n}\n```\n\n## Community\n\nAll Loopy projects and development happens in the [Loopy Discord](https://discord.gg/zrjnQzdjCB). The discord is open to the public.\n\nContributions are welcome by pull request. The [Rust code of conduct](https://www.rust-lang.org/policies/code-of-conduct) applies.\n\n## License\n\nLicensed under either of\n\n- Apache License, Version 2.0\n   ([LICENSE-APACHE](LICENSE-APACHE) or \u003chttp://www.apache.org/licenses/LICENSE-2.0\u003e)\n- MIT license\n   ([LICENSE-MIT](LICENSE-MIT) or \u003chttp://opensource.org/licenses/MIT\u003e)\n\nat your option\n\n## Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall be\ndual licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floopystudios%2Freplace_html","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Floopystudios%2Freplace_html","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floopystudios%2Freplace_html/lists"}