feat: Update pantalaimon-related scripts and configuration**
All checks were successful
Docker CI/CD / Docker Build and Push to Docker Hub (push) Successful in 8m44s

Renamed `pantalaimon_first_login.py` to `fetch_access_token.py` to better reflect its purpose. Additionally, updated README to remove obsolete instructions for using pantalaimon with the bot.
This commit is contained in:
Kumi 2024-05-10 17:27:30 +02:00
parent b88afda558
commit f6a3f4ce66
Signed by: kumi
GPG key ID: ECBCC9082395383F
4 changed files with 3 additions and 17 deletions

View file

@ -86,14 +86,9 @@ file attachments, especially in rooms that are not encrypted, if the same
user also uses the bot in encrypted rooms. user also uses the bot in encrypted rooms.
The bot itself does not implement end-to-end encryption. However, it can be The bot itself does not implement end-to-end encryption. However, it can be
used in conjunction with [pantalaimon](https://github.com/matrix-org/pantalaimon), used in conjunction with [pantalaimon](https://github.com/matrix-org/pantalaimon).
which is actually installed as a dependency of the bot.
To use pantalaimon, create a `pantalaimon.conf` following the example in You first have to log in to your homeserver using `python fetch_access_token.py`,
`pantalaimon.example.conf`, making sure to change the homeserver URL to match
your homeserver. Then, start pantalaimon with `pantalaimon -c pantalaimon.conf`.
You first have to log in to your homeserver using `python pantalaimon_first_login.py`,
and can then use the returned access token in your bot's `config.ini` file. and can then use the returned access token in your bot's `config.ini` file.
Make sure to also point the bot to your pantalaimon instance by setting Make sure to also point the bot to your pantalaimon instance by setting

View file

@ -1,5 +0,0 @@
[Homeserver]
Homeserver = https://example.com
ListenAddress = localhost
ListenPort = 8010
IgnoreVerification = True

View file

@ -47,16 +47,12 @@ wolframalpha = [
"wolframalpha", "wolframalpha",
] ]
e2ee = [
"pantalaimon>=0.10.5",
]
trackingmore = [ trackingmore = [
"trackingmore-api-tool", "trackingmore-api-tool",
] ]
all = [ all = [
"matrix-gptbot[openai,wolframalpha,e2ee,trackingmore]", "matrix-gptbot[openai,wolframalpha,trackingmore]",
"geopy", "geopy",
"beautifulsoup4", "beautifulsoup4",
] ]