Twitter/Mastodon bot that tweets Dorothy Parker quotes.
This project is designed to run with docker, so be sure to have Docker installed locally. It uses an Alpine based Docker image and is designed to run as a cloud function on Google Cloud Platform.
Be sure to set up your ENV variables and in a separate file, an example docker.env
is provided for reference. Each specific service can be enabled/disabled via the TWITTER_ENABLED
and MASTODON_ENABLED
variables.
docker build -t robo-dorothy .
docker run --env-file docker.env -p 8080:8080 robo-dorothy
curl -XPOST "http://localhost:8080