← Back to Leaderboard
Sjianchang512

jianchang512/stt

Local faster-whisper web app and API for audio and video transcription

Engineering Health (Methodology)
C · 47/100
Maintenance Activity
● Updated 10mo ago
Latest Release
20250805
Commercial License Check
GPL-3.0 · Copyleft Warning

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance6/35
Fork Adoption19/25
Release Cadence11/20
License Clarity11/20
Self-HostedLocal AIGPUAPI
Total Stars
★ 4,869
24h Growth
+2
7d Growth
+7
Forks
514

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

jianchang512/stt Star History (2023-12-27 - 2026-12-03) ALL-TIME STAR HISTORY (2023-12 – 2026-12) +4.9k in 1072d · avg +5/day 5.1k 2.6k 0 2023-12-27: ★ 12024-03-02: ★ 8362024-05-11: ★ 1,2212024-07-20: ★ 1,6912024-09-28: ★ 2,0942024-12-07: ★ 2,5152025-02-15: ★ 2,8422025-04-26: ★ 3,2282025-07-05: ★ 3,4712025-09-13: ★ 3,7112025-11-22: ★ 3,9342026-01-31: ★ 4,1602026-04-11: ★ 4,3382026-06-20: ★ 4,5772026-08-29: ★ 4,7432026-12-03: ★ 4,869 ★ 4.9k 2023-12 2025-06 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

start.py launches a local Python web application with a browser upload form and an HTTP API on port 9977. The dependency manifest lists Flask and gevent for the web stack, faster-whisper for speech recognition, and torch==2.1.2. Source installs also require FFmpeg. The core flow is file upload, language and model selection, local inference, and conversion of the transcript into plain text, timestamped SRT, or JSON.

Model files can be staged under the project's models/ directory, and the API selects a model by name. Integrations can use the native multipart endpoint at /api or point an OpenAI client at the /v1 base URL. Release 20250805 replaced multithreaded recognition with a single worker queue: callers can submit requests independently, but should not expect them to run inference in parallel.

Key Capabilities & Differentiators

The browser UI accepts audio and video by file selection or drag-and-drop and lets users choose the language, model, and output format. The model range includes tiny, base, small, medium, and large-v3. Release v0.94 added automatic language detection and custom Hugging Face model support, and updated support for large-v3-turbo. Native API callers can explicitly specify language codes such as zh, en, or ja.

POST /api takes a multipart file plus language, model, and response_format fields, returning a code/msg/data envelope. The OpenAI-style interface supports text, srt, and json, but its JSON output represents parsed SRT subtitles. Verify the payload against downstream consumers rather than assuming OpenAI response-schema parity. The interfaces shown are based on file uploads and completed results, not live audio streaming.

Trade-offs & Limitations

Compared with a managed Whisper API, stt lets you keep recordings and inference on your own infrastructure, but you take responsibility for provisioning, model storage, and runtime compatibility. Compared with using faster-whisper directly, it saves the work of building an upload UI and API, at the cost of adopting its output conventions and queue behavior. A slow job can delay those behind it, so measure end-to-end turnaround under representative concurrent submissions.

Start with a smaller model on CPU and test accuracy, turnaround, and memory on your own recordings before sizing up. The project cautions against large-v3 below 8 GB of VRAM, especially with larger videos; that is practical caution, not a guaranteed minimum. Chinese transcripts can sometimes contain Traditional characters, so test any script-normalization requirements. GPL-3.0 permits commercial use, but redistribution of covered binaries or modified versions brings source and licensing obligations.

Hardware & Deployment Guide

On Windows, the prebuilt release can be extracted and launched with start.exe; the 20250805 full package is listed at about 1.6 GB. Source installation on Windows, Linux, or macOS uses Python 3.9–3.11, a virtual environment, requirements.txt, FFmpeg, and local model files. Run python start.py to open the browser UI. Inference can stay offline once dependencies and weights are in place; online model acquisition is a separate step.

