explaingit

polytalkio/polytalk

Analysis updated 2026-05-18

32PythonAudience · developerComplexity · 4/5LicenseSetup · moderate

TLDR

A self-hosted real-time speech translation tool that converts spoken audio into another spoken language using your own speech-to-text, translation, and text-to-speech services.

Mindmap

mindmap
  root((repo))
    What it does
      Real time speech translation
      Self hosted pipeline
    Tech stack
      Python FastAPI
      Docker Compose
      Whisper
      Piper
    Use cases
      Live conversation translation
      Privacy focused translation
      Local model hosting
    Audience
      Developers
      Self hosters

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Run live speech translation on your own server instead of sending audio to a third-party cloud service.

USE CASE 2

Connect PolyTalk to an existing OpenAI-compatible or Anthropic-style API you already have keys for.

USE CASE 3

Self-host the full pipeline with Docker Compose using local Whisper and Piper models.

USE CASE 4

Test the browser interface in mock mode without any API keys.

What is it built with?

PythonFastAPIDockerWhisperPiperJavaScript

How does it compare?

polytalkio/polytalkautolearnmem/automembilly-ellis/exr-imageio-poc
Stars323232
LanguagePythonPythonPython
Setup difficultymoderatehardmoderate
Complexity4/55/53/5
Audiencedeveloperresearcherresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 1h+

Full local setup needs Docker Compose plus optional GPU hardware for the speech-to-text service.

You can use and modify it, but if you run a modified version as a network service, you must release your source code under the same AGPL license.

In plain English

PolyTalk Community Edition is a self-hosted tool for real-time speech translation. You speak into your microphone in one language, and the system plays back the translation in another language within a few seconds. The entire pipeline runs on your own server rather than sending audio to a third-party cloud service, which is the main reason to choose it over hosted alternatives. The pipeline has four steps. A speech-to-text service converts incoming microphone audio into text. A translation service converts that text into the target language. A text-to-speech service converts the translated text into audio. The browser then plays that audio back. Each of these three services is configurable: you can point PolyTalk at external AI APIs you already have keys for, or you can run open-source models locally using the included Docker Compose setup, which bundles a Whisper-based transcription service and a Piper text-to-speech service. For the translation step, the tool supports several API formats including the standard OpenAI chat format (compatible with Ollama, vLLM, LM Studio, LiteLLM, and similar tools), Anthropic-style APIs, and Gemini-style APIs. You configure which format and which model to use through environment variables and a YAML configuration file. A mock mode lets you test the browser interface without needing any API keys at all. The frontend is plain JavaScript with no framework. The backend is a Python FastAPI application. Docker Compose is the recommended way to run everything together, and there is a GPU-accelerated option for the speech-to-text step if you have compatible hardware. Configuration is split between a YAML file for application behavior settings and a .env file for API keys and service URLs. The project is licensed under AGPL-3.0 and maintained by BizzAppDev Systems.

Copy-paste prompts

Prompt 1
Help me set up PolyTalk with Docker Compose using the local Whisper and Piper models.
Prompt 2
Configure PolyTalk's translation service to use my Anthropic API key instead of OpenAI.
Prompt 3
Show me how to enable GPU acceleration for the speech-to-text step in PolyTalk.
Prompt 4
Explain PolyTalk's YAML and .env configuration split so I can set it up correctly.

Frequently asked questions

What is polytalk?

A self-hosted real-time speech translation tool that converts spoken audio into another spoken language using your own speech-to-text, translation, and text-to-speech services.

What language is polytalk written in?

Mainly Python. The stack also includes Python, FastAPI, Docker.

What license does polytalk use?

You can use and modify it, but if you run a modified version as a network service, you must release your source code under the same AGPL license.

How hard is polytalk to set up?

Setup difficulty is rated moderate, with roughly 1h+ to a first successful run.

Who is polytalk for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.