Skip to main content

notepipe

Turn video and audio into Markdown notes.
The transcript in readable paragraphs, arranged around screenshots of what was on screen,
with an optional AI summary on top — driven by a single TOML pipeline you can rewire from end to end.

CI PyPI crates.io License: MIT

notepipe is a command-line tool and extensible engine that turns lectures, talks, meetings and podcasts — from local files or URLs — into plain Markdown notes you can read, search and keep. It ships as one small Rust binary that works out of the box with OpenAI and lets you swap every stage of the run, from the speech engine to the prompts, without touching its code.

export OPENAI_API_KEY=sk-…
notepipe lecture.mp4
Introduction to Compilers/
├── note.md        # YAML front matter + Markdown note
├── note.json      # the same content as structured data
└── images/        # 0001.jpg, 0002.jpg, …
---
title: "Introduction to Compilers"
source: "https://www.youtube.com/watch?v=…"
author: "Example University"
duration: "1:12:40"
created: "2026-10-21T09:30:00Z"
---

# Introduction to Compilers

## Overview
A compiler translates a program in stages, from characters to tokens, trees and finally machine code.

## [03:12](https://www.youtube.com/watch?v=…&t=192s)

![03:12](images/0002.jpg)

The first stage is lexical analysis. The scanner reads characters and groups them into tokens such as identifiers,
numbers and operators.

Highlights

  • 🧩 Nothing hard-wired. Downloading, transcription, screenshots, AI prompts, custom filters and note generation are stages in one TOML file, in the order they run. Rename, reorder, remove, skip or add stages at will.
  • 🔌 Any model, cloud or local. Works out of the box with OpenAI (whisper-1 and gpt-6-luna). Point [providers] at Anthropic, Gemini, Groq, Mistral, OpenRouter, Ollama, LM Studio or your own server — or run speech recognition locally with llama.cpp, OpenVINO (Intel NPU, CPU or GPU) or Apple silicon.
  • 🛠️ Extensible in any language, without forking. Providers, downloaders and filters are separate programs with small, documented contracts: an OpenAI-compatible HTTP API on localhost, a URL fetcher, or note.json over standard input and output.
  • 🧱 A CLI tool and an engine at once. Run it interactively in a terminal, or drive it from your own application with --config -, streaming JSON progress lines (--json), documented exit codes and note.json.
  • 📦 Runs anywhere. One small Rust binary prebuilt for Linux and macOS (x86_64, arm64) and Windows (x86_64), tested on all three in CI, and buildable on Android in Termux. Its only runtime dependency is ffmpeg.
  • 🛡️ Atomic, cached and resumable. A note is built in full before it replaces the previous one — never half-written or lost. Downloads, screenshots, transcripts and AI responses are cached, interrupted transcriptions resume where they stopped, and Ctrl-C stops every process notepipe started.
  • 🔒 Private. No telemetry. Audio and text go only to the providers you configure, or nowhere at all with local engines.
  • 📝 Plain, durable output. An ordinary folder of Markdown, JPEG screenshots and JSON that any editor, notes app or script can read, with section timestamps linked to that moment in the recording when the source allows it.

Install

notepipe requires ffmpeg on your PATH (brew install ffmpeg, sudo apt install ffmpeg, winget install ffmpeg, or pkg install ffmpeg in Termux).

uv tool install "notepipe[ytdlp]"   # includes URL support via yt-dlp; use `notepipe` for local files only
Method Command / Source
uv (recommended) uv tool install "notepipe[ytdlp]"
pipx / pip pipx install "notepipe[ytdlp]" or pip install "notepipe[ytdlp]"
Cargo (no Python) cargo install notepipe
Prebuilt binaries GitHub Releases — Linux and macOS (x86_64, arm64), Windows (x86_64)
Android (Termux) pkg install rust ffmpeg python && cargo install notepipe

To include speech adapters when installing with uv, pipx or pip, list every extra you want in one command (because uv tool install replaces the environment each time), for example uv tool install "notepipe[ytdlp,llama]". See Adapters for all extras.

Quick start

