Awesome
<div align="center"> </div> <div align="center"> <img src="https://github.com/PangoraWeb/link-bot/assets/73616169/6bdf131b-d311-4b2e-b0c8-1bf2e3464f0a" width=200px height=200px></img> <h3 align="center"><a href="">RSS Bot</a></h3> <p align="center">A bot for Lemmy and Sublinks that watches rss feeds and posts new posts from them in communities.
</p>
</div>
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)
- Clone the repository
- Create an account in the instance you want the bot to have as its home (just make a regular user)
- 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
- Change the data in config.yaml based on what you want set. Set the communities and feeds you want here
- Open a terminal in the bot folder and run
npm install
to install dependendies and thennode 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 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
Setup with Docker (Option 2)
- Clone the repository
- Create an account in the instance you want the bot to have as its home (just make a regular user)
- 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
- Change the data in config.yaml based on what you want set. Set the communities and feeds you want here
- In the project directory build the docker image by running
docker build -t <your name>/<desired_image_name> .
and then launch a new container withdocker run <your name>/<desired_image_name>
Other Bots
[To be added]