Skip to content

Doubleshotjs/doubleshot

Repository files navigation

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 tsup and electron-builder

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

License

MIT License © 2022 Archer Gu