Unlock deeper understanding from YouTube content by seamlessly connecting video transcripts with your preferred AI assistant.
Brevify helps you learn faster from YouTube content by seamlessly connecting video transcripts with your preferred AI assistant (ChatGPT, Claude, or Gemini). Instead of paying for additional API access, Brevify lets you use your existing AI subscriptions to analyze video content.
-
[✓] YouTube Integration
- Video transcript extraction
- Metadata fetching
- Multiple URL format support
-
[✓] AI Assistant Integration
- ChatGPT support
- Claude.ai support
- Gemini support
- Custom prompt templates
-
[✓] Chrome Extension
- Seamless integration with AI services
- Automatic transcript injection
- Support for multiple AI platforms
- Easy installation and setup
-
[✓] Modern UI
- Responsive design
- Dark/Light mode
- Loading states
- Error handling
- Python 3.8 or higher
- Google Chrome browser
- YouTube Data API key
- Subscription to at least one AI service:
- OpenAI ChatGPT
- Anthropic Claude
- Google Gemini
- Go to the Google Cloud Console
- Create a new project or select an existing one
- Enable the YouTube Data API v3:
- Navigate to "APIs & Services" > "Library"
- Search for "YouTube Data API v3"
- Click "Enable"
- Create credentials:
- Go to "APIs & Services" > "Credentials"
- Click "Create Credentials" > "API Key"
- Copy your new API key
-
Create a
.env
file in the project root:touch .env
-
Add your YouTube API key to the
.env
file:YOUTUBE_API_KEY=your_api_key_here
-
Clone the repository:
git clone https://github.com/yourusername/brevify.git cd brevify
-
Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Start the development server:
./start
This will start the server on
http://localhost:8888
- Open Google Chrome and navigate to
chrome://extensions
- Enable "Developer mode" in the top right
- Click "Load unpacked" and select the
extension
directory from the project - The Brevify extension icon should appear in your Chrome toolbar
-
Start the Server
- Make sure the backend server is running on
localhost:8888
- You should see the Brevify web interface when you visit the URL
- Make sure the backend server is running on
-
Enter YouTube URL
- Paste any YouTube video URL into the input field
- The system will fetch the video information and transcript
-
Analyze with AI
- Click on any of the AI assistant buttons (ChatGPT, Claude, or Gemini)
- The extension will automatically:
- Open the AI service in a new tab
- Inject the transcript
- Apply learning-focused prompts
-
Review Insights
- The AI assistant will analyze the transcript
- Get detailed insights about the video content
- Ask follow-up questions for deeper understanding
brevify/
├── app.py # FastAPI application
├── extension/ # Chrome extension
│ ├── manifest.json # Extension configuration
│ ├── content.js # Content script
│ ├── background.js # Background worker
│ └── ai-service.js # AI service integration
├── templates/ # HTML templates
├── static/
│ ├── css/ # Styles
│ └── js/ # Frontend JavaScript
└── requirements.txt # Python dependencies
-
Extension Not Detected
- Make sure the extension is properly installed
- Check if it's enabled in Chrome extensions
- Try reloading the extension
- Refresh the Brevify webpage
-
Invalid YouTube URL
- Ensure the URL is from youtube.com
- Check if the video has captions/transcripts
-
AI Service Issues
- Verify you're logged into the AI service
- Check if the service is accessible in your region
- Make sure you have an active subscription
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
- No API keys stored on server
- Local storage for settings
- CORS protection enabled
- Input sanitization
- Secure extension messaging