Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 857 Bytes

README.md

File metadata and controls

29 lines (17 loc) · 857 Bytes

random color contrast bot

⚫🌈⚪ A Mastodon bot that grabs colours contrast combos

Inspired by and code stolen from: randoma11y.com

How does the bot work?

You can follow the bot on @[email protected].

When you post any media (images and videos) without text descriptions it will respond with a message.

Installing the bot

  1. Install dependancies
npm install
  1. Create a Mastodon application and get the access token

    You can do this from the settings in Mastodon. There's a 'Development' section. Give the bot all permissions.

  1. Add environment variables
  • MASTODON_API_URL is the URL for the instance you're on.
  • MASTODON_ACCESS_TOKEN is the access token from the previous step
  1. Run the application!