Quickstart
March 2, 2026 ยท View on GitHub
Run MoneyPrinter locally with an Ollama model.
1) Clone repository
git clone https://github.com/FujiwaraChoki/MoneyPrinter.git
cd MoneyPrinter
2) Quick setup (recommended)
Run the interactive setup script:
./setup.sh
This script checks dependencies, sets up .env, installs Python packages with uv, and can optionally pull an Ollama model.
3) Manual setup
Use this path if you prefer to run each step yourself.
Prerequisites
- Python 3.11+
- uv
- FFmpeg
- ImageMagick
- Ollama
Install and create env file
uv sync
cp .env.example .env
Windows PowerShell for .env copy:
Copy-Item .env.example .env
4) Configure environment
Set required values in .env:
TIKTOK_SESSION_IDPEXELS_API_KEY
See Configuration for all variables.
Optional: Run tests
uv sync --group dev
uv run pytest
5) Start Ollama and pull a model
ollama serve
ollama pull llama3.1:8b
If Ollama runs on another machine/port, set OLLAMA_BASE_URL in .env.
6) Run backend
uv run python Backend/main.py
7) Run worker
In a new terminal:
uv run python Backend/worker.py
8) Run frontend
In a new terminal:
cd Frontend
python3 -m http.server 3000
Open http://localhost:3000.
9) Generate video
- Enter a video subject.
- Expand advanced options.
- Choose an Ollama model from the dropdown (loaded dynamically from Ollama).
- Click Generate.
Output file: output.mp4 at project root.