================
A bot that scrapes news articles from RSS feeds, generates AI-powered summaries, and posts the summaries and links to Lemmy.
This bot uses Natural Language Processing (NLP) and web scraping techniques to:
- Fetch RSS feeds from specified news sources
- Scrape the article content from the RSS feed entries
- Generate a concise summary of the article content using AI
- Post the summary and link to the original article on Lemmy
- Fetches news articles from multiple RSS feed sources
- Generates AI-powered summaries of the article content
- Automatically posts summaries and links to Lemmy with Markdown formatting
- clone the repo
git clone https://github.com/muntedcrocodile/ai_news_bot.git
- copy
.env.example
to.env
and fill in the configuration in.env
as required
cp .env.example .env
- Deploy with docker
docker compsoe up
- Add RSS feeds
docker exec -it ai_news_bot-ainewsbot_app-1 python add_feed.py --rss "<rss>" --name "<Name>"
- Review summaries for posting (optional depending on config)
docker exec -it ai_news_bot-ainewsbot_app-1 python review.py
- Add an LLm acting as a filter to remove any ads that have snuk their way into the summary, (perhaps use adblocked html loder)
- Summarise all articles for the day/week/month/year to make a daily brief
- Generate argument of for and against perspective then summarise the result of the 2 arguments
- Generate embeddings to perform content grouping/simmilarity (find the missing perspectives on an issue etc) and politicla alligmnent information
- Set up the bot to fetch RSS feeds from a popular news site
- Run the bot to generate and post summaries to a Lemmy Community e.g. [email protected]
- Write some code
- Make a pull request
- Toot me if you got any question @[email protected]
This project was inspired by LemmyAutoTldrBot.