NightShift is a lightweight backend service for processing videos and images using FFmpeg and WebP tools — built with FastAPI and managed using the uv package manager.
Designed for performance, simplicity, and future desktop integration (Tauri).
For now, you have to download ffmpeg, cwebp, dwebp executable files and add to the directory.
- ⚡ FastAPI backend
- 🎥 Video processing via FFmpeg
- 🖼 Image encoding/decoding via WebP tools
- 🧰 Supports bundled or system-installed binaries(future)
- 📦 Dependency management with
uv(no pip) - 🖥 Ready for desktop packaging later(future)
- Python ≥ 3.14
- FastAPI
- Uvicorn
- python-multipart
- uv package manager
- FFmpeg
- WebP tools (cwebp / dwebp)
- NextJs 16
Download from python.org/downloads [attached_file:1]
Recommended: Python 3.14.2 (Dec 5, 2025) - Support until 2030 [attached_file:1]
see official uv doc for more details - uv official doc
# Option: pip
pip install uvsee official uv doc for more details - uv official doc
uv venv# Windows
.venv\Scripts\activate
# Linux/macOS
source .venv/bin/activate# From requirements.txt
uv add -r requirements.txtsee official FastAPI doc for more details - FastAPI official doc
# Option: pip
fastapi dev app/main.py