matrix translation proxy
- Python 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .gitignore | ||
| app.py | ||
| README.md | ||
translation proxy
setup
make a venv and install deps
python3 -m venv venv
source venv/bin/activate
# or you can just use flask's server, idc
pip install flask waitress
write config to config.json
{
"LIBRETRANSLATE_URL": "http://localhost:5000",
"HOMESERVER_URL": "https://starstruck.systems"
}
reverse proxy /_matrix/client/v3/rooms/*/send/m.room.message/* to the proxy.
the more specific you can get, the better. though it will pass through any message type, not just m.room.message.