Real-time microphone → OpenAI → text (CLI)
Project description
# Transcriber
> Real-time **microphone + system-audio → OpenAI → transcript → summary** — all from a single CLI command.
---
* **One-step setup**
```bash
transcriber setup # prompts for API key & model – writes .env
-
Automatic device routing – Captures the default microphone and the loop-back that matches your current output device (no index hunting). – Works on Windows, macOS, Linux (Pulse/ALSA).
-
Realtime transcription (OpenAI Realtime API) – Streams 24 kHz PCM16 chunks; prints each finalized text fragment in the terminal.
-
Instant summary – On Ctrl-C it saves a timestamped
.txttranscript and generates a one-paragraph summary via OpenAI Chat. -
Pure Python, no drivers – uses
soundcard+sounddevicefor audio I/O.
🔧 Quick-start
# 1. install
pip install transcriber # or: pip install git+https://github.com/Dogmeat0/transcriber.git
# 2. initial configuration
transcriber setup # enter your OpenAI API key and choose model
# 3. record!
transcriber # press Ctrl-C to stop & get summary
| Command | What it does |
|---|---|
transcriber list-dev |
Lists all microphones / loop-backs & the current defaults. |
OPENAI_API_KEY = sk-************************************
MODEL = gpt-4o-mini-transcribe
```bash
git clone https://github.com/Dogmeat0/transcriber.git
cd transcriber
python -m venv env && source env/bin/activate
pip install -e ".[dev]" # editable + dev tools
ruff check transcriber # lint
pytest # tests (if/when added)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file transcriber_sh-0.1.0.tar.gz.
File metadata
- Download URL: transcriber_sh-0.1.0.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1edf6f09c3ece1c9a8c8428641cfc8088455b25eb7c7dbd41bae614e98616df8
|
|
| MD5 |
558ad4ee146d0b439aca9dc15f22b902
|
|
| BLAKE2b-256 |
75e8212f862eb41ff1d295f819b89e0ae427f7b283c53dea597a6d309efdf130
|
File details
Details for the file transcriber_sh-0.1.0-py3-none-any.whl.
File metadata
- Download URL: transcriber_sh-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b8234db39463cc2f27018b8e77d555e5e6f9a7cddb072154f48bd08ce71bf14
|
|
| MD5 |
4dc2787b0f533ec0c898f099a6ee95e1
|
|
| BLAKE2b-256 |
048a2547db97d86e3edadb7ae4dcc2d05bc19d809f4ca7df4c5eef770992eeaf
|