diff options
| author | Tulir Asokan <tulir@maunium.net> | 2020-09-05 14:43:07 +0300 |
|---|---|---|
| committer | Tulir Asokan <tulir@maunium.net> | 2020-09-05 14:43:07 +0300 |
| commit | 4190057b3cbcc8e2a5e12b0c886614c160a53ff4 (patch) | |
| tree | 96bfbca72b9b4195b6a4a1ddc5265110e25455fd /README.md | |
| parent | d698f058b51597a419910cb70b72495f8328c817 (diff) | |
Ask for Matrix access token on first run
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -6,11 +6,10 @@ A fast and simple Matrix sticker picker widget. Tested on Element Web & Android. 1. Create with `virtualenv -p python3 .` 2. Activate with `source ./bin/activate` 2. Install dependencies with `pip install -r requirements.txt` -3. Copy `example-config.json` to `config.json` and set your homeserver URL and access token - (used for uploading stickers to Matrix). -4. Run `python3 import.py <pack urls...>` - * On the first run, it'll prompt you to log in with a bot token or a telegram account. - The session data is stored in `sticker-import.session` by default. +3. Run `python3 import.py <pack urls...>` + * On the first run, it'll prompt you to log in to Matrix and Telegram. + * The Matrix URL and access token are stored in `config.json` by default. + * The Telethon session data is stored in `sticker-import.session` by default. * By default, the pack data will be written to `web/packs/`. * You can pass as many pack URLs as you want. * You can re-run the command with the same URLs to update packs. |
