Installation
Requirements
Development
- Rust stable
- Node.js 20+
ffmpegyt-dlp
Production
- Docker 24+
- Docker Compose v2
Repository Setup
git clone https://github.com/cryals/qruster.git
cd qruster
Guided Setup
Use the interactive setup script from the project root:
./scripts/setup.sh
Options:
1Development: checks Rust and Node.js, builds the backend, installs frontend dependencies2Production: asks for a domain and prepares Caddy plus.env
Run The Project
After setup:
./scripts/run.sh
Runtime options:
1Development mode2Production mode with Docker Compose3Stop services
Development Mode
When you choose development mode:
- backend runs on
http://localhost:8080 - frontend runs on
http://localhost:3000
You can also run the services manually.
Backend
cd backend
cargo run
Frontend
cd frontend
npm ci
npm run dev
Production Mode
The Docker stack is defined in docker-compose.yml.
Default services:
backendon port8080frontendon port3000caddyon ports80and443
To build and start it manually:
docker compose up -d --build
To stop:
docker compose down
Notes
- Downloads are written under
./downloadsin Docker mode - Temporary prepared files are served by the backend and expire after a limited time
- Production setup expects a valid domain if you want HTTPS through Caddy