NarrateNews: A News Summarization and Audio Conversion Application
NarrateNews is a modern web application designed to fetch news articles from RSS feeds, summarize them using AI models, and convert the summaries to audio files. It features a modern web interface for easy interaction and management of your news library.
- Fetches news articles from specified RSS feeds
- Summarizes articles using AI models (configurable, default is Gemini Flash 1.5 via OpenRouter)
- Converts summaries to audio files using multiple text-to-speech providers (ElevenLabs and Neets.ai)
- UI:
- Library
- Audio player
- Settings
- Create a
.env
file in your project directory:
- OPENAI_API_KEY=
- ELEVEN_API_KEY=
- ELEVENLABS_VOICE_ID=
- ANTHROPIC_API_KEY=
- OPENAI_API_KEY=
- NEETS_API_KEY=-
- OPENROUTER_API_KEY=
To start, Use your ElevenLabs or a Neets API key (it's free to start) and an OpenRouter API key (access to most models/providers).
- Install Python dependencies:
pip install -r requirements.txt
- Install Node.js dependencies:
cd narrate-news-web
npm install
python start.py
This will start both the API server and web interface. The application will be available at:
- Web UI: http://localhost:3000
- API: http://localhost:8000
You can customize the application by:
- Modifying RSS feeds in
config.py
- Adjusting default settings in
config.py
- Customizing the web interface in the
narrate-news-web
directory
This application uses third-party APIs and services (ElevenLabs, Neets.ai, OpenAI, etc.). Ensure you comply with their respective usage policies and terms of service.
Please fork the repository, make your changes, and submit a pull request.
- different input types
- library search
- free TTS
- mobile support
- GraphRAG
MIT-NC License
Copyright (c)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, and distribute the Software, subject to the following conditions:
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
The Software may not be used for commercial purposes. Commercial purposes include, but are not limited to:
- Using the Software for commercial advantage or monetary compensation
- Integrating the Software into a commercial product or service
- Using the Software in a business environment
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.