An AI-powered newsletter generator that makes staying informed fun and accessible. In today's fast-paced world, where attention spans are shrinking and information overload is common, young people often struggle to keep up with important news and developments. Daily Meme Digest bridges this gap by transforming complex news articles into engaging memes, making it easier for everyone to stay informed about the latest trends and events.
Using cutting-edge AI technologies, the project generates memes that capture the essence of trending topics, helping users stay up-to-date with the state of the art in various fields. Choose between cloud mode (using OpenAI API) or local mode (using Stable Diffusion) for meme generation.
- 📰 Automated news article collection using NewsAPI
- 🤖 AI-generated meme prompts based on trending topics
- 🎨 High-quality meme generation using either OpenAI or Stable Diffusion
- 📊 Real-time analytics and database tracking
- 🌐 Two operating modes: Cloud (OpenAI) or Local (Stable Diffusion)
- 🔄 Dynamic meme generation based on current news
Detailed setup and running instructions are available in the RUN.md file.
- Python 3.8+
- NEWS_API_KEY (Free from https://newsapi.org/)
- GEMINI_API_KEY (Free from https://aistudio.google.com/apikey)
- OPENAI_API_KEY (Paid from https://platform.openai.com/settings/organization/api-keys)
- Stable Diffusion dependencies (see RUN.md)
- GPU recommended for better performance
app.py
- Main Flask applicationsrc/
- Core functionalitynews_aggregator.py
- News collectionfilter_top_k.py
- Article filteringprompt_generator.py
- Meme prompt generationmeme_generator.py
- Cloud meme generationmeme_generator_local.py
- Local meme generation
database/
- Data storage
See RUN.md for detailed running instructions.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- NewsAPI for news aggregation
- OpenAI for cloud meme generation
- Stable Diffusion for local meme generation
- Google Gemini for AI assistance