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.

HostedSelf-hosted
Who runs the serverThe server's operatorYou
Where the key livesEncrypted on the server.env on your computer, or encrypted by the app
Where the audio goesThat server, then SonioxYour computer, then Soniox
What you needA browser or OBSAlso Node.js 24 or newer and git (or Docker), and a computer that is on during the khutbah
UpdatesThe operatorYou: git pull, or make update
CommandsNoneThe 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/turjuman-translator/cli.git turjumancd turjumanpnpm install && pnpm buildpnpm turjuman setuppnpm turjuman start

start prints where to open the app:

Open the app:  Screens (dashboard):  http://127.0.0.1:8765/app  New screen (builder): http://127.0.0.1:8765/app/new  Caption look:         http://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

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 backup with 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.