Tian2
Development

Built by Tian2

Programs, tools, and open-source projects — from local-first voice input to AI coaching skill suites. Everything here is designed, written, and maintained by Dr. Tian.

01 · Desktop Application

Tian2 Whisper

本地优先、跨设备语音输入工具

A local-first, cross-device voice input tool. A Mac Mini, NAS, or NVIDIA workstation runs Whisper speech-to-text offline; macOS and Windows clients handle the global hotkey, recording, real-time preview, and auto-paste into any active text field — with no monthly subscription and no audio leaving your LAN.

Dual-model realtime pipeline: a small model streams low-latency preview while Whisper Turbo Q4 delivers the final high-accuracy transcript. A local Qwen3 4B LLM handles punctuation, filler-word removal, and bilingual polishing — with safety validators that fall back to deterministic output if the LLM misbehaves.

Project Page → GitHub Download (macOS / Windows)
Tian2 Whisper logo
Recording

Press-and-hold Fn

Hold to record, release to submit. Long pauses do not truncate. Custom hotkey combos supported.

Polishing

Three modes

Faithful (light cleanup), Smart (filler words, self-corrections), Polish (full refinement) — all with LLM safety validators.

Context

Cursor-aware

Reads preceding text from the active input field via accessibility APIs. Password fields excluded. Up to 1,500 characters of context.

Privacy

LAN-only

Audio stays on your local network. Bearer tokens in macOS Keychain or Windows Credential Manager. Public-IP plain HTTP rejected.

Learning

Personal dictionary

User corrections feed back into ASR prompts and LLM polishing. Per-device JSON history with search — never uploaded.

Deployment

Multi-backend

MLX Whisper on Apple Silicon, faster-whisper int8 on NAS, CUDA float16 on NVIDIA. Docker Compose or LaunchAgent.

Swift SwiftUI Python FastAPI WebSocket MLX Whisper faster-whisper Qwen3 4B PySide6 Docker
Also built by Tian2

Code Hanyu

代码里的汉语

A 235-entry linguistics dictionary of Chinese software-development jargon, with literal meanings, etymological analysis, and example sentences.

AI Skill Suites

四套开源 AI 技能

44 Claude Code + Codex skills across four competition suites (ISEF, STS, Yau, Conrad), all MIT-licensed on GitHub.

This website

tian-2.com

~1,400 hand-coded pages, a custom design system, and a two-skill publishing pipeline — all static, all portable.