{"id":18559104,"url":"https://github.com/linux-china/trunk-demo","last_synced_at":"2025-04-10T02:30:38.963Z","repository":{"id":136596860,"uuid":"409498847","full_name":"linux-china/trunk-demo","owner":"linux-china","description":"WebAssembly development with Trunk \u0026 Vite.js","archived":false,"fork":false,"pushed_at":"2023-04-23T14:58:18.000Z","size":33,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T02:51:14.982Z","etag":null,"topics":["trunk-rs","vitejs","wasm-bindgen"],"latest_commit_sha":null,"homepage":"","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/linux-china.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":"2021-09-23T07:52:07.000Z","updated_at":"2021-11-24T08:00:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"08814ac2-ac4e-4614-a5f9-a06813794640","html_url":"https://github.com/linux-china/trunk-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linux-china%2Ftrunk-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linux-china%2Ftrunk-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linux-china%2Ftrunk-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linux-china%2Ftrunk-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/linux-china","download_url":"https://codeload.github.com/linux-china/trunk-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248144158,"owners_count":21054876,"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":["trunk-rs","vitejs","wasm-bindgen"],"created_at":"2024-11-06T21:42:03.490Z","updated_at":"2025-04-10T02:30:38.956Z","avatar_url":"https://github.com/linux-china.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"Trunk \u0026 Vite.js Demo\n=========================\n\nTrunk is a WASM web application bundler for Rust, and Vite.js is next Generation Frontend Tooling. Ok, they are\ntogether now for you.\n\n# Development\n\n* Install Trunk first:  `cargo install --git https://github.com/linux-china/trunk.git`\n* Start dev server: run `npm install` then `npm run dev` and visit http://localhost:3000\n\n# Features\n\n* Wasm build by Trunk\n* Web development by Vite.js\n* Bundle by Vite.js\n* Trunk can still work as his way.\n\n# Trunk Configuration\n\nElements in trunk.toml:\n\n```\npub struct ConfigOpts {\n    pub build: Option\u003cConfigOptsBuild\u003e,\n    pub watch: Option\u003cConfigOptsWatch\u003e,\n    pub serve: Option\u003cConfigOptsServe\u003e,\n    pub clean: Option\u003cConfigOptsClean\u003e,\n    pub tools: Option\u003cConfigOptsTools\u003e,\n    pub proxy: Option\u003cVec\u003cConfigOptsProxy\u003e\u003e,\n    pub hooks: Option\u003cVec\u003cConfigOptsHook\u003e\u003e,\n}\n```\n\nMore details: https://github.com/thedodd/trunk/blob/master/src/config/models.rs\n\n# References\n\n* Trunk: https://trunkrs.dev/\n* Vite.js: https://vitejs.dev/\n* npm-run-all: https://github.com/mysticatea/npm-run-all\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinux-china%2Ftrunk-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinux-china%2Ftrunk-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinux-china%2Ftrunk-demo/lists"}