Skip to content

⚫🌈βšͺ A Mastodon bot that grabs colours contrast combos Inspired by and code stolen from: randoma11y.com

Notifications You must be signed in to change notification settings

zoetrope69/random-color-contrasts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

15 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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 @randomColorContrasts@botsin.space.

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!

About

⚫🌈βšͺ A Mastodon bot that grabs colours contrast combos Inspired by and code stolen from: randoma11y.com

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •