This template is designed to help you build fullstack apps powered by Bun, React, and tRPC, with a unique twist: you can compile the entire app into a single binary, making it ideal for self-contained deployments.
- Internal tools and dashboards
- Intranet or local network services
- Client-side deployments without external dependencies
- Kiosk apps, embedded systems, or air-gapped environments
No need for Node.js, complex runtime environments, or even internet access — just run the binary.
Check out a real-world usage: Burt Stack
- Bun - The fastest JavaScript runtime
- React - The most popular frontend library
- tRPC - The most popular backend framework
- Tanstack Router - The most popular router library
- Tanstack Query - The most popular data fetching library
- Tanstack Form - The most popular form library
- Shadcn - The most popular UI library
- Tailwind - The most popular CSS framework
- Zod - The most popular validation library
To install dependencies:
make installTo start a development server:
make devTo build for production:
make buildTo start the production server:
make startTo compile to a standalone binary:
make compile
make runExample deployment:
# copy the binary to the server
scp bin/linux/index user@your-server:/usr/local/bin/burt
# /etc/systemd/system/burt.service
[Unit]
Description=Burt Stack Service
After=network.target
[Service]
ExecStart=/usr/local/bin/burt
Restart=always
User=youruser
Environment=NODE_ENV=production
[Install]
WantedBy=multi-user.target
# reload systemd to apply the new service
sudo systemctl daemon-reload
sudo systemctl enable --now burt
sudo systemctl status burt