|
|
||
|---|---|---|
| .forgejo/workflows | ||
| autopat | ||
| .gitignore | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| poetry.lock | ||
| pyproject.toml | ||
| README.md | ||
autopat
automatic patmoji generator,
usage
requirements: poetry, as it's used for managing python packages,
-
install dependencies
poetry install -
create
users.tomlfile listing emote name and an username, with optional aliases[emojis] pats_sugar = { account = "sugar@sylveon.social", aliases = ["patsSugar"] } pats_sugarLabyrinth = "sugar@labyrinth.zone" -
run a script to generate zip file
poetry run autopat -
import generated zip file in misskey's control panel
automatic submission
when using newest modern misskey or sharkey, patmoji generator can be
configured to automatically add emojis on an instance by running
poetry run autopat login https://example.com, where https://example.com
is your instance url
this will open a web browser which will allow you to grant only the necessary permissions - drive access to allow uploading emojis, and managing emojis for creating and modifying them
iceshrimp
iceshrimp doesn't provide MiAuth permissions necessary for login command
to work, which means it's necessary to extract a token from browser cookies
after getting the token, it's possible to add an upload section to
users.toml file like the following one
[upload]
type = "iceshrimp"
hostname = "https://example.com/"
token = "your-token-here"