sudo apt-get update
sudo apt-get install python3-pip pandoc# Create virtual environment
python3 -m venv venv
# Activate virtual environment
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install Python packages
pip install -r requirements.txtpython app.pyThe application will be available at: http://localhost:5000
- Open the web interface - Go to http://localhost:5000
- Upload a notebook - Click or drag your
.ipynbfile - Convert - Click the "Convert to PDF" button
- Download - The PDF will automatically download
file_Converter/
├── app.py # Flask backend
├── requirements.txt # Python dependencies
├── .env.example # Environment variables example
├── .gitignore # Git ignore rules
├── README.md # Full documentation
├── SETUP.md # This file
└── templates/
└── index.html # Web interface
Copy .env.example to .env and modify as needed:
cp .env.example .envcurl -X POST -F "file=@notebook.ipynb" http://localhost:5000/api/convert -o output.pdfcurl http://localhost:5000/api/healthError: pandoc not found
- Install pandoc:
sudo apt-get install pandoc
Error: ModuleNotFoundError
- Ensure virtual environment is activated
- Reinstall dependencies:
pip install -r requirements.txt
Port 5000 already in use
- Change port in
app.pyor kill existing process:lsof -ti :5000 | xargs kill -9
deactivate✅ Drag-and-drop upload ✅ Real-time progress tracking ✅ Secure file handling ✅ Beautiful, responsive UI ✅ Support for large files (up to 50MB) ✅ Works with all notebook content