Go to file
a. fox 7b2b17ed6d updated example config 2023-10-05 13:04:40 -04:00
.gitignore first push 2023-10-05 12:14:07 -04:00
Makefile first push 2023-10-05 12:14:07 -04:00
README.md first push 2023-10-05 12:14:07 -04:00
example.config updated example config 2023-10-05 13:04:40 -04:00
media-bot.asd first push 2023-10-05 12:14:07 -04:00
media-bot.lisp first push 2023-10-05 12:14:07 -04:00

README.md

media-bot

a. fox

a mastodon bot that will post provided media files at specified days and times

Usage

Usage: media-bot [-c|--config ARG] [-h|--help] [-a|--alt-text ALT-TEXT]
                 [-m|--media MEDIA] [-d|--day DAY] [-t|--time TIME] [-v|--visibility VISIBILITY]
                 [-s|--sensitive] [--version]

Available options:
  -c, --config ARG            config file to use
  -h, --help                  prints this help
  -a, --alt-text ALT-TEXT     alt text to post for supplied media
  -m, --media MEDIA           media to post
  -d, --day DAY               day to make the post
  -t, --time TIME             time to make the post in the format HH:MM
  -v, --visibility VISIBILITY
                              visibility of post (defaults to unlisted)
  -s, --sensitive             if provided, the media will be marked as sensitive when posted
  --version                   prints the version

Example Usage

To post a video with alt text every thursday at 11:00am:

$ ./media-bot -c your.config --day thursday --time 11:00 --media video.mp4 --alt-text "this is the media alt text"

To post a photo publically, but mark it sensitive:

$ ./media-bot -c your.config -d Sunday -t 20:00 -m photo.png --visibility public --sensitive

Building

  1. Install roswell
  2. $ mkdir ~/common-lisp && git clone https://dev.focks.website/focks/media-bot ~/common-lisp/media-bot
  3. $ cd ~/common-lisp/media-bot && make

License

NVPLv1+