openbsd-commits-to-mastodon

A script that toots each and every OpenBSD commits. It's based on the work and idea of afresh1 for twitter

You can follow these accounts:

See each script for their authors and licenses.

Maintenance

Create a docker image

$ docker build . -t obsdcommits:XXX && DOCKER_UPLOAD obsdcommits:XXX

In a docker-compose file

  obsdcommits:
    image: r.chown.me/obsdcommits:XXX
    restart: always
    env_file: .env.obsdcommits
    security_opt:
      - "no-new-privileges:true"
    cap_drop:
      - ALL

The .env.obsdcommits file is something like

PG_HOST=10.10.10.42
PG_PASSWORD=hunter2

To fill the credentials sql table, use

$ docker-compose run --rm obsdcommits python createsecret.py
# or
$ docker run -it --rm obsdcommits:16 python createsecret.py