From 4190057b3cbcc8e2a5e12b0c886614c160a53ff4 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Sat, 5 Sep 2020 14:43:07 +0300 Subject: Ask for Matrix access token on first run --- README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index a5a08de..0020da3 100644 --- a/README.md +++ b/README.md @@ -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 ` - * 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 ` + * 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. -- cgit v1.2.3