Meeting Summarizer is a web application that allows users to upload meeting audio files or YouTube links and receive automatic transcriptions and narrative summaries using state-of-the-art AI models.
- Audio & YouTube Transcription: Convert meeting audio (MP3) or YouTube videos to text using Whisper (via Groq API)
- AI Summarization: Generate concise, narrative summaries using Gemini (Google API)
- Real-time Status: Track processing status in real time
- Downloadable Results: Download summaries as text files
- User-friendly Interface: Responsive and modern Vue.js frontend
- Robust Error Handling: Comprehensive error and status reporting
Backend
- FastAPI (Python)
- Whisper API (Groq)
- Gemini API (Google)
- yt-dlp (YouTube audio download)
- Uvicorn (ASGI server)
- python-dotenv (env management)
Frontend
- Vue.js 3
- Axios
- Vue Router
- Vuex
- CSS3
- Python 3.8+
- Node.js 14+
- npm or yarn
- API keys for Groq (Whisper) and Google Gemini
git clone <repository-url>
cd appcd backend
python -m venv venv
# Activate the virtual environment:
# On Windows:
venv\Scripts\activate
# On Linux/Mac:
source venv/bin/activate
pip install -r requirements.txt
cp env.example .env
# Edit .env and add your API keyscd ../meeting-summarizer
npm installcd backend
# Development mode (auto-reload):
python -m uvicorn app.main:app --reload --host 0.0.0.0 --port 8000
# Production mode:
uvicorn app.main:app --host 0.0.0.0 --port 8000Backend runs at: http://localhost:8000
cd ../meeting-summarizer
npm run serveFrontend runs at: http://localhost:5173
npm run buildCreate a .env file in the backend/ directory with the following variables:
# API Configuration
WHISPER_API_URL=https://api.groq.com/openai/v1/audio/transcriptions
GEMINI_API_URL=https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash:generateContent
# API Keys (Required)
WHISPER_API_KEY=your_whisper_api_key_here
GEMINI_API_KEY=your_gemini_api_key_here
# Application Configuration
TEMP_FOLDER=temp/
MAX_SUMMARY_LENGTH=200
# Gemini Rate Limit (optional)
GEMINI_RPM=15
GEMINI_TPM=1000000
GEMINI_RPD=200
# Server Configuration
PORT=8000
LOG_LEVEL=INFOapp/
βββ backend/
β βββ app/
β β βββ config.py # Configuration
β β βββ main.py # FastAPI entrypoint
β β βββ routes/
β β β βββ summarize.py # API endpoints
β β βββ services/
β β β βββ whisper.py # Whisper API integration
β β β βββ gemini.py # Gemini API integration
β β β βββ llama.py # (Optional) Llama API integration
β β βββ utils/
β β βββ logger.py # Logging utilities
β βββ temp/ # Temporary files
β βββ requirements.txt # Python dependencies
β βββ env.example # Environment variable template
βββ meeting-summarizer/
βββ src/
β βββ components/ # Vue components
β βββ assets/ # Static assets
β βββ App.vue # Root component
β βββ main.js # Vue entrypoint
βββ package.json # Node.js dependencies
βββ README.md # Frontend docs
Upload an MP3 file for processing.
- Request: Multipart form data with an MP3 file
- Response:
{ "task_id": "uuid", "status": "processing" }
Submit a YouTube link for processing.
- Request:
{ "youtube_url": "<url>" } - Response: Summary result or error
Check processing status.
- Response: Task status (processing/completed/failed)
Download the summary file.
- Response: TXT file
Delete files and task data.
- Response: Cleanup confirmation
Health check endpoint.
cd backend
# (Add tests with pytest as needed)cd meeting-summarizer
npm run lint- API Key Errors: Ensure
.envis set up with valid API keys. - File Upload Errors: Only MP3 files are supported. Max size: 50MB.
- YouTube Download Errors: Ensure the link is valid and the video is accessible.
- CORS Issues: Make sure backend and frontend are running on the correct ports. Check CORS settings in
main.py. - Other Issues: Check logs for detailed error messages.
- Fork the repository
- Create a feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License. See the LICENSE file for details.
docker-compose up --build- Backend: http://localhost:8000
- Frontend: http://localhost:5173
- Build Docker images:
docker build -t gcr.io/<your-gcp-project-id>/aisum-backend:latest ./backend docker build -t gcr.io/<your-gcp-project-id>/aisum-frontend:latest ./meeting-summarizer
- Push to Google Container Registry:
docker push gcr.io/<your-gcp-project-id>/aisum-backend:latest docker push gcr.io/<your-gcp-project-id>/aisum-frontend:latest
- Deploy using GCP Cloud Run, GKE, or Compute Engine as needed.
- Make sure to set up your
.envfile for the backend and configure environment variables in your GCP deployment. - For persistent storage (e.g.,
/app/app/temp), use GCP volumes or buckets as appropriate.