{"id":16019798,"url":"https://github.com/zduny/rust-webapp-template","last_synced_at":"2025-04-05T03:26:11.569Z","repository":{"id":63189995,"uuid":"522239115","full_name":"zduny/rust-webapp-template","owner":"zduny","description":"Rust web app template.","archived":false,"fork":false,"pushed_at":"2023-09-20T08:50:14.000Z","size":62,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-10T11:44:49.735Z","etag":null,"topics":["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-08-07T14:43:08.000Z","updated_at":"2024-05-16T20:35:33.000Z","dependencies_parsed_at":"2024-12-18T08:51:05.592Z","dependency_job_id":null,"html_url":"https://github.com/zduny/rust-webapp-template","commit_stats":{"total_commits":53,"total_committers":1,"mean_commits":53.0,"dds":0.0,"last_synced_commit":"ae5312f44563601a7663c9ad11cdf933a8eb9cdb"},"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zduny%2Frust-webapp-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zduny%2Frust-webapp-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zduny%2Frust-webapp-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zduny%2Frust-webapp-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zduny","download_url":"https://codeload.github.com/zduny/rust-webapp-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247284077,"owners_count":20913684,"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":["cargo-generate","rust","template","webapp"],"created_at":"2024-10-08T17:05:23.679Z","updated_at":"2025-04-05T03:26:11.543Z","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/actions/workflows/rust.yml/badge.svg)](https://github.com/zduny/rust-webapp-template/actions)\n\nRust web application template.\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\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## Example\n\nSlightly simpler and more colorful example is available [here](https://github.com/zduny/balls/).\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\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","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzduny%2Frust-webapp-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzduny%2Frust-webapp-template/lists"}