A lightweight, cross-platform clipboard monitor that automatically summarizes anything you copy using OpenAI chat models.
Perfect for devs, writers, and researchers who want to stay focused while working with long-form content.
# Clone
git clone <repo url>
cd clippilot
# Install
pip install -r requirements.txt
# Configure
cp .env.example .env # then add your OpenAI API key
# Run
python main.py- Real-time monitoring: auto detects new clipboard content
- AI-powered summaries: concise 2-3 bullet takeaways from copied text
- Resilient: handles rate limits, timeouts, and network issues
- Cross-platform: Works on Windows, macOS, and Linux
- Minimal: single script, few dependencies, quick setup
Clipboard Monitor Started...
Press Ctrl+C to stop monitoring
========================================
New clipboard content detected:
Length: 1250 characters
Content: [Your copied text here]
========================================
AI Summary:
--------------------
• Key point 1 about the content
• Key point 2 about the content
• Key point 3 about the content
========================================
- pyperclip: clipboard access
- openai: OpenAI API client
- python-dotenv: environment variable management
| Variable | Description | Required |
|---|---|---|
OPENAI_API_KEY |
Your OpenAI API key | Yes |
"OPENAI_API_KEY not found"
- Ensure your
.envfile exists and contains the API key - Check that the key is valid and has sufficient credits
"Rate limit exceeded"
- Wait a moment before copying new content
- Consider upgrading your OpenAI plan if needed
"Request timed out"
- Check your internet connection
- Try again in a few moments
Contributions welcome! Open an issue or PR.
MIT - feel free to use, modify, and share.
