DotNetSocialBot icon indicating copy to clipboard operation
DotNetSocialBot copied to clipboard

A Mastodon bot that can boost a community

This repo is no loger actively maintained, as the https://dotnet.social Mastodon community took ownership of the bot and the code. Development of the bot continues at this fork: https://github.com/dotnet-social/bot

dotnet.social Mastodon bot

This is the code for the Mastodon bot @[email protected]. Its goal ist to help grow and connect the .NET community on Mastodon by boosting posts that talk about .NET.

The code is generic and could be used for any kind of bot that should boost posts, not just about .NET.

The bot runs as an Azure function and boosts posts

  • where the bot was @ mentioned,
  • that contain at least one # hashtag that the bot follows,
  • that has a boost request reply, i.e. a reply with the message boost this! (or similar)

Posts are generally only boosted if the post to boost

  • does not come from this bot account itself,
  • does not come from any account that is marked as a bot,
  • is not a direct message,
  • is not a reply

Contribution

I am aware that this little experiment is a rather naive implementation. Any kind of contribution to make this bot better is welcome.

Thanks