Skip to main content

Getting Started

What is TUI Writer?

TUI Writer is a terminal-based application that combines real-time speech transcription with AI-powered editing. Unlike traditional transcription tools that simply convert speech to text, TUI Writer acts as an intelligent companion that understands natural language editing commands.

Core Workflow:
1. Speak into your microphone
2. See your words transcribed in real-time
3. Make edits by speaking naturally: “change that to…” or “delete the last sentence”
4. The AI automatically detects and applies your edits
5. Copy the final transcript to your clipboard

For developers new to nbdev, the following sections explain the development workflow.

Install TUI Writer in Development Mode

For development and contributions, install the package in editable mode:

# Clone the repository
git clone https://github.com/Swiftner/tui_writer.git
cd tui_writer

# Install in development mode
pip install -e .

# Make changes under nbs/ directory
# The notebooks in nbs/ are the source of truth

# After making changes, regenerate the Python modules
nbdev_prepare

The nbdev_prepare command: - Exports code from notebooks to Python modules - Runs tests - Updates documentation - Cleans notebook outputs

Usage

Installation

Installation Options

Install TUI Writer using pip:

pip install tui_writer

Or using uv:

uv pip install tui_writer

Prerequisites

TUI Writer requires:
- Python 3.9 or higher
- A working microphone
- API key for at least one LLM provider (OpenAI, Anthropic, or Google)

First Run Setup

After installation, launch the application:

tui_writer

On first run, you will need to:
1. Press a to open AI settings
2. Select your preferred provider (OpenAI, Anthropic, or Google)
3. Choose a model
4. Enter your API key
5. Press Apply

The configuration is saved to ~/.config/tui_writer/tui_writer.conf and persists across sessions.

Basic Usage

Once configured:
- Press SPACE to start recording
- Speak naturally - your words appear in real-time
- Say edit commands like “change that to…” and they are applied automatically
- Press SPACE to stop recording
- Press C to copy the transcript to clipboard
- Press Q to quit

For detailed documentation on all features, press ? in the application to view the help screen.

Metadata

Release files for tui-writer 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tui-writer 0.1.1
File Size Uploaded
tui_writer-0.1.1.tar.gz 22.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tui-writer 0.1.1
File Interpreter ABI Platform
tui_writer-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 44.7 kB

Release files / tui_writer-0.1.1.tar.gz

Download URL tui_writer-0.1.1.tar.gz
Size 22.9 kB
Tags Source
SHA-256 checksum
How to use checksums
3eb2563aa40ebeabe13767654f09901566030956fa725a18b804541cdcf78b25
BLAKE2b-256 checksum
How to use checksums
2e41be1f56bf26550320574aacde2e7c52abc7980b11ff2cf42c1f48310a3934
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.18

Release files / tui_writer-0.1.1-py3-none-any.whl

Download URL tui_writer-0.1.1-py3-none-any.whl
Size 21.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
49ec25c93c561f5c98c945923e0cc72f66f0183958e5a9b169f11d55b8047524
BLAKE2b-256 checksum
How to use checksums
7d27147e84ac0ef562b31462d479d4a6afadcf0ba6b66c268f37aaeffc426cef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.18

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page