From 791acc572aba2e5e4a90bc6c29010e76d5e5a0d9 Mon Sep 17 00:00:00 2001 From: Anon Date: Thu, 14 Jul 2022 13:11:32 -0700 Subject: [PATCH] Updated documentation --- README.md | 66 ++++++++++++++----------------------------------------- 1 file changed, 16 insertions(+), 50 deletions(-) diff --git a/README.md b/README.md index 7786660..8dadde3 100644 --- a/README.md +++ b/README.md @@ -1,52 +1,32 @@ # Readme Yandere Lewd Bot is a customizable, no frills image-posting bot for Pleroma. -A live example can be viewed at [Neckbeard.xyz](https://neckbeard.xyz/YandereLewdBot). +A live example can be viewed at [GNU/Yandere](https://yandere.cc/YandereLewdBot). Currently the bot will only run on Linux. I believe it should run on most distros but I have only tested it on Arch and Raspbian. -## Usage -```text -usage: main.py [--dry-run] [--debug] [-w WAIT] [-t TIME] [-d DATE] [-c CONFIG] - [-o] [-h] - -A bot for posting on Mastodon - -optional arguments: - --dry-run Will not login or post to Plemora - --debug Same as --dry-run - -w WAIT, --wait WAIT Wait before posting first image (seconds) - -t TIME, --time TIME Wait for time before posting first image - -d DATE, --date DATE Wait for date before posting first image - -c CONFIG, --config CONFIG - Set custom config file (Default: cfg) - -o, --output-hashes Output list of hashes - -h, --help Show this help message and exit - - TIME %I:%M%p 03:58PM - DATE %m/%d/%Y 11/26/2021 -``` - ## About Yandere Lewd Bot is designed to be simple to understand (from a technical perspective) and easy to modify/extend. Yandere Lewd Bot relies on GNU formatted hash files to configure and organize posts (from the GNU coreutils package): (ex. `26d00a6ee5ae8fa3d58ee44b32b8992f *./rsc/nsfw/image.jpg`) -The bot is still in development and can easily be crashed by writing a poorly configured `cfg.py` file, or messing with the hash files it uses to configure posts. +The bot is still in development and can easily be crashed by writing a poorly configured `cfg.py` file, or messing with the hash files it uses to configure posts. The bot may also crash with encoding errors for files with non-unicode filenames. ## Installing To setup the python3 environment (for Arch Linux) run the following commands: ``` sudo pacman -Syu sudo pacman -S --needed python git -git clone 'https://github.com/YandereLewdBot/YandereLewdBot.git' +git clone 'https://git.yandere.cc/Anon/YandereLewdBot.git' cd yandereLewdBot/ python -m venv venv source ./venv/bin/activate pip install --upgrade pip -pip install -r requierements.txt +pip install -r requirements.txt deactivate -cp ./bin/cfg_default.py ./bin/cfg.py -