Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marcincodes/taurine
Tauri + Node.js stater - electron alternative packed with some goodies
https://github.com/marcincodes/taurine
desktop-app nodejs tauri
Last synced: 20 days ago
JSON representation
Tauri + Node.js stater - electron alternative packed with some goodies
- Host: GitHub
- URL: https://github.com/marcincodes/taurine
- Owner: marcincodes
- License: mit
- Created: 2022-10-11T13:43:46.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-14T01:36:14.000Z (7 months ago)
- Last Synced: 2024-04-14T16:52:13.114Z (7 months ago)
- Topics: desktop-app, nodejs, tauri
- Language: TypeScript
- Homepage:
- Size: 256 KB
- Stars: 132
- Watchers: 3
- Forks: 9
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Taurine - Tauri + Node.js stater - Electron alternative
[Tauri](https://tauri.app/) is a framework for building tiny, blazing fast binaries for all major desktop platforms. With Node.js which you are familiar it's great alternative for [Electron](https://www.electronjs.org/).
Node.js is packed with your server code to single binary using [pkg](https://github.com/vercel/pkg) and then run using Tauri sidecar feature.
> NOTE ⚠️
> This starter **isn't** production ready and probably won't work on every platform. Also Tauri is **not recommending** using localhost protocol that is used here. For security reasons use tauri custom protocol.![Taurine demo](https://marcin.page/images/taurine-demo.gif)
## Features
- ⚛️ React
- ⚡️ Vite
- 🔒 Typescript
- 🚀 Fastify
- 📦 tRPC## Running
Clone the project
```bash
git clone https://link-to-project my-project-name
```Go to the project directory
```bash
cd my-project-name
```Install dependencies
```bash
pnpm install
```Start the server for development
```bash
pnpm tauri dev
```Building application
```bash
pnpm tauri build
```## Comparison with [Electron](https://www.electronjs.org/)
| Bundle | Taurine | Electron (electron-quick-start[1]) |
| :----------- | :------- | :--------------------------------- |
| `dmg` (size) | `21.6mb` | -- |
| `app` (size) | `63mb` | `205mb` |[1] Barebone Electron application from [electron-quick-start](https://github.com/electron/electron-quick-start) repo
## Known Issues
- [ ] After change on server window needs to close and re-open again
- [ ] Building supports only platform that is running on