29 lines
671 B
Markdown
29 lines
671 B
Markdown
# matrix-emoji-autoupload
|
|
|
|
Automated emoji uploader for Matrix.
|
|
|
|
Very janky and without any guarantees.
|
|
|
|
## Usage
|
|
|
|
A [venv](https://docs.python.org/3/library/venv.html) setup is recommended.
|
|
|
|
Install dependencies:
|
|
|
|
`pip -r requirements.txt`
|
|
|
|
Run as a CLI command:
|
|
|
|
* Please note the handle has to be in the format `@user:instance.org`
|
|
|
|
```
|
|
python main.py [-h] --tag TAG --token TOKEN --instance INSTANCE emoji_file [emoji_file ...]
|
|
|
|
positional arguments:
|
|
emoji_file a list of files to upload
|
|
|
|
options:
|
|
--tag TAG the Matrix handle of the user
|
|
--token TOKEN a Matrix account bearer token
|
|
--instance INSTANCE a Matrix instance domain
|
|
``` |