# Clone the repository
git clone https://github.com/jueewo/aipokit.git
cd aipokit
# Start everything
docker compose up -d
# Open in browser
open http://localhost:3000
The first run will:
media.db)# Prerequisites: Rust toolchain, FFmpeg, Ghostscript, cwebp
cargo build --release
# Configure
cp .env.example .env
# Edit .env with your settings
# Run
./target/release/video-server
ENABLE_EMERGENCY_LOGIN=true in .env# Required
DATABASE_URL=sqlite:media.db
STORAGE_DIR=./storage
# Authentication (OIDC)
OIDC_ISSUER=https://auth.example.com
OIDC_CLIENT_ID=your_client_id
OIDC_CLIENT_SECRET=your_secret
OIDC_REDIRECT_URI=http://localhost:3000/auth/callback
# Development
ENABLE_EMERGENCY_LOGIN=true
# Production
RUN_MODE=production