Tagadda b5500ae18e Unfollow everybody from an instance when blockdomain 10 months ago
commands Unfollow everybody from an instance when blockdomain 10 months ago
.gitignore First commit 10 months ago
CommandBase.js Implements commands 10 months ago
LICENSE Add LICENSE 10 months ago
README.md Listen reblogs 10 months ago
bot.js formatting, rearrange, doc 10 months ago
config.json.example formatting, rearrange, doc 10 months ago
index.js Unfollow a user if them has changed their mind about the #nobot tag 10 months ago
package.json Listen reblogs 10 months ago

README.md

Federation Bot

This is a work in progress.

DISCLAIMER : Running a Federation Bot might not be a good thing. Some instances admins consider that inappropriate. Please, be kind and mute their instance with the bot account so the bot won't follow their users.

This is a Federation Bot working with the Mastodon API.

This bot listens on the Federated Timeline and follows everyone. It also listen reblogs.

This bot respect the #nobot tag.

If you don't want to be followed by the bot anymore, just DM "unfollow" to the bot, and it'll never follow you again.

Commands

  • unfollow : The bot will unfollow and mure you so it'll never follow you again.
  • muteuser user@domain.tld : The bot will mute the targeted user. Admin only.
  • blockdomain domain.tld : The bot will mute the targeted domain. Admin only.

Running the bot

git clone http://git.cant.at/Tagada/FederationBot.git
cd FederationBot/
npm install
cp config.json.example config.json
vi config.json

Edit the config.json.

node index.js