{"id":16417108,"url":"https://github.com/zuramai/vite-wasm-starter","last_synced_at":"2025-03-23T06:31:34.791Z","repository":{"id":104023331,"uuid":"525605232","full_name":"zuramai/vite-wasm-starter","owner":"zuramai","description":"Vite + Webassembly starter project","archived":false,"fork":false,"pushed_at":"2022-08-20T07:49:00.000Z","size":185,"stargazers_count":13,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-18T18:42:57.592Z","etag":null,"topics":["boilerplate","rust","typescript","wasm","wasm-example"],"latest_commit_sha":null,"homepage":"https://zuramai.github.io/vite-wasm-starter","language":"Rust","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/zuramai.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-08-17T02:00:29.000Z","updated_at":"2024-05-28T21:09:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"0d1dd52b-2be4-4dd1-b5df-0740ecd16c67","html_url":"https://github.com/zuramai/vite-wasm-starter","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuramai%2Fvite-wasm-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuramai%2Fvite-wasm-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuramai%2Fvite-wasm-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuramai%2Fvite-wasm-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zuramai","download_url":"https://codeload.github.com/zuramai/vite-wasm-starter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245066497,"owners_count":20555402,"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":["boilerplate","rust","typescript","wasm","wasm-example"],"created_at":"2024-10-11T07:11:03.801Z","updated_at":"2025-03-23T06:31:34.768Z","avatar_url":"https://github.com/zuramai.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/45036724/185058831-59263fc8-97e7-4801-8182-c892637731c4.svg\" width=\"8%\"\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/45036724/185058837-a63a6957-5458-4038-b63b-b23a5109ece3.svg\" width=\"8%\"\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/45036724/185058839-7e3ae58b-a886-4fdf-8aad-e68484695e59.png\" width=\"13%\"\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eVite + Typescript+ Webassembly\u003c/h1\u003e\n\u003cp align=\"center\"\u003e A starter project for you to create a blazingly fast web application \u003c/p\u003e\n\n## Before getting started\n\nYou need to get these prerequisites installed:\n\n* [Rust](https://www.rust-lang.org/learn/get-started)\n* [NodeJS](https://nodejs.org)\n* [wasm-pack](https://github.com/rustwasm/wasm-pack)\n* [rsw-rs](https://github.com/lencx/rsw-rs)\n\n## Installation\n\n#### 1. Clone the repository\n```sh\ngit clone https://github.com/zuramai/vite-wasm-starter\ncd vite-wasm-starter\n```\n\n#### 2. Install dependencies\n```sh\npnpm install # OR npm install\n```\n\n#### 3. Run the application\n\nYou should open two tabs of terminal. **The order of execution is important and do not close the first window ⚠️**.\n\nIn the first tab, run:\n```\npnpm rsw watch\n```\n\nIn the second tab, run:\n```sh\npnpm dev\n```\n\n## Deploying\n\nRun:\n```sh\npnpm run build\n```\n\n\n## Adding a crate\n\n1. Generate rust crate\n```sh\npnpm rsw new hello-world\n```\n\nThis will create a crate in a folder named `hello-world`\n\n2. Edit `rsw.toml` to register the crate\n```sh\n[[crates]]\nname = \"hello-world\"\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzuramai%2Fvite-wasm-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzuramai%2Fvite-wasm-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzuramai%2Fvite-wasm-starter/lists"}