mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2025-02-12 12:51:31 -05:00
Damir Jelić
a996d4acd3
daemon: Don't use the text method to get the content.
The content doesn't necessarily have to be unicode (e.g. for media content) and the text() method tries to decode the body of the request. Use read() instead, this way we get the raw bytes of the body, we also set the content header manually. This fixes #8.
pantalaimon
A E2E aware matrix proxy daemon.
This still in an early development phase.
Installation
The Olm C library is required to be installed before installing pantalaimon.
Instalation works like usually with python packages:
python setup.py install
Usage
Running the daemon is relatively easy:
pantalaimon https://example.org:443
After running the daemon configure your client to connect to the daemon instead of your homeserver. The daemon listens by default on localhost and port 8009.
The listening address and port can be configured:
pantalaimon -l 127.0.0.1 -p 8008 https://example.org:8008
Languages
Python
99.5%
Dockerfile
0.3%
Makefile
0.2%