export OPENAI_API_KEY=sk-…                        # default configuration uses OpenAI
notepipe lecture.mp4                              # local video -> ./<title>/note.md
notepipe https://youtu.be/VIDEO_ID                # URL, with notepipe[ytdlp]
notepipe interview.m4a -o ~/notes                 # audio-only input; write under ~/notes
notepipe talk.mp4 --subtitle talk.srt             # use an existing .srt or .vtt transcript
notepipe lecture.mp4 --skip proofread,summary     # skip the AI stages for this run

The first run creates config.toml and prints its path. When subtitles exist — lecture.srt or lecture.vtt next to a local file, or captions from the URL — notepipe uses them automatically. Otherwise speech is transcribed with OpenAI's whisper-1, and the note is proofread and summarized with gpt-6-luna.

Each note is written to a folder named after its title (note.md, note.json, images/). Re-running on the same recording replaces its folder atomically; a different recording with the same title gets a -2, -3, … suffix. Run notepipe doctor to check your setup and notepipe --help to see all options.

How it works

download ─► transcript ─┐
            screenshots ─┴─► paragraphs ─► llm and filter stages ─► note

Every run executes a pipeline of stages defined in config.toml. What a stage does comes from its type:

Type What it does
download Fetches a URL's media, subtitles and metadata with a download program (notepipe-source-ytdlp by default)
transcript Uses subtitles when available, or recognizes speech through a provider
screenshots Captures a frame each time the picture changes and settles
llm Sends each paragraph, or the whole transcript, to a model with your prompt (proofread, summarize, translate, …)
filter Pipes the note as JSON through a program of your own
note Writes note.md, note.json and images/ into the note folder

transcript and screenshots run in parallel; their results are aligned into timestamped sections and paragraphs before the llm and filter stages run in pipeline order. See docs/design.md for the architecture and design principles.

Configuration

notepipe config init    # create the configuration file with the default settings
notepipe config path    # print where it is
notepipe config show    # show the configuration in effect

notepipe reads ~/.config/notepipe/config.toml, or %APPDATA%\notepipe\config.toml on Windows ($XDG_CONFIG_HOME/notepipe/config.toml when set). pipeline lists the stages that run, in order; each stage has its own [stages.NAME] table, and [providers.NAME] defines the API endpoints or local adapter commands they share.

Settings at their default are written as # comments so you can see every value in effect at a glance. The default prompts for proofread and summary are written out in full in the file and are yours to edit. Here is the generated file with the two prompts shortened:

# Lines starting with # show the defaults.
# Every setting is described in https://github.com/3ae3ae/notepipe/blob/main/docs/configuration.md

pipeline = ["download", "transcript", "screenshots", "proofread", "summary", "note"]

[providers.openai]
base_url = "https://api.openai.com/v1"
api_key_env = "OPENAI_API_KEY"
# concurrency = 4

[stages.download]
type = "download"
command = "notepipe-source-ytdlp"
# keep = false

[stages.transcript]
type = "transcript"
# language = "auto"
# sources = ["subtitles", "speech"]
# keep = false

[stages.transcript.subtitles]
# sidecar = true
# downloaded = true
# automatic = true

[stages.transcript.speech]
provider = "openai"
model = "whisper-1"
# api = "transcriptions"
# threshold = 0.5
# min_silence = 0.4
# max_segment = 20.0

[stages.screenshots]
type = "screenshots"
# mode = "stable"
# sensitivity = 0.85
# frame_interval = 1.0
# min_gap = 10.0
# settle = 0.8
# keep = false

[stages.proofread]
type = "llm"
reads = "paragraphs"
provider = "openai"
model = "gpt-6-luna"
# batch_size = 20
# keep = false
prompt = '''…'''

[stages.summary]
type = "llm"
reads = "transcript"
provider = "openai"
model = "gpt-6-luna"
# chunk_size = 25000
# keep = false
prompt = '''…'''

[stages.note]
type = "note"
# dir = "."

Stage names are free; behavior comes from type. Remove a stage from pipeline to disable it while keeping its table, or pass --skip NAMES to leave stages out for a single run. Setting keep = true on a stage writes its intermediate output into the note folder's stages/ directory for inspection. Every setting is documented in docs/configuration.md.

Adding your own stages

Add a [stages.NAME] table and list its name in pipeline:

