Sign inSign up

garsaud/stackoverflow-fanatic-badge

By garsaud

•Updated over 5 years ago

An automated way to get the fanatic badge 🥇

Image
0

6.4K

garsaud/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

484.5 MB

Last updated

over 5 years ago

docker pull garsaud/stackoverflow-fanatic-badge