Skip to main content
For contributors or if you prefer manual control over the installation.

Prerequisites

  • Bun v1.3 or later
  • A chat model — either a local server (llama.cpp, LM Studio) or a cloud API key (Bedrock, Gemini, OpenRouter)

Steps

1

Clone and install

git clone https://github.com/maziarzamani/spaceduck.git
cd spaceduck
bun install
2

Install system dependencies

# SQLite with extension support (required for sqlite-vec)
brew install sqlite
3

Configure deployment settings

cp .env.example .env
The .env file controls deployment knobs only (port, log level). Provider settings are managed in the Settings UI.
4

Start the gateway

bun run dev
Open http://localhost:3000 in your browser.