Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 760 Bytes

README.md

File metadata and controls

28 lines (22 loc) · 760 Bytes

osr2mp4-bot

A Reddit bot that records and uploads videos of osu! replays. See /u/osu-bot. This is just a thin wrapper around osr2mp4, all credit belongs there.

Most of its work is done automatically, but you can also trigger it manually by commenting /u/osu-bot record on a score post.

Dev Notes

Environment variables that need to be set in .env:

  • REDDIT_CLIENT_ID
  • REDDIT_CLIENT_SECRET
  • REDDIT_PASSWORD
  • REDDIT_USERNAME
  • REDDIT_USER_AGENT
  • OSU_API_KEY
  • OSU_USERNAME
  • OSU_PASSWORD
  • ORDR_API_KEY
  • SERVER_ADDR
docker-compose build
docker-compose run -u root worker sh -c 'chown 1000 $LOG_DIR'
docker-compose up -d --scale worker=4