Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zoetrope69/random-color-contrasts

⚫🌈⚪ A Mastodon bot that grabs colours contrast combos Inspired by and code stolen from: randoma11y.com
https://github.com/zoetrope69/random-color-contrasts

a11y accessibility bot color-contrast mastodon random

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# random color contrast bot

⚫🌈⚪ A Mastodon bot that grabs colours contrast combos

Inspired by and code stolen from: [randoma11y.com](https://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

```bash
npm install
```

2. 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.

3) 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

4. Run the application!