This commit is contained in:
Moon Man 2024-12-15 20:46:59 +00:00
parent 1751eb9be2
commit 5fd5e1684c
1 changed files with 5 additions and 4 deletions

View File

@ -4,11 +4,12 @@ Given account credentials and a directory, will post a picture to that account.
## Installation ## Installation
python3 -m venv venv 1. git clone https://git.shipoclu.com/moon/mastodon-picbot
. activate venv 2. python3 -m venv venv
pip3 install Mastodon.py 3. . activate venv
4. pip3 install Mastodon.py
## Running ## Running
ACCESS_TOKEN="ToKeNHeRe" SERVER=shitposter.world IMAGE_DIR=/pics_dir venv/bin/python3 picbot.py ACCESS_TOKEN="ToKeNHeRe" SERVER=shitposter.world IMAGE_DIR=/pics_dir venv/bin/python3 mastodon-picbot/picbot.py