Skip to main content

Narra — tell it into a podcast

narra (Spanish): "tell!" / "narrate!"

A small, privacy-first tool that turns a source document into a two (or more) speaker podcast episode. Give it a PDF or text file, pick a format, choose who writes the script and which voices speak it, and get an MP3. No account, no telemetry, bring your own providers.

Install

pip install "narra[gemini,edge,audio]"   # writer + free voice + stitching
export GEMINI_API_KEY=...                # default writer

Use

narra "paper.pdf" --format deep-dive --out episode.mp3
narra "notes.txt" --format brief --voice edge
narra init-config                   # write an example narra.yaml
narra serve                         # local web UI (pip install "narra[serve]")

Or as a library:

from narra.config import load_config
from narra import core

settings = load_config()
episode = core.generate("paper.pdf", settings, format="deep-dive")

Providers

  • Writer (writes the script): gemini (default), openai-compatible (BYOK, any /v1/chat/completions), ollama (local).
  • Voice (speaks each line): edge (free, default), openai / openai-compatible (OpenAI standard /v1/audio/speech), gemini (native TTS), piper (local CPU, auto-downloads), kokoro (local CPU, narra[local]).

Keys live in ~/.narra.yaml (or ${VAR} references), never in the browser.

Compare voices

narra compare "paper.pdf" --voice edge --voice piper --out-dir out/
# writes one MP3 per voice from a single script

Desktop app

A native Tauri v2 shell lives in desktop/. It bootstraps a private Python runtime with uv, runs narra serve as a localhost sidecar, and shows the web UI with a Settings sheet for your writer and voice. Installers are built by .github/workflows/desktop.yml on desktop-v* tags. See desktop/README.md.

Status

0.4.0 — M4. The core runs end to end (source → script → voicing → MP3 + sidecar), narra serve adds a local web UI (write → edit → speak, gallery, Save), local CPU voices (Piper, Kokoro) and narra compare are in, and the Tauri desktop shell is built. Still to come: demo mode, landing page, and a real app icon. See SPEC.md for the full design and milestones.

Privacy

No account. No telemetry. The only network egress is the request to the writer and voice providers you configure. Piper and Kokoro run locally; Ollama is local. Audio saves to ~/Podcasts/Narra with a JSON sidecar.

Credits

Narra borrows ideas, with acknowledgment, from GroqCasters (J. Gravelle, MIT), Open Notebook (MIT), and the author's own limn, canturía, and talk-buddy.

Licence

MIT © Michael Borck.

Metadata

Release files for narra 0.4.0

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

Source distribution (sdist)

Source distribution for narra 0.4.0
File Size Uploaded Provenance Actions
narra-0.4.0.tar.gz 305.0 kB Without provenance Details for narra-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for narra 0.4.0
File Interpreter ABI Platform Actions
narra-0.4.0-py3-none-any.whl Python 3 none any Details for narra-0.4.0-py3-none-any.whl

Total release size: 349.0 kB

Release files / narra-0.4.0.tar.gz

Download URL narra-0.4.0.tar.gz
Size 305.0 kB
Tags Source
SHA-256 checksum
How to use checksums
6b153f948bd81f4953aa8fa4f45d2611c071ddc5708de6d7347704096e43a062
BLAKE2b-256 checksum
How to use checksums
30c97b4a2593f659e9a467c40150c243545e6612169377278b57f2debdb3bf1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.0

Release files / narra-0.4.0-py3-none-any.whl

Download URL narra-0.4.0-py3-none-any.whl
Size 44.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5ce23b93be376d86b87f1881438ecd0a93c07eda23329254277f832d7ef528cf
BLAKE2b-256 checksum
How to use checksums
8602c22b8777eff9dc4aa6d200bfce325c0dd16666d9c0f45c1542cbf82006c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.0

Security for narra 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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