Description
Doubleshot is a collection of tools for building a desktop application from a Node.js backend framework and Electron. It connects a NestJS backend with the Electron main process, so you can write one set of code and later split it into a client-server or browser-based web application with minor changes. The toolkit includes a runner that starts and builds both the renderer frontend and the backend main process, and a builder that runs or builds the Electron main process or the Node backend. It also provides an Electron IPC transport for NestJS, which gives simple communication between the two sides, and an Electron module for NestJS that launches Electron windows. The project uses tsdown for building and electron-builder for packaging. The author describes the goal as one code base serving two kinds of applications. The README warns that the project is at an early stage and should not be used in production. It is released under the MIT License.…
Highlights
- Runner that builds the renderer and the main process
- Electron IPC transport for NestJS
- Module that launches Electron windows from NestJS
- Built with tsdown and electron-builder
- MIT licensed, early stage
Ratings & Reviews
No ratings yet
Be the first to rate Doubleshot.
People also visit
Electron Vite
Next generation Electron build tooling based on Vite 新一代 Electron 开发构建工具,支持源代码保护
Doubleshot FAQ
What is Doubleshot?
It is a set of tools for integrating a Node.js backend framework with Electron to build a desktop application. The README names NestJS as the backend framework for its IPC transport and window module.
Can it become a web app later?
The README says the project can later be split and converted to a web application with minor changes, so one set of code can serve a desktop or a browser client.
How do I start and build it?
The runner starts and builds the frontend and the backend main process. The builder runs or builds the Electron main process or the Node backend. Packaging uses electron-builder.
Is it ready for production?
No. The README warns that the project is in an early stage and should not be used in a production environment.
What license is it under?
The MIT License.
What are the best Doubleshot alternatives?
Popular alternatives to Doubleshot include Nodejs Backend Roadmap, Electron Log and Electron Vite. See all Doubleshot alternatives