[stages.translate]                  # rewrites each paragraph in place (original kept in note.json)
type = "llm"
reads = "paragraphs"
provider = "openai"
model = "gpt-6-luna"
prompt = "Translate each item into Korean. Keep names, code and formulas unchanged."

[stages.action-items]               # adds a Markdown section at the top of the note
type = "llm"
reads = "transcript"
provider = "openai"
model = "gpt-6-luna"
prompt = "List the decisions and action items in this meeting as a Markdown checklist, with owners where named."

reads = "paragraphs" replaces each paragraph with the model's response while preserving the unedited text in note.json; reads = "transcript" places the response at the top of the note. For deterministic transformations that need no model — such as replacing terms from a glossary — add a filter stage that runs a script or binary over the note JSON (docs/adapters.md).

Switching models and providers

Any OpenAI-compatible API works: define a [providers.NAME] table and reference provider = "NAME" in your stages. API keys are read only from the environment variable named in api_key_env.

Service [providers.NAME] model
OpenAI (default) base_url = "https://api.openai.com/v1", api_key_env = "OPENAI_API_KEY" whisper-1, gpt-6-luna, …
Anthropic base_url = "https://api.anthropic.com/v1" any Claude model
Google Gemini base_url = "https://generativelanguage.googleapis.com/v1beta/openai" any Gemini model
Groq base_url = "https://api.groq.com/openai/v1" whisper-large-v3-turbo (speech) or a chat model
Mistral base_url = "https://api.mistral.ai/v1" voxtral-mini-latest (speech) or a chat model
OpenRouter base_url = "https://openrouter.ai/api/v1" any model on OpenRouter
Ollama, LM Studio, custom server its base_url, e.g. http://localhost:11434/v1 its served models

Audio-capable chat models can transcribe speech when api = "chat" is set in [stages.transcript.speech]. Services that do not speak the OpenAI API directly connect through a provider program.

Adapters

Anything tied to a specific website, local runtime or non-OpenAI vendor lives outside the core in an adapter: a standalone program that notepipe runs. Three contracts cover every extension point:

  1. Provider programs start on demand and serve an OpenAI-compatible HTTP API on localhost (for local speech engines or custom API translators).
  2. Download programs turn a URL into a local media file, metadata and subtitles.
  3. Filter programs read the note as JSON on stdin and write the modified note to stdout.

Official adapters are published as Python extras of notepipe:

Extra Install What it adds Notes
ytdlp uv tool install "notepipe[ytdlp]" URLs and subtitles from YouTube and every other site yt-dlp supports used by the default download stage
llama uv tool install "notepipe[llama]" Local speech recognition via llama.cpp on CPU or GPU requires llama-server
openvino uv tool install "notepipe[openvino]" Local speech recognition on an Intel NPU, CPU or GPU via OpenVINO
speech-swift uv tool install "notepipe[speech-swift]" Local speech recognition on Apple silicon with MLX or Core ML via speech-swift macOS 15+; built in CI, not yet verified on hardware
xai uv tool install "notepipe[xai]" xAI's speech-to-text API
meta uv tool install "notepipe[meta]" Meta's speech-to-text API

To use a speech adapter, set command on a provider instead of base_url:

[providers.llama]
command = "notepipe-asr-llama"
args = ["-hf", "ggml-org/Qwen3-ASR-1.7B-GGUF:Q8_0"]
concurrency = 1

[stages.transcript.speech]
provider = "llama"

Writing your own adapter in any language takes only a few dozen lines; docs/adapters.md specifies all three contracts with complete Python examples. Install third-party adapters alongside notepipe with uv tool install notepipe --with <package>, or place the executable on your PATH.

Using notepipe from other programs

The CLI is notepipe's programmatic interface. Pass the configuration on stdin (TOML or JSON) and stream progress as JSON lines on stdout:

notepipe "$SOURCE" -o "$OUT" --config - --json < config.toml

The done event gives the path to the finished note folder, note.md and note.json. Event schemas, exit codes, the note.json format and caching rules are documented in docs/cli.md.

Project status

notepipe is young (0.x). The configuration format, CLI flags and note.json schema may still change between minor releases; all breaking and user-visible changes are tracked in CHANGELOG.md.

Contributing

