Play hangman on Twitter
Ensure the dotenvtemplate is filled out and saved as .env
.
npm install
node dist
Or run as a Docker container:
docker image build -t fdebijl/galgjebot .
docker container run --detach --name galgjebot fdebijl/galgjebot
You will need a set of API keys from Twitter in order to actually send out the hangman Tweets. You can get these from the Twitter Developer site. These keys are picked up from the following environment variables:
CONSUMER_KEY
CONSUMER_SECRET
ACCESS_TOKEN
ACCESS_TOKEN_SECRET
dotenv is included as a devDependency, it is recommended to use a .env
file for local testing. See /src/config.ts
for other relevant environment variables, such as the MongoDB connection string.