Installation
Installation
Section titled “Installation”This guide covers installing and running AutoVio on your machine.
Requirements
Section titled “Requirements”- Bun >= 1.0 (recommended) or Node.js >= 18
- MongoDB — Local instance or MongoDB Atlas
- FFmpeg — Required for video export. The backend uses the
ffmpegandffprobeCLI tools to render the final video from timeline clips, overlays, and audio. Install so thatffmpegandffprobeare available on yourPATH. - API keys for at least one AI provider (e.g. Google Gemini, OpenAI, Anthropic)
Installing FFmpeg
Section titled “Installing FFmpeg”- 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.
1. Clone and install
Section titled “1. Clone and install”git clone <repository-url>cd AutoViobun installIf you use npm:
npm install2. Configure environment
Section titled “2. Configure environment”Copy the example environment file and edit it:
cp .env.example .envSet at least:
MONGODB_URI— MongoDB connection stringJWT_SECRET— Secret for JWT tokens (use a strong value in production)
See Configuration for all environment variables.
3. Run the application
Section titled “3. Run the application”Start both backend and frontend:
bun run dev- Backend —
http://localhost:3001 - Frontend —
http://localhost:5173
Run only backend or frontend:
bun run dev:backend # backend onlybun run dev:frontend # frontend only4. Open the app
Section titled “4. Open the app”Open http://localhost:5173 in your browser. Register or log in, then create a project and a work to start the video pipeline.
Next Steps
Section titled “Next Steps”- Quick Start — Create your first video
- Configuration — Environment variables reference