16 lines
442 B
Markdown
16 lines
442 B
Markdown
# Mastodon-Compatible random picture bot
|
|
|
|
Given account credentials and a directory, will post a picture to that account. Simplest possible thing that works.
|
|
|
|
## Installation
|
|
|
|
1. git clone https://git.shipoclu.com/moon/mastodon-picbot
|
|
2. python3 -m venv venv
|
|
3. . activate venv
|
|
4. pip3 install Mastodon.py
|
|
|
|
## Running
|
|
|
|
ACCESS_TOKEN="ToKeNHeRe" SERVER=shitposter.world IMAGE_DIR=/pics_dir venv/bin/python3 mastodon-picbot/picbot.py
|
|
|