{"id":30876209,"url":"https://github.com/xenon1919/gmail-article-summarizer","last_synced_at":"2025-09-08T02:07:59.754Z","repository":{"id":310194797,"uuid":"1039037211","full_name":"xenon1919/gmail-article-summarizer","owner":"xenon1919","description":"An AI-powered article summarizer that sends daily tech news to Gmail","archived":false,"fork":false,"pushed_at":"2025-08-16T10:56:14.000Z","size":54,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-16T12:57:38.067Z","etag":null,"topics":["ai","artificial-intelligence","freeai","gmail","python","rss","tech-news"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xenon1919.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-16T10:47:11.000Z","updated_at":"2025-08-16T10:56:17.000Z","dependencies_parsed_at":"2025-08-16T13:12:03.706Z","dependency_job_id":null,"html_url":"https://github.com/xenon1919/gmail-article-summarizer","commit_stats":null,"previous_names":["xenon1919/gmail-article-summarizer"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/xenon1919/gmail-article-summarizer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xenon1919%2Fgmail-article-summarizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xenon1919%2Fgmail-article-summarizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xenon1919%2Fgmail-article-summarizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xenon1919%2Fgmail-article-summarizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xenon1919","download_url":"https://codeload.github.com/xenon1919/gmail-article-summarizer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xenon1919%2Fgmail-article-summarizer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274121957,"owners_count":25225801,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-08T02:00:09.813Z","response_time":121,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","artificial-intelligence","freeai","gmail","python","rss","tech-news"],"created_at":"2025-09-08T02:07:58.093Z","updated_at":"2025-09-08T02:07:59.747Z","avatar_url":"https://github.com/xenon1919.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📧 Gmail Article Summarizer\n\nA **completely FREE** Python solution that automatically collects articles from the web, summarizes them using free AI alternatives, and sends beautiful email summaries to your inbox.\n\nThis project uses:\n- **Rule-based NLP** (completely free)\n- **Hugging Face Inference API** (free tier)\n- **Ollama** (local AI models, free)\n- **Gmail SMTP** (free with your Gmail account)\n\n## ✨ **Features**\n\n- 🔍 **Smart RSS Monitoring**: Monitors multiple tech RSS feeds\n- 🤖 **Free AI Summarization**: Uses multiple free AI services\n- 📧 **Beautiful Email Delivery**: Sends formatted HTML emails\n- 🎯 **Content Filtering**: Only processes relevant articles\n- 📊 **Relevance Scoring**: Ranks articles by importance\n- 🔄 **Automatic Workflow**: Runs end-to-end without manual intervention\n- 💡 **Key Insights Extraction**: Identifies important points\n- 🎯 **Topic Analysis**: Extracts main themes\n- 📝 **Actionable Takeaways**: Provides next steps\n\n## 🚀 **Quick Start (5 minutes)**\n\n### 1. **Install Dependencies**\n```bash\npython setup_gmail.py\n```\n\n### 2. **Configure Gmail**\n1. Go to [Google Account Security](https://myaccount.google.com/security)\n2. Enable **2-Factor Authentication**\n3. Go to **App passwords** (under 2-Factor Authentication)\n4. Generate a new app password for **Mail**\n5. Copy the 16-character password\n\n### 3. **Set Up Environment**\nEdit the `.env` file with your credentials:\n```env\nGMAIL_USER=your_email@gmail.com\nGMAIL_PASSWORD=your_16_char_app_password\nRECIPIENT_EMAIL=where_to_send@example.com\nHUGGINGFACE_TOKEN=your_huggingface_token_here\n```\n\n### 4. **Run the Script**\n```bash\npython article_summarizer_gmail.py\n```\n\n## 📧 **Real-Time Article Sources**\n\nThe script monitors these live RSS feeds:\n- **TechCrunch** - Latest tech news and startups\n- **The Verge** - Technology, science, and culture\n- **Ars Technica** - Tech analysis and reviews\n- **Wired** - Technology and business news\n- **TechCrunch Feedburner** - Additional tech content\n\n## 🤖 **AI Summarization Options**\n\n### **1. Hugging Face (Recommended)**\n- **Free tier**: 30,000 requests/month\n- **Model**: `facebook/bart-large-cnn`\n- **Setup**: Get token from [Hugging Face](https://huggingface.co/settings/tokens)\n\n### **2. Ollama (Local)**\n- **Completely free**: Run locally\n- **Models**: llama2, mistral, codellama\n- **Setup**: Install [Ollama](https://ollama.ai/)\n\n### **3. Rule-based (Fallback)**\n- **Always works**: No API keys needed\n- **Simple NLP**: Extractive summarization\n- **Reliable**: Works offline\n\n## 📊 **Email Output Format**\n\nEach email contains:\n- 📰 **Article Title** with link\n- 👤 **Author** and **Date**\n- 📝 **AI Summary** (2-3 sentences)\n- 💡 **Key Insights** (important points)\n- 🏷️ **Main Topics** (extracted themes)\n- ✅ **Actionable Takeaways** (next steps)\n- 📊 **Relevance Score** (1-10 rating)\n\n## 🔄 **Automation Setup**\n\n### **Windows Task Scheduler**\n1. Open **Task Scheduler**\n2. Create **Basic Task**\n3. Set trigger (daily, weekly, etc.)\n4. Action: Start a program\n5. Program: `python`\n6. Arguments: `article_summarizer_gmail.py`\n\n### **Manual Runs**\n```bash\n# Run manually anytime\npython manual_run.py\n\n# Or use the batch file\nrun_summarizer.bat\n\n# Or use PowerShell\n.\\run_summarizer.ps1\n```\n\n## 📁 **Project Structure**\n\n```\n📧 Gmail Article Summarizer/\n├── 📄 article_summarizer_gmail.py    # Main script\n├── 📄 setup_gmail.py                 # Setup script\n├── 📄 requirements_gmail.txt         # Dependencies\n├── 📄 README_GMAIL.md               # Detailed documentation\n├── 📄 AUTOMATION_GUIDE.md           # Automation guide\n├── 📄 manual_run.py                 # Manual execution script\n├── 📄 run_summarizer.bat            # Windows batch file\n├── 📄 run_summarizer.ps1            # PowerShell script\n├── 📄 setup_automation.py           # Automation setup\n├── 📄 demo_gmail.py                 # Demo script\n├── 📄 demo_email.html               # Sample email\n├── 📄 test_gmail.py                 # Configuration test\n└── 📄 .env                          # Environment variables\n```\n\n## 🛠️ **Troubleshooting**\n\n### **Gmail Authentication Issues**\n- ✅ Use **App Password** (not regular password)\n- ✅ Enable **2-Factor Authentication**\n- ✅ Check **Less secure app access** is OFF\n- ✅ Verify Gmail address is correct\n\n### **No Articles Found**\n- ✅ Check RSS feed URLs are accessible\n- ✅ Adjust keywords to be less restrictive\n- ✅ Verify internet connection\n- ✅ Check if RSS feeds have recent content\n\n### **Email Not Received**\n- ✅ Check spam/junk folder\n- ✅ Verify recipient email address\n- ✅ Check Gmail app password is correct\n- ✅ Look for error messages in logs\n\n## 💡 **Pro Tips**\n\n### **Optimization:**\n- Start with **daily runs at 9 AM**\n- Monitor log files for any issues\n- Adjust timing based on your schedule\n- Use manual runs for immediate updates\n\n### **Customization:**\n- Modify RSS feeds in `article_summarizer_gmail.py`\n- Adjust keywords for different topics\n- Change email template styling\n- Add more recipients\n\n## 🎉 **Success!**\n\nYou now have a fully automated, FREE article summarization system that:\n- ✅ Monitors tech RSS feeds automatically\n- ✅ Uses free AI for intelligent summarization\n- ✅ Sends beautiful email summaries\n- ✅ Works completely offline (with rule-based fallback)\n- ✅ Requires no paid subscriptions\n- ✅ Is easily customizable and extensible\n\n**Happy summarizing! 📰✨**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxenon1919%2Fgmail-article-summarizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxenon1919%2Fgmail-article-summarizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxenon1919%2Fgmail-article-summarizer/lists"}