Bug reports, ideas and pull requests are welcome. See CONTRIBUTING.md for how to build, test and propose changes, and SECURITY.md for reporting security issues privately.

Acknowledgements

notepipe began as a fork of course2md by mizorewww. course2md showed how useful slide-illustrated notes made from recordings can be, and notepipe still stands on its foundations: the screenshot detection, subtitle handling and timeline alignment at the heart of notepipe were adapted from it. Thank you to mizorewww and to everyone who contributed to course2md. If you are looking for a desktop app with a notes library, course2md is the place to go.

course2md's screenshot detection follows yt-slide-mark by exopoiesis. notepipe is also built on FFmpeg, earshot for speech detection, and, through its adapters, yt-dlp, llama.cpp, OpenVINO and speech-swift.

License

notepipe is released under the MIT License, which keeps course2md's copyright notice alongside notepipe's own.

Metadata

Release files for notepipe 0.3.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 notepipe 0.3.0
File Size Uploaded Provenance
notepipe-0.3.0.tar.gz 257.1 kB With provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for notepipe 0.3.0
File
notepipe-0.3.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
notepipe-0.3.0-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details
notepipe-0.3.0-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details
notepipe-0.3.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details
notepipe-0.3.0-py3-none-macosx_10_12_x86_64.whl Python 3 none macOS 10.12+ x86-64 Details

Total release size: 15.4 MB

Release files / notepipe-0.3.0.tar.gz

Download URL notepipe-0.3.0.tar.gz
Size 257.1 kB
Tags Source
SHA-256 checksum
How to use checksums
9fe48bad7838cd75c353ec06db5aa54dc18396afab53f4a75f7db63c737248d7
BLAKE2b-256 checksum
How to use checksums
28e08ffa9b357e1808e2ad5c2e646657c5ab6128e54316db07c4e032c33590e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

Release files / notepipe-0.3.0-py3-none-win_amd64.whl

Download URL notepipe-0.3.0-py3-none-win_amd64.whl
Size 3.1 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
b409053bef7bf54ffef2764237ffd265b635418d64a14f734e7ebe0c0f9fb312
BLAKE2b-256 checksum
How to use checksums
83bab8a55b4f148715285a670b28b56bad687210cbafb70d249bb453ce942797
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

Release files / notepipe-0.3.0-py3-none-manylinux_2_28_x86_64.whl

Download URL notepipe-0.3.0-py3-none-manylinux_2_28_x86_64.whl
Size 3.1 MB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
72f4a526f25b23c8c16d08ed80a967b60531b04533ca13a78388fba4ee4d666d
BLAKE2b-256 checksum
How to use checksums
805b67d4476688c1f51f98b80aaca9c35d8a6c55b3a96cd3cb02f3112d656257
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

Release files / notepipe-0.3.0-py3-none-manylinux_2_28_aarch64.whl

Download URL notepipe-0.3.0-py3-none-manylinux_2_28_aarch64.whl
Size 3.0 MB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
0f41d2d40339db88e85be42157c32fb7dead2fc6b819304280e68f4b6f0596ba
BLAKE2b-256 checksum
How to use checksums
d573810070d4682690673a2670e8401c8d42cf03a270c3d7939f4088a519460f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

Release files / notepipe-0.3.0-py3-none-macosx_11_0_arm64.whl

Download URL notepipe-0.3.0-py3-none-macosx_11_0_arm64.whl
Size 2.9 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
9f2e05ccf4a9a6780d561116d6de9c3be4e138de3335ec5c5194c037e1e15172
BLAKE2b-256 checksum
How to use checksums
5924269212cc1ed09024ad1a51ce771631a97d9f32728bc71a2d390c22321ed8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

Release files / notepipe-0.3.0-py3-none-macosx_10_12_x86_64.whl

Download URL notepipe-0.3.0-py3-none-macosx_10_12_x86_64.whl
Size 3.0 MB
Tags Python 3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
f0a2b63b48f4e90b84f6d77d9bad0ddf391cb5b734c039a5b7c5a9cdefda5390
BLAKE2b-256 checksum
How to use checksums
26c94124ab1d98baaec26819302bd8437c0ce8d5aedaa5e753e95a2b77410d8d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

Security for notepipe 0.3.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.

Full provenance

All 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for notepipe-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

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