Skip to content

ruanklein/fortune-bot

Repository files navigation

Fortune BOT

fortune-bot

Generate message from Fortune CLI and post in twitter!

Configure

For all environments

Copy .env.example to .env and type your twitter credentials (and your phone number) on .env.

Local environment

Run yarn to install dependencies:

yarn install

Also, install fortune from package manager. E.g on Debian:

sudo apt install fortune

Docker environment

Build image:

docker build . --no-cache -t bot/fortune

Start

Local environment

Run:

yarn start

For debugging/dev:

yarn dev

Docker environment

Run:

docker run -it --rm --name tweet-fortune bot/fortune

About

From command line to twitter! 🐧

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published