Mastodon RSS Bot is a customizable bot that reads news from an RSS feed and posts them automatically to a Mastodon account. Perfect for bloggers and content creators, the bot keeps your followers up-to-date with the latest news in your field.
To set up the bot, modify the MastodonAPI.json file in the Configuration folder and fill it with the following information:
{
"MastodonInstance": "mastodon.social", //Change this to your mastodon instance if necessary
"MastodonAppID": "PUT_HERE_YOUR_APP_ID",
"MastodonAccessToken": "PUT_HERE_YOUR_ACCESS_TOKEN"
}
Replace PUT_HERE_YOUR_APP_ID with your Mastodon app ID, and PUT_HERE_YOUR_ACCESS_TOKEN with your Mastodon access token. If necessary, change mastodon.social to your Mastodon instance.
You can also modify the RssList.json file in the Configuration folder to track the RSS feeds you want. Simply add the URL of the RSS feed to the list, and the bot will automatically start posting new articles to your Mastodon account.
To use the bot, simply run the MastodonRssBot executable. The bot will periodically check for new articles in the RSS feeds and post them to your Mastodon account.
- Download the latest release from the releases page.
- Extract the zip file to a directory of your choice.
- Navigate to the
MastodonRssPosterdirectory. - Open the
Configurationdirectory and modify theMastodonAPI.jsonandRssList.jsonfiles to your liking. - Run the
MastodonRssPosterexecutable. The bot will now start running.
- .NET 6 must be installed on the machine for the bot to work. Please make sure you have .NET 6 installed before running the bot.
To run the bot on a Raspberry Pi, follow these steps:
- Install .NET on your Raspberry Pi by following the instructions on this blog post.
- Download the latest release for ARM from the releases page.
- Extract the zip file to a directory of your choice.
- Navigate to the
MastodonRssPosterdirectory. - Open the Configuration directory and modify the
MastodonAPI.jsonandRssList.jsonfiles to your liking. - Run the
MastodonRssPosterexecutable. The bot will now start running.
This project is pending testing.
This project is licensed under the MIT License.
If you have any questions or comments, you can contact me through my Mastodon account: 🐘 mastodon.social@NoticiasTecnologicasBot.
Also, feel free to check out the bot in action from there!
This project was made with the help of ChatGPT, a language model developed by OpenAI. Thank you, ChatGPT! 🤖💙
