README.md

March 31, 2026 ยท View on GitHub

DoubleShot logo

Hi, give me a doubleshot โ˜•.

A split node backend and electron main process.


Description

Doubleshot is a collection of tools for integrating the nodejs backend framework with electron to build a desktop application. At some point in the future, you can simply and quickly split it up and convert it to a web application.

A software engineer's time is precious, and I hope that one set of code can be applied to two different applications with minor modifications. So we can have more time to enjoy a cup of coffee. ๐Ÿ˜€

Features

  • ๐Ÿƒโ€ A Runner to start and build both the frontend (renderer) and backend (main).
  • ๐Ÿ”จ A Builder to run/build electron main process or node backend.
  • ๐Ÿ›ป An electron ipc transport for nestjs that provides simple ipc communication.
  • ๐ŸชŸ An electron module for nestjs to launch electron windows.
  • ๐Ÿ˜Ž Very easy integration of electron and node.
  • โšก Quickly split and convert between C/S and B/S.
  • โฉ Quick start and build, powered by tsdown and electron-builder

Warning: this project is in early stage, do not use in production environment

License

MIT License ยฉ 2022 Archer Gu