{"id":16019791,"url":"https://github.com/zduny/rust-webapp-template-api","last_synced_at":"2025-10-04T01:58:30.063Z","repository":{"id":83345295,"uuid":"582668178","full_name":"zduny/rust-webapp-template-api","owner":"zduny","description":"Rust web app template using zzrpc.","archived":false,"fork":false,"pushed_at":"2023-09-21T10:33:49.000Z","size":65,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-03T17:51:38.462Z","etag":null,"topics":["api","cargo-generate","rust","template","webapp"],"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/zduny.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":"2022-12-27T14:26:37.000Z","updated_at":"2022-12-27T15:58:36.000Z","dependencies_parsed_at":"2024-12-18T08:51:08.380Z","dependency_job_id":null,"html_url":"https://github.com/zduny/rust-webapp-template-api","commit_stats":{"total_commits":60,"total_committers":1,"mean_commits":60.0,"dds":0.0,"last_synced_commit":"72b7ae3a45fd3699e26f6c4de6acf2144b3e1f14"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zduny/rust-webapp-template-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zduny%2Frust-webapp-template-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zduny%2Frust-webapp-template-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zduny%2Frust-webapp-template-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zduny%2Frust-webapp-template-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zduny","download_url":"https://codeload.github.com/zduny/rust-webapp-template-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zduny%2Frust-webapp-template-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278254465,"owners_count":25956600,"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-03T02:00:06.070Z","response_time":53,"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":["api","cargo-generate","rust","template","webapp"],"created_at":"2024-10-08T17:05:22.611Z","updated_at":"2025-10-04T01:58:30.042Z","avatar_url":"https://github.com/zduny.png","language":"Rust","funding_links":["https://ko-fi.com/O5O31JYZ4"],"categories":[],"sub_categories":[],"readme":"# {{project-name}}\n\n[![Test Status](https://github.com/zduny/rust-webapp-template-api/actions/workflows/rust.yml/badge.svg)](https://github.com/zduny/rust-webapp-template-api/actions)\n\nRust web application template using [zzrpc](https://github.com/zduny/zzrpc) api.\n\nImplements a simple chat application.\n\nIncludes:\n- [warp](https://github.com/seanmonstar/warp) server,\n- browser client,\n- [Web Worker](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Using_web_workers) for client,\n- native client,\n- `common` library project for sharing code between the above.\n\n\n## Prerequisites\n\nTo build the app [wasm-pack](https://rustwasm.github.io/wasm-pack) needs to be installed.\n\n## How to use\n\nUse [cargo-generate](https://github.com/cargo-generate/cargo-generate):\n\n```bash\ncargo generate --git https://github.com/zduny/rust-webapp-template-api\n```\n\n## To template users\n\nRemember to update `README.md`, `LICENSE` and `Cargo.toml` files after creating new project using this template. \n\n## Development\n\nUse shell scripts to format code, lint, build, test, run or clean:\n\n```bash\n./format.sh\n./clippy.sh\n./build.sh\n./test.sh\n./run.sh\n./build_and_run.sh\n./clean.sh\n```\n\nNative client isn't included in `run.sh` (and `build_and_run.sh`) script,\nto run native client (most likely in another terminal window/tab) type:\n\n```bash\n./app_client\n```\n\n### Windows \n\nAbove scripts are available in Batch file form in `windows` directory.\n\n**NOTE**: They have to be run from said `windows` directory, don't move them to project root directory before running them.\n\n## Dependencies\n\nThis template uses following Rust crates developed by [me](https://github.com/zduny):\n\n- [js-utils](https://github.com/zduny/js-utils) - various JavaScript related utilities.\n\n- [mezzenger](https://github.com/zduny/mezzenger) - message passing infrastructure for Rust.\n\n- [kodec](https://github.com/zduny/kodec) - message encoding/decoding interface.\n\n- [zzrpc](https://github.com/zduny/zzrpc) - RPC over `mezzenger` transports.\n\nPlease consider donating to support their further development:\n\n[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/O5O31JYZ4)\n\n## See also\n\n[wasm-bindgen](https://github.com/rustwasm/wasm-bindgen)\n\n[web-sys](https://rustwasm.github.io/wasm-bindgen/web-sys/index.html)\n\n[js_sys](https://docs.rs/js-sys/latest/js_sys/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzduny%2Frust-webapp-template-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzduny%2Frust-webapp-template-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzduny%2Frust-webapp-template-api/lists"}