{"id":31637634,"url":"https://github.com/proxin187/stunt","last_synced_at":"2025-10-24T22:39:50.010Z","repository":{"id":292582745,"uuid":"981019728","full_name":"proxin187/stunt","owner":"proxin187","description":"A declarative web framework for Rust/Wasm","archived":false,"fork":false,"pushed_at":"2025-09-22T19:44:14.000Z","size":794,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-22T21:25:11.413Z","etag":null,"topics":["asmjs","concurrency","elm","emscripten","gui","jsx","multithreading","rust","rust-lang","rust-library","wasm","web","web-development","web-framework","webapp","webworkers"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/stunt","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/proxin187.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-05-10T06:45:54.000Z","updated_at":"2025-09-22T19:44:17.000Z","dependencies_parsed_at":"2025-05-10T22:25:14.235Z","dependency_job_id":"6226b545-0204-415a-8106-0b4bafdf333f","html_url":"https://github.com/proxin187/stunt","commit_stats":null,"previous_names":["proxin187/saar","proxin187/puri","proxin187/stunt"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/proxin187/stunt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proxin187%2Fstunt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proxin187%2Fstunt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proxin187%2Fstunt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proxin187%2Fstunt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/proxin187","download_url":"https://codeload.github.com/proxin187/stunt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proxin187%2Fstunt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278708073,"owners_count":26031932,"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","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"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":["asmjs","concurrency","elm","emscripten","gui","jsx","multithreading","rust","rust-lang","rust-library","wasm","web","web-development","web-framework","webapp","webworkers"],"created_at":"2025-10-07T01:38:34.958Z","updated_at":"2025-10-07T01:38:37.988Z","avatar_url":"https://github.com/proxin187.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003cdiv align=\"center\"\u003e\n\u003cbr\u003e\n\u003ca href=\"https://github.com/proxin187/stunt\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/proxin187/stunt/refs/heads/main/assets/stunt_logo.png?\" width=\"200\"\u003e\n\u003c/a\u003e\n\n\u003ch1\u003estunt\u003c/h1\u003e\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n[![crates.io](https://img.shields.io/badge/crates.io-stunt-red?style=for-the-badge\u0026logo=none)](https://crates.io/crates/stunt)\n[![docs.rs](https://img.shields.io/badge/docs.rs-stunt-green?style=for-the-badge\u0026logo=none)](https://docs.rs/stunt)\n![GitHub License](https://img.shields.io/badge/license-MIT-red?style=for-the-badge\u0026logo=none)\n\n\u003cbr\u003e\n\n\u003cstrong\u003eAn isomorphic web framework for Rust.\u003c/strong\u003e\n\u003c/div\u003e\n\n\u003e [!WARNING]\n\u003e stunt is currently undergoing a large change in api and is NOT ready for production use at the moment.\n\n## Features\n\n* \u003cstrong\u003eIsomorphic\u003c/strong\u003e: Write server logic alongside client-side components, and call server logic from the client with [services](). Services can also integrate with foreign APIs.\n* \u003cstrong\u003eHtml Macro\u003c/strong\u003e: Macro for writing html with rust expressions, similar to that of JSX.\n* \u003cstrong\u003eType checked\u003c/strong\u003e: Compile-time type checking of components to prevent runtime bugs.\n\n## Usage\nThis crate is on [crates.io](https://crates.io/crates/stunt) and can be added either through\nadding `stunt` to your dependencies in `Cargo.toml`:\n```toml\n[dependencies]\nstunt = \"0.1.3\"\n```\nOr running the following Cargo command in your project directory:\n```bash\ncargo add stunt\n```\n\n## Example\nMore examples can be found at [examples](https://github.com/proxin187/stunt/tree/main/examples).\n\n```rust\nuse stunt::prelude::*;\n\npub enum Message {\n    Add,\n}\n\npub struct App {\n    count: usize,\n}\n\nimpl Component for App {\n    type Message = Message;\n    type Properties = ();\n\n    fn create() -\u003e App {\n        App {\n            count: 0,\n        }\n    }\n\n    fn callback(\u0026mut self, message: \u0026Message) {\n        match message {\n            Message::Add =\u003e {\n                self.count += 1;\n            },\n        }\n    }\n\n    fn view(\u0026self, _: ()) -\u003e Html {\n        html! {\n            \u003cdiv\u003e\n                \u003cbutton onclick={ Message::Add } \u003e\n                    { \"increment\" }\n                \u003c/button\u003e\n                \u003ch1\u003e\n                    { self.count }\n                \u003c/h1\u003e\n            \u003c/div\u003e\n        }\n    }\n}\n\nfn main() {\n    Renderer::new::\u003cApp\u003e().render();\n}\n```\n\n## Contributing\nWe highly appreciate all contributions whether its a bug fix, feature, or documentation.\nIf you encounter any bugs or otherwise weird behaviour we would really appreciate if you submitted an issue for us to look into.\n\n## License\nstunt is licensed under the MIT license.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproxin187%2Fstunt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fproxin187%2Fstunt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproxin187%2Fstunt/lists"}