Get Voice2Note up and running in 10 minutes!
Install these first:
-
Python 3.8+
python3 --version # Check if installed -
FFmpeg
# Ubuntu/Debian/WSL sudo apt update && sudo apt install ffmpeg # macOS brew install ffmpeg
# Run the setup script
bash setup.shThis will automatically:
- Create virtual environment
- Install Python dependencies
- Clone and build whisper.cpp
- Download Whisper model
- Initialize database
# Create virtual environment
python -m venv venv
venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Initialize database
python init_db.pyThen manually install whisper.cpp (see Manual Setup below).
If the automated setup doesn't work:
python3 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt# Clone repository
git clone https://github.com/ggml-org/whisper.cpp.git
cd whisper.cpp
# Build
cmake -B build
cmake --build build -j --config Release
# Download model (choose one)
bash ./models/download-ggml-model.sh base # Fast, 142MB
bash ./models/download-ggml-model.sh medium # Recommended, 1.5GB
cd ..Edit config.py and update these paths:
WHISPER_PATH = './whisper.cpp/build/bin/whisper-cli'
WHISPER_MODEL_PATH = './whisper.cpp/models/ggml-medium.bin'python init_db.py# Activate virtual environment (if not already activated)
source venv/bin/activate # On Windows: venv\Scripts\activate
# Start the server
python app.pyOpen your browser to: http://localhost:5000
- Go to http://localhost:5000
- Paste this short test video:
https://www.youtube.com/watch?v=dQw4w9WgXcQ - Click "Process Video"
- Wait 5-10 minutes (depending on your CPU)
- View your generated notes!
- Record a short voice memo or use an existing video
- Upload it via the web interface
- Process and view notes
Solution: Update WHISPER_PATH in config.py to point to your whisper.cpp binary:
# Find where whisper-cli is located
find . -name "whisper-cli"
# Update config.py with the correct pathSolution: Install FFmpeg:
sudo apt install ffmpeg # Ubuntu/Debian/WSL
brew install ffmpeg # macOSSolution: Check your internet connection. The Ollama API requires internet access.
Solutions:
- Use the
basemodel instead ofmedium(editconfig.py) - Process shorter videos first
- Consider GPU acceleration (see README.md)
- Read the full README.md for detailed documentation
- Explore the Processing History page
- Try different video lengths and sources
- Customize note generation prompts in
processors/note_generator.py
- Check README.md for full documentation
- Review PROJECT_OVERVIEW.md for technical details
- Check WHISPER_GUIDE.md for whisper.cpp tips
| Component | Minimum | Recommended |
|---|---|---|
| CPU | Dual-core | Quad-core or better |
| RAM | 4GB | 8GB+ |
| Storage | 5GB | 10GB+ |
| Internet | Required for Ollama API | Required for Ollama API |
Processing a 10-minute video:
- Audio extraction: 10-30 seconds
- Transcription (base model): 5-10 minutes
- Transcription (medium model): 10-20 minutes
- Note generation: 30-60 seconds
- Total: ~6-21 minutes
With GPU acceleration:
- Transcription time can be reduced by 5-10x!
Ready to start? Run python app.py and open http://localhost:5000 🚀