Run Turjuman yourself
The same app on your own computer, with the turjuman command.
Hosted, or on your own computer?
Both are free, and in both the mosque pays Soniox.
| Hosted | Self-hosted | |
|---|---|---|
| Who runs the server | The server's operator | You |
| Where the key lives | Encrypted on the server | .env on your computer, or encrypted by the app |
| Where the audio goes | That server, then Soniox | Your computer, then Soniox |
| What you need | A browser or OBS | Also Node.js 24 or newer and git (or Docker), and a computer that is on during the khutbah |
| Updates | The operator | You: git pull, or make update |
| Commands | None | The turjuman command |
What you need
- A computer (macOS, Linux or Windows) that is on during the khutbah. The computer that runs OBS works fine.
- Node.js 24 or newer and git, or Docker.
- A Soniox account with credit.
- Internet: outbound HTTPS to Soniox.
- The mosque's audio on the computer that shows the captions: how it works.
Quick start
git clone https://github.com/ cd turjumanpnpm install && pnpm buildpnpm turjuman setuppnpm turjuman startturjuman-translator/ cli.git turjuman
start prints where to open the app:
Open the app: Screens (dashboard): http://127.0.0.1:8765/ New screen (builder): http://app 127.0.0.1:8765/ Caption look: http://app/ new 127.0.0.1:8765/ app/ look
The first start makes config.yaml and downloads the Quran data in the background, for verified verse references. With Docker the start is make up: Docker. Every step, explained: Install.
The steps
- InstallInstall, set up your keys, start, and make your first screen.
- Show on a screenOBS Studio or a browser, the audio, and Friday.
- Phone & networkYour phone on the Wi-Fi, HTTPS for other devices, and access from outside.
- DockerKeep it running, also after a restart.
- CommandsEvery command, with examples.
What you take on
- The computer must be on during the khutbah.
- You install the updates, outside a khutbah.
- You make the backups: what to keep, or
make backupwith Docker. - Soniox bills your key: each open caption page is its own stream.
Host it for many mosques
With mode: hosted, one server serves many mosques: they sign up at /signup, add their own Soniox key and make their own screens. The platform is the website repository: make up there makes a hosted config.yaml, the admin token and the Quran data by itself. Your own reverse proxy (nginx) in front of it gives HTTPS, and links follow the hostname of each request. Back up the master key, and see the checklist in the hosting guide.