Running ByteBox
ByteBox supports three primary runtime modes. The Electron desktop app is the recommended default for most users.
1. Electron Desktop App (Recommended)
Section titled “1. Electron Desktop App (Recommended)”Download a pre-built native installer and run ByteBox as a native application — no Node.js or Docker required.
| Platform | Download |
|---|---|
| Windows (.exe) | ByteBox.Setup.2.5.1.exe |
| Linux AppImage | ByteBox-2.5.1.AppImage |
| Linux .deb (Debian/Ubuntu) | bytebox_2.5.1_amd64.deb |
Linux AppImage:
chmod +x ByteBox-2.5.1.AppImage./ByteBox-2.5.1.AppImageLinux .deb:
sudo dpkg -i bytebox_2.5.1_amd64.debWindows: Run the .exe installer and follow the setup wizard.
Behavior highlights:
- Packaged app runs a local Next server inside Electron
- Database stored in OS user data directory, survives upgrades:
- Linux:
~/.config/ByteBox/bytebox.db - Windows:
%APPDATA%\ByteBox\bytebox.db
- Linux:
- Migrations applied automatically on startup
Build from source instead:
npm run electron:build:linuxnpm run electron:build:win2. Docker Deployment
Section titled “2. Docker Deployment”Use this for zero-host-dependency server deployment.
docker compose up --build -d- Exposes
1334 - Persists data in
bytebox-datavolume - Runs migrations on container startup via
docker-entrypoint.sh
Useful commands:
docker compose downdocker compose up -ddocker compose logs -f3. Web Development Mode
Section titled “3. Web Development Mode”Use this when actively building features or self-hosting from source.
npm run dev- Runs at
http://localhost:1334 - Hot reload enabled
- Uses your local SQLite database
Environment Variables
Section titled “Environment Variables”Core values:
DATABASE_URL(defaultfile:./dev.db)PORT(default1334in wrapper)NEXT_TELEMETRY_DISABLED(set in several runtime paths)
Production Safety Checklist
Section titled “Production Safety Checklist”- Run migrations before app startup (or ensure startup path does it)
- Back up SQLite file/volume
- Verify health endpoint (
/api/cards) - Run lint + typecheck + build in CI