Go to file
Kay Faraday 285610667b use v1 API for posting images instead of v2
Apparently even when using the v2 API, which returns image IDs before they're finished processing, you have to wait for them to finish before attaching them to a post, which defeats the purpose. Use v1 API to avoid this.
2022-07-03 01:39:58 +00:00
.gitignore gitignore __pycache__/ 2022-07-02 23:06:45 +00:00
LICENSE.md add readme and license 2022-05-20 01:49:30 +00:00
README.md update README 2022-07-03 00:19:56 +00:00
config.example.toml initial commit 2022-05-20 01:28:46 +00:00
mirror_bot.py handle rate limits 2022-07-02 23:35:16 +00:00
pleroma.py use v1 API for posting images instead of v2 2022-07-03 01:39:58 +00:00
requirements.txt mirror all posts since last ran (fixes #1) 2022-06-28 04:45:22 +00:00
utils.py remove a debug print 2022-07-03 00:19:14 +00:00

README.md

mirror-bot

Simple fedi bot which mirrors posts from another fedi account. It's designed for cases when you want to defederate an entire instance except one account, or for evading blocks from accounts you want to follow.

Installation

$ python -m venv .venv
$ . .venv/bin/activate
$ pip install -Ur requirements.txt
$ cp config.example.toml config.toml
$ # fill out config.toml as needed
$ ./mirror_bot.py

Every time you run mirror_bot.py, all posts since the last run will be mirrored.

License

AGPL-3.0-only, see LICENSE.md.