matrix translation proxy
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-08-14 05:43:46 +01:00
.gitignore c 2026-08-14 05:43:46 +01:00
app.py c 2026-08-14 05:43:46 +01:00
README.md c 2026-08-14 05:43:46 +01:00

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.