Skip to content

Running ByteBox

ByteBox supports three primary runtime modes. The Electron desktop app is the recommended default for most users.

Download a pre-built native installer and run ByteBox as a native application — no Node.js or Docker required.

PlatformDownload
Windows (.exe)ByteBox.Setup.2.5.1.exe
Linux AppImageByteBox-2.5.1.AppImage
Linux .deb (Debian/Ubuntu)bytebox_2.5.1_amd64.deb

Linux AppImage:

Terminal window
chmod +x ByteBox-2.5.1.AppImage
./ByteBox-2.5.1.AppImage

Linux .deb:

Terminal window
sudo dpkg -i bytebox_2.5.1_amd64.deb

Windows: 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
  • Migrations applied automatically on startup

Build from source instead:

Terminal window
npm run electron:build:linux
npm run electron:build:win

Use this for zero-host-dependency server deployment.

Terminal window
docker compose up --build -d
  • Exposes 1334
  • Persists data in bytebox-data volume
  • Runs migrations on container startup via docker-entrypoint.sh

Useful commands:

Terminal window
docker compose down
docker compose up -d
docker compose logs -f

Use this when actively building features or self-hosting from source.

Terminal window
npm run dev
  • Runs at http://localhost:1334
  • Hot reload enabled
  • Uses your local SQLite database

Core values:

  • DATABASE_URL (default file:./dev.db)
  • PORT (default 1334 in wrapper)
  • NEXT_TELEMETRY_DISABLED (set in several runtime paths)
  • 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