{"id":24112554,"url":"https://github.com/acetyld/viteelectrontest","last_synced_at":"2026-06-08T18:32:26.228Z","repository":{"id":265596416,"uuid":"697177013","full_name":"Acetyld/ViteElectronTest","owner":"Acetyld","description":null,"archived":false,"fork":false,"pushed_at":"2023-09-27T07:58:07.000Z","size":46,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-22T00:08:01.435Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Acetyld.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":"2023-09-27T07:58:05.000Z","updated_at":"2023-09-27T07:58:10.000Z","dependencies_parsed_at":"2024-11-30T09:01:26.552Z","dependency_job_id":null,"html_url":"https://github.com/Acetyld/ViteElectronTest","commit_stats":null,"previous_names":["acetyld/viteelectrontest"],"tags_count":0,"template":false,"template_full_name":"ArcherGu/fast-vite-nestjs-electron","purl":"pkg:github/Acetyld/ViteElectronTest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Acetyld%2FViteElectronTest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Acetyld%2FViteElectronTest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Acetyld%2FViteElectronTest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Acetyld%2FViteElectronTest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Acetyld","download_url":"https://codeload.github.com/Acetyld/ViteElectronTest/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Acetyld%2FViteElectronTest/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34075956,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"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":[],"created_at":"2025-01-11T03:45:30.107Z","updated_at":"2026-06-08T18:32:26.207Z","avatar_url":"https://github.com/Acetyld.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg width=\"400\" src=\"./logo.png\" alt=\"logo\"\u003e\n\u003c/p\u003e\n\n# ⚡Vite + Electron + Nestjs Template\n\nThis template is used to build [vite](https://vitejs.dev/) + [electron](https://www.electronjs.org/) + [nestjs](https://nestjs.com/) projects. Build with [Doubleshot](https://github.com/Doubleshotjs/doubleshot), crazy fast!\n\n🎉 [Doubleshot](https://github.com/Doubleshotjs/doubleshot) is a whole new set of tools to help you quickly build and start a node backend or electron main process.\n\n## Introduce\nThis is a template based on my repo: [fast-vite-electron](https://github.com/ArcherGu/fast-vite-electron). In the main process, I integrated nestjs. In the main process, you can build your code just as you would write a nestjs backend. Desktop clients built from this template can quickly split the electron when you need to switch to B/S.\n\n## Features\n\n- 🔨 [vite-plugin-doubleshot](https://github.com/archergu/doubleshot/tree/main/packages/plugin-vite#readme) to run/build electron main process or node backend.\n\u003cbr\u003e\n\n- 🛻 An electron ipc transport for [nestjs](https://nestjs.com/) that provides simple ipc communication.\n\u003cbr\u003e\n\n- 🪟 An electron module for [nestjs](https://nestjs.com/) to launch electron windows.\n\u003cbr\u003e\n\n- ⏩ Quick start and build, powered by [tsup](https://tsup.egoist.sh/) and [electron-builder](https://www.electron.build/) integrated in [@doubleshot/builder](https://github.com/Doubleshotjs/doubleshot/tree/main/packages/builder)\n\n## How to use\n\n- Click the [Use this template](https://github.com/ArcherGu/fast-vite-electron/generate) button (you must be logged in) or just clone this repo.\n- In the project folder: \n  ```bash\n  # install dependencies\n  yarn # npm install\n\n  # run in developer mode\n  yarn dev # npm run dev\n\n  # build\n  yarn build # npm run build\n  ```\n\n## Note for PNPM\n\nIn order to use with `pnpm`, you'll need to adjust your `.npmrc` to use any one the following approaches in order for your dependencies to be bundled correctly (ref: [#6389](https://github.com/electron-userland/electron-builder/issues/6289#issuecomment-1042620422)):\n```\nnode-linker=hoisted\n```\n```\npublic-hoist-pattern=*\n```\n```\nshamefully-hoist=true\n```\n\n## Relative\n\nMy blog post:\n\n- [极速 DX Vite + Electron + esbuild](https://archergu.me/posts/vite-electron-esbuild)\n- [用装饰器给 Electron 提供一个基础 API 框架](https://archergu.me/posts/electron-decorators)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facetyld%2Fviteelectrontest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Facetyld%2Fviteelectrontest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facetyld%2Fviteelectrontest/lists"}