Skip to content

vitorduarte/coloryeezy

Repository files navigation

coloryeezy 🎨👟

The ColorYeezy project is a bot that generate random colorways for Mr. West's sneakers. We post the results every hour on Twitter. It's the exact opposite of what sneaker-related bots do. We don't take from the community. We're making more colorways for people to discuss and to enjoy seeing them.

It's like having 24 drops a day!

Pre requisites

Setup

Create a .env file with the following parameters

Parameter Description
API_KEY API Key of Twitter API
API_SECRET_KEY API Secret Key of Twitter API
ACCESS_TOKEN Access Token of Twitter API
ACCESS_TOKEN_SECRET Access Token Secret of Twitter API

Config

This project could be used to paint other images too. You just need to modify the configuration file ./config.json. Its structure has the following properties:

  • template: The path of the template file that will be painted.
  • masks: List of masks that will be used to guide the paint process. It has to be a transparent png image with the area that will be painted filled with some color.
    • path: The path of mask image.
    • color: The color that will be used to paint the image on mask area. It should be a hex string (#xxxxxx or #xxx) or "random" which means that the color will be randomly generated.

Running the project

To run the project in your machine, first run the following comand to get the project dependencies:

go mod download

After that, run the project:

go run .

Docker

You can run the project using docker, just run the following command:

docker-compose up

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages