{"id":15022017,"url":"https://github.com/lencx/create-xc-app","last_synced_at":"2025-04-12T06:07:48.357Z","repository":{"id":57146292,"uuid":"276593893","full_name":"lencx/create-xc-app","owner":"lencx","description":"⚡️ Create a project in seconds!","archived":false,"fork":false,"pushed_at":"2021-08-22T02:22:49.000Z","size":130,"stargazers_count":19,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-12T06:07:39.504Z","etag":null,"topics":["cli","create-xc-app","deno","react","template","vite","wasm"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/lencx.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-02T08:40:04.000Z","updated_at":"2025-01-06T21:18:32.000Z","dependencies_parsed_at":"2022-09-06T05:51:33.899Z","dependency_job_id":null,"html_url":"https://github.com/lencx/create-xc-app","commit_stats":null,"previous_names":["lencx/create-lx-cli"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lencx%2Fcreate-xc-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lencx%2Fcreate-xc-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lencx%2Fcreate-xc-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lencx%2Fcreate-xc-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lencx","download_url":"https://codeload.github.com/lencx/create-xc-app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248525143,"owners_count":21118618,"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":["cli","create-xc-app","deno","react","template","vite","wasm"],"created_at":"2024-09-24T19:57:20.313Z","updated_at":"2025-04-12T06:07:48.332Z","avatar_url":"https://github.com/lencx.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# create-xc-app\n\nCreate a project in seconds!\n\n\u003e **Compatibility Note:**\n\u003e Vite requires [Node.js](https://nodejs.org/en/) version \u003e=12.0.0.\n\nWith NPM:\n\n```bash\nnpm init xc-app\n```\n\nWith Yarn:\n\n```bash\nyarn create xc-app\n```\n\nThen follow the prompts!\n\nYou can also directly specify the project name and the template you want to use via additional command line options. For example, to scaffold a Vite + WebAssembly + React project, run:\n\n```bash\n# npm 6.x\nnpm init xc-app my-wasm-app --template wasm-react\n\n# npm 7+, extra double-dash is needed:\nnpm init xc-app my-wasm-app -- --template wasm-react\n```\n\nCurrently supported template presets include:\n\n* `react-dva-ts`\n* `wasm-react`\n* `wasm-vue`\n* `deno-oak`\n* `deno-vscode-cmd`: Based `deno` and `vscode user snippets`, displaying all `\"@cmd: \"` commands in the project.\n  * `snippets` must contain `\"@cmd: \"` string\n  * the string must be in the first 10 lines of the file will be matched\n  * `$ deno run --allow-read --allow-write cmd.ts` - use cache `cmd.output`\n  * `$ deno run --allow-read --allow-write cmd.ts --update` - update `cmd.output` file\n  * `$ deno run --allow-read --allow-write cmd.ts --update=tree` - tree structure\n\n## Related List\n\n* [vite-plugin-rsw](https://github.com/lencx/vite-plugin-rsw): wasm-pack plugin for vite@v2.\n* [WebAssembly入门](https://lencx.github.io/book/wasm/rust_wasm_frontend.html)\n* [WebAssembly Series](https://github.com/lencx/z/discussions/22)\n* [🦕 Deno](https://deno.land): A secure runtime for JavaScript and TypeScript.\n* [🦕 Oak](https://github.com/oakserver/oak): A middleware framework for Deno's net server.\n* [🦕 deno-getfiles](https://github.com/lencx/deno-getfiles): Recursively get all files in a directory\n* [Dvajs](https://github.com/dvajs/dva): React and redux based, lightweight and elm-style framework.\n* [Vite](https://github.com/vitejs/vite): Native-ESM powered web dev build tool. It's fast.\n* [VS Code User Snippets](https://code.visualstudio.com/docs/editor/userdefinedsnippets): Code snippets are templates that make it easier to enter repeating code patterns, such as loops or conditional-statements.\n\n## License\n\nMIT License © 2020 [lencx](https://github.com/lencx)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flencx%2Fcreate-xc-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flencx%2Fcreate-xc-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flencx%2Fcreate-xc-app/lists"}