panda-sandeep/epigram
Tentang
Berita singkat yang gratis, open source, dan didukung AI
AI dan pembelajaran mesinYang dapat Anda lakukan
- 🎯 Personalized News Feed - Get a curated news feed based on your preferences and interests
- 🤖 AI-powered Summaries - Get concise news summaries and in-depth analysis
- ✅ Trusted Sources - Access news from reputable sources worldwide
- 🎨 User-friendly Interface - Enjoy a sleek, intuitive interface designed for a seamless reading experience
Pertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- -1
- dalam 15 hari
- -1
- dalam 1 bulan
- -3
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
Asli
Epigram
Open-Source, Free, and AI-Powered News in Short.
Features • Tech Stack • Getting Started • Deployment • Contributing
Built by humans, optimized by AI, with ❤️ from SF.
🎯 Overview
Epigram simplifies the way you stay informed. With AI, it delivers quick, clear summaries from reliable sources, so you get the news without the overwhelm. For more details, dive into deeper analysis or explore topics you care about — all in a feed tailored to your interests.
Our goal is to use AI to make quality news easy to access, understand, and personalize. We're focused on connecting you with trusted sources while cutting through the noise, so you get the information that matters most.
✨ Features
- 🎯 Personalized News Feed - Get a curated news feed based on your preferences and interests
- 🤖 AI-powered Summaries - Get concise news summaries and in-depth analysis
- ✅ Trusted Sources - Access news from reputable sources worldwide
- 🎨 User-friendly Interface - Enjoy a sleek, intuitive interface designed for a seamless reading experience
- 📱 Responsive Design - Access Epigram on any device, anywhere, anytime (Add to home screen on Safari!)
- 🔍 AI Deep dive - Get in-depth analysis of news articles using AI
🛠️ Tech Stack
- Next.js - React framework for production
- Exa - AI-powered news summaries
- Google Cloud Run - Serverless deployment
- AI SDK & OpenAI - AI analysis with
gpt-4o-mini - Mediastack - News data API
- Upstash - Redis for caching and rate limiting
🚀 Getting Started
Prerequisites
- Node.js 20+
- npm or yarn
- Git
Installation
Clone the repository:
git clone https://github.com/panda-sandeep/epigramNavigate to the project directory:
cd epigramInstall dependencies:
npm installSet up environment variables: Copy
.env.exampleto.env.localand configure:MEDIASTACK_API_KEY=your_mediastack_api_key EXA_API_KEY=your_exa_api_key OPENAI_API_KEY=your_openai_api_key BASE_URL=http://localhost:3000 UPSTASH_REDIS_REST_URL=your_upstash_redis_rest_url UPSTASH_REDIS_REST_TOKEN=your_upstash_redis_rest_token PER_TOPIC_NEWS_LIMIT=5 NEXT_PUBLIC_GA_ID=your_google_analytics_id EPIGRAM_SECRET_HEADER_NAME=X-Epigram-Secret EPIGRAM_CRON_SECRET=your_cron_secretStart development server:
npm run devPopulate news data:
curl --header "X-Epigram-Secret: <your-secret>" http://localhost:3000/api/news/populateView the app: Open http://localhost:3000 in your browser
📦 Deployment
Install dependencies:
npm installBuild for production:
npm run buildStart production server:
npm start
Note: Set up a cron job to periodically hit
/api/news/populatefor fresh news content.
Deploy to any platform supporting Next.js:
🤝 Contributing
We welcome contributions! Here's how you can help:
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
You can also:
📝 License
This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0) - see the LICENSE.md file for details.
Jelajahi proyek terkait
Memuat…