CPU is the default in set.ini. For an NVIDIA GPU, match the driver, CUDA, cuDNN, and PyTorch build, validate the setup with testcuda.py, then set devtype=cuda and restart. The source setup includes a CUDA 12.1 PyTorch wheel path, while troubleshooting also mentions other CUDA versions, so validate the combination on the deployment host. Release 20250805 added the /v1 interface and switched online model downloads to an HF mirror in Chinese-language environments. Keep the default loopback access for single-machine use; review authentication and access controls before exposing the service to other hosts.

Runtime: start.py launches the local Python application; faster-whisper handles inference and FFmpeg is a source-install prerequisite.
Native API: POST /api accepts multipart audio or video and wraps results in code, msg, and data.
SDK compatibility: The /v1 base URL supports OpenAI-style transcription calls; JSON output represents parsed SRT subtitles.
Model selection: Whisper variants span tiny through large-v3; v0.94 updated large-v3-turbo support and added custom Hugging Face models.
Scheduling: Release 20250805 serializes recognition jobs to reduce VRAM pressure from overlapping inference.
Local deployment: Windows has a packaged build, while source installs target Python 3.9–3.11 with CPU by default and optional NVIDIA CUDA.
Best For

Individuals and teams transcribing recorded audio or video on their own machines, generating SRT subtitles, or moving a file-based transcription integration off a hosted API.

Skip If

You need live streaming, parallel inference with predictable turnaround, or a managed service that removes responsibility for models and GPU runtimes.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

Self-HostedLocal AIGPUAPI
import requests
    # 请求地址
    url = "http://127.0.0.1:9977/api"
    # 请求参数  file:音视频文件,language:语言代码,model:模型,response_format:text|json|srt
    # 返回 code==0 成功,其他失败,msg==成功为ok,其他失败原因,data=识别后返回文字
    files = {"file": open("C:/Users/c1/Videos/2.wav", "rb")}
    data={"language":"zh","model":"base","response_format":"json"}
    response = requests.request("POST", url, timeout=600, data=data,files=files)
    print(response.json())

Comparison vs. Top Voice, Vision & Video Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
stt ★4.9k+7PythonGPL-3.0Local faster-whisper web app and API for audio and video transcription
WhisperLiveKit11.3k+27PythonApache-2.0Self-hosted streaming speech-to-text with pluggable ASR and speaker diarization
whisperX26.5k+677PythonBSD-2-ClauseBatched Whisper with forced alignment for word timings and optional speaker labe
mlx-audio8.4k+32PythonMITMLX inference SDK for local speech and audio pipelines on Apple Silicon

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/jianchang512/stt.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

jianchang512/stt Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about stt

How do I connect an existing transcription client?

Use the OpenAI Python SDK with base_url set to http://127.0.0.1:9977/v1 and choose a local model such as tiny. Test how your client handles each response format, particularly JSON, which represents parsed SRT subtitle data. Alternatively, POST a multipart file to /api and read the code, msg, and data envelope. The sample SDK key is not evidence of server-side authentication.

Which model should I start with, and how should I size the hardware?

Start with tiny or base on CPU, then test representative recordings before moving up a model size. For NVIDIA GPU deployment, validate the CUDA runtime with testcuda.py and measure peak VRAM on your own media. The project cautions against large-v3 with less than 8 GB of VRAM, especially for larger videos; that is a warning, not a guaranteed sizing threshold. Serial execution reduces overlap between jobs but does not reduce the memory needed by a single job.

Can a company self-host or redistribute the application?

GPL-3.0 permits commercial use. Running the application internally or providing network access alone generally does not trigger source distribution obligations under GPL-3.0. If you distribute a covered binary or modified package, review the corresponding-source, notice, and license requirements. Check the terms for any models or third-party binaries you redistribute separately.

When is stt a better choice than direct faster-whisper or a managed Whisper API?

Choose stt when media needs to stay on infrastructure you control and you want a browser UI plus a straightforward upload API. Choose direct faster-whisper integration when you need to control scheduling or embed transcription into a larger processing pipeline. A managed Whisper API is the better fit when you prefer not to provision inference hardware or maintain drivers and can send recordings off-site. Benchmark accuracy, turnaround, and peak memory on representative files rather than assuming parity.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining jianchang512/stt? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature jianchang512/stt on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare