Sign inSign up

codedge/stackoverflow-fanatic-badge

By codedge

Updated over 6 years ago

Image
0

139

codedge/stackoverflow-fanatic-badge repository overview

StackOverflow Fanatic Badge Achiever 🥇

An automated way to get the "fanatic" badge, by running a node bot in a docker container that will log into your account everyday and send reports of your progression.

Requirements

  • docker, preferably on a vps that can run it for 100 days straight
  • a stackoverflow account
  • a mailgun account

Setup

There are three ways to configure it.

With a config file

Create a conf.json file based on conf.example.json and mount it as a volume into the container:

docker run -d -v path/to/conf.json:/conf.json \
    --name fanatic-bot \
    garsaud/stackoverflow-fanatic-badge

Mailgun domain setup: If you use an EU domain, please set mailgun_eu_domain to y.

Through the interactive mode

Build the config file answering questions:

touch conf.json
docker run --rm -it -v ${PWD}/conf.json:/conf.json \
    garsaud/stackoverflow-fanatic-badge configure

Then launch the bot:

docker run -d -v ${PWD}/conf.json:/conf.json \
    --name fanatic-bot \
    garsaud/stackoverflow-fanatic-badge

With inline arguments

If you don’t mind inline passwords, it is possible to configure and launch the bot in one command:

docker run -d -it --name fanatic-bot \
    garsaud/stackoverflow-fanatic-badge configure-and-launch \
    --login "[email protected]" \
    --password "your slackoverflow password" \
    --mailgun_api_key "key-xxxxx" \
    --mailgun_domain "xxxxx.mailgun.org" \
    --mailgun_eu_domain "n" \
    --from "[email protected]" \
    --to "[email protected]" \
    --subject "[CRON] StackOverflow fanatic badge report"

Tag summary

Content type

Image

Digest

Size

448.8 MB

Last updated

over 6 years ago

docker pull codedge/stackoverflow-fanatic-badge