Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/programming-dot-dev/rss-bot
A lemmy/sublinks bot that watches rss feeds and posts new posts from them in communities
https://github.com/programming-dot-dev/rss-bot
fediverse fediverse-bot javascript lemmy lemmy-bot programming-dot-dev sublinks sublinks-bot
Last synced: 2 months ago
JSON representation
A lemmy/sublinks bot that watches rss feeds and posts new posts from them in communities
- Host: GitHub
- URL: https://github.com/programming-dot-dev/rss-bot
- Owner: programming-dot-dev
- License: agpl-3.0
- Created: 2023-06-21T15:30:28.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-21T14:54:29.000Z (11 months ago)
- Last Synced: 2024-08-03T17:09:09.925Z (6 months ago)
- Topics: fediverse, fediverse-bot, javascript, lemmy, lemmy-bot, programming-dot-dev, sublinks, sublinks-bot
- Language: JavaScript
- Homepage:
- Size: 130 KB
- Stars: 31
- Watchers: 2
- Forks: 7
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-lemmy - rss-bot - dot-dev/rss-bot) ![GitHub commit activity](https://img.shields.io/github/commit-activity/y/programming-dot-dev/rss-bot) (Projects / Tools)
- awesome-starred - programming-dot-dev/rss-bot - A lemmy/sublinks bot that watches rss feeds and posts new posts from them in communities (JavaScript)
- awesome-starred - programming-dot-dev/rss-bot - A lemmy/sublinks bot that watches rss feeds and posts new posts from them in communities (JavaScript)
README
![GitHub tag (latest SemVer)](https://img.shields.io/github/release/programming-dot-dev/rss-bot.svg?style=for-the-badge)
[![License](https://img.shields.io/github/license/programming-dot-dev/rss-bot.svg?style=for-the-badge)](LICENSE)
![GitHub stars](https://img.shields.io/github/stars/programming-dot-dev/rss-bot.svg?style=for-the-badge)
RSS Bot
A bot for Lemmy and Sublinks that watches rss feeds and posts new posts from them in communities.
## About
This is a bot that watches rss feeds and posts new posts from them in communities## Prerequisites
- You need to have installed node.js or Docker in order to run the bot## Setup with Node.js (Option 1)
1. Clone the repository
2. Create an account in the instance you want the bot to have as its home (just make a regular user)
3. Create a file called .env in the bot folder and give it values in this format with the data in the quotes (dont add the slashes or the part after the slashes)
```
LEMMY_INSTANCE="" // The instance the bot account is in
LEMMY_USERNAME="" // The bot username
LEMMY_PASSWORD="" // The bot password
```
4. Change the data in config.yaml based on what you want set. Set the communities and feeds you want here
5. Open a terminal in the bot folder and run `npm install` to install dependendies and then `node main.js` to run the bot (whenever you want to start the bot again you can just do ctrl+c to interrupt the process and node main.js to start the bot)I recommend installing something like [forever.js](https://www.npmjs.com/package/forever) which will make it start back up again if it errors at some point
If you run into issues feel free to dm me on Matrix [here](https://matrix.to/#/@ategon:matrix.org)
## Setup with Docker (Option 2)
1. Clone the repository
2. Create an account in the instance you want the bot to have as its home (just make a regular user)
3. Create a file called .env in the bot folder and give it values in this format with the data in the quotes (dont add the slashes or the part after the slashes)
```
LEMMY_INSTANCE="" // The instance the bot account is in
LEMMY_USERNAME="" // The bot username
LEMMY_PASSWORD="" // The bot password
```
4. Change the data in config.yaml based on what you want set. Set the communities and feeds you want here
5. In the project directory build the docker image by running `docker build -t / .` and then launch a new container with `docker run /`# Other Bots
[To be added]