Skip to content

Installation

This guide covers installing and running AutoVio on your machine.

  • Bun >= 1.0 (recommended) or Node.js >= 18
  • MongoDB — Local instance or MongoDB Atlas
  • FFmpeg — Required for video export. The backend uses the ffmpeg and ffprobe CLI tools to render the final video from timeline clips, overlays, and audio. Install so that ffmpeg and ffprobe are available on your PATH.
  • API keys for at least one AI provider (e.g. Google Gemini, OpenAI, Anthropic)
  • macOS (Homebrew): brew install ffmpeg
  • Ubuntu/Debian: sudo apt update && sudo apt install ffmpeg
  • Windows: Download from ffmpeg.org or use a package manager such as Chocolatey: choco install ffmpeg

After installing, verify with ffmpeg -version and ffprobe -version.

Terminal window
git clone <repository-url>
cd AutoVio
bun install

If you use npm:

Terminal window
npm install

Copy the example environment file and edit it:

Terminal window
cp .env.example .env

Set at least:

  • MONGODB_URI — MongoDB connection string
  • JWT_SECRET — Secret for JWT tokens (use a strong value in production)

See Configuration for all environment variables.

Start both backend and frontend:

Terminal window
bun run dev
  • Backendhttp://localhost:3001
  • Frontendhttp://localhost:5173

Run only backend or frontend:

Terminal window
bun run dev:backend # backend only
bun run dev:frontend # frontend only

Open http://localhost:5173 in your browser. Register or log in, then create a project and a work to start the video pipeline.