Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/compufox/media-bot
mastodon social media bot that posts specified media at specified times -- mirror of https://dev.focks.website/focks/media-bot
https://github.com/compufox/media-bot
Last synced: about 1 month ago
JSON representation
mastodon social media bot that posts specified media at specified times -- mirror of https://dev.focks.website/focks/media-bot
- Host: GitHub
- URL: https://github.com/compufox/media-bot
- Owner: compufox
- Created: 2023-10-05T16:16:36.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-05T17:27:25.000Z (about 1 year ago)
- Last Synced: 2024-10-12T22:12:34.915Z (2 months ago)
- Language: Common Lisp
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://github.com/roswell/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+