Turn video and audio into Markdown notes.
The transcript in readable paragraphs, arranged around screenshots of what was on screen,
optionally proofread, summarized or extended by the AI model of your choice.
notepipe lecture.mp4
---
title: "Introduction to Compilers"
source: "https://www.youtube.com/watch?v=…"
author: "Example University"
duration: "1:12:40"
created: "2026-10-21T09:30:00Z"
generator: "notepipe 0.1.0"
---
# 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)

The first stage is lexical analysis. The scanner reads characters and groups them into tokens such as identifiers,
numbers and operators.
notepipe works on lectures, talks, meetings and podcasts. It is a dependable command-line tool on its own, and a component that other programs can build on.
Why notepipe
- Extensible without forking. Websites, local speech engines and vendor APIs are adapters: small separate programs with a documented contract, written in any language, installed as extras and attached with one line of configuration. What the AI does is a prompt you write. A hook runs your own program after each note.
- Portable. A single binary for Linux and macOS on x86_64 and arm64 and for Windows on x86_64, and it builds on Android through Termux. Its only requirement is ffmpeg. Speech recognition and AI go through OpenAI-compatible APIs, so any provider, a server of your own or a local engine will do; no account, vendor or model is built in.
- Reliable. A note is built completely before it replaces the previous one, so a failed or interrupted run never leaves a half-written or lost note. Finished work is cached: downloads, screenshots, transcripts and AI responses are reused, and an interrupted transcription resumes where it stopped. Ctrl-C stops every process notepipe started. Every code change is tested in CI on Linux, macOS and Windows.
- Plain, durable output. Markdown, JPEG and JSON in an ordinary folder, readable by any editor, notes app or script.
- Private. No telemetry. Audio and text go only to the services you configure, or nowhere at all with local adapters.
docs/design.md describes the design and the principles behind it.
Contents
Installation · Quick start · Configuration · Speech recognition · AI stages and prompts · Adapters · The note · Using notepipe from other programs · Acknowledgements
Installation
notepipe needs ffmpeg on your PATH (brew install ffmpeg, sudo apt install ffmpeg, winget install ffmpeg, or pkg install ffmpeg in Termux).
Install it with uv, choosing the extras for what you need:
| You want notes from | Install |
|---|---|
| local video and audio files | uv tool install notepipe |
| … and URLs (YouTube and the other sites yt-dlp supports) | uv tool install "notepipe[ytdlp]" |
| … with local speech recognition through llama.cpp | uv tool install "notepipe[llama]" |
| … with local speech recognition on an Intel NPU, CPU or GPU | uv tool install "notepipe[openvino]" |
| … with local speech recognition on Apple silicon | uv tool install "notepipe[speech-swift]" |
| … with xAI speech-to-text | uv tool install "notepipe[xai]" |
| … with Meta speech-to-text | uv tool install "notepipe[meta]" |
| any combination | uv tool install "notepipe[ytdlp,llama]" |
Running uv tool install again replaces the installation, including its extras and --with packages, so list
everything you want each time; uv tool list --show-extras --show-with shows the current set. pip and pipx accept the
same extras.
Other ways to install:
- Cargo:
cargo install notepipeinstalls the CLI; add adapters with pip or uv. - Prebuilt binaries: every GitHub release has binaries and checksums for Linux, macOS and Windows.
- Android: in Termux, run
pkg install rust ffmpeg python, thencargo install notepipe; add adapters withpip install notepipe-source-ytdlpand the like.
| Platform | Architectures | Install with | Tested |
|---|---|---|---|
| Linux | x86_64, arm64 | uv, pip, pipx, Cargo, binary | in CI (x86_64) and containers (arm64) |
| macOS | arm64, x86_64 | uv, pip, pipx, Cargo, binary | in CI (arm64) |
| Windows | x86_64 | uv, pip, pipx, Cargo, binary | in CI |
| Android (Termux) | arm64 | Cargo, pip | in a Termux container |
Quick start
notepipe lecture.mp4 # writes ./<title>/note.md
notepipe interview.m4a -o ~/notes # audio works too; notes go under ~/notes
notepipe talk.mp4 --subtitle talk.srt # use a transcript you already have
notepipe https://youtu.be/VIDEO_ID # a URL, with notepipe[ytdlp]
notepipe lecture.mp4 --stages summary # add an AI summary at the top
Subtitles are used when they exist: lecture.srt or lecture.vtt next to the file, or those of the video at the URL.
Otherwise speech is transcribed; the first run in a terminal asks which speech service to use and saves the answer.
notepipe doctor checks your setup, and notepipe --help explains every option.
Configuration
notepipe config init # create the configuration file, with every setting explained in comments
notepipe config path # print where it is
notepipe config show # show the settings in effect
The file is ~/.config/notepipe/config.toml, or %APPDATA%\notepipe\config.toml on Windows ($XDG_CONFIG_HOME/notepipe/
when that is set). Its sections follow the order in which a note is made, and every command-line option names the
setting it overrides:
[output]
dir = "~/notes"
[transcript]
language = "ko" # empty: detect
[speech] # used when there are no subtitles
base_url = "https://api.openai.com/v1"
model = "gpt-4o-mini-transcribe"
[screenshots]
mode = "stable" # wait for animated slides to settle
[ai] # shared by every AI stage
base_url = "https://api.openai.com/v1"
model = "gpt-5.6-luna"
[[ai.stages]] # stages run in this order
name = "proofread"
[[ai.stages]]
name = "summary"
model = "gpt-5.6-terra" # a stage can use its own model, service, key or prompt
request = { reasoning_effort = "medium" }
API keys can stay out of the file: NOTEPIPE_SPEECH_API_KEY and NOTEPIPE_AI_API_KEY are used when it has none.
docs/configuration.md lists every setting.
Speech recognition
Speech is located on your machine, cut into short segments and sent to the service in [speech].
| Service | [speech] settings |
|---|---|
| OpenAI | base_url = "https://api.openai.com/v1", model = "gpt-4o-mini-transcribe" |
| Groq | base_url = "https://api.groq.com/openai/v1", model = "whisper-large-v3-turbo" |
| Mistral | base_url = "https://api.mistral.ai/v1", model = "voxtral-mini-latest" |
| Audio-capable chat models | api = "chat" with the provider's base_url and model |
| Any OpenAI-compatible server you run | its base_url |
| xAI, Meta | the xai or meta adapter |
| llama.cpp, Intel NPU, Apple silicon (on your machine) | the llama, openvino or speech-swift adapter |
AI stages and prompts
An AI stage sends the note to an OpenAI-compatible chat model with a prompt, and puts the answer back into the note. It reads either each paragraph or the whole transcript, and writes in place of each paragraph, below it, or at the top of the note. Stages run in the order you list them, each with its own model if you like.
Two stages are built in: proofread corrects recognition errors and removes filler, and summary adds an overview, key
points and a timed outline. Every prompt is yours to change. Give a built-in stage your own prompt:
[[ai.stages]]
name = "summary"
prompt = "Summarize this lecture for a student who missed it: the main argument, each new term with its definition, and what to review."
or write a stage of your own in a few lines:
[[ai.stages]]
name = "translate"
input = "paragraphs" # each paragraph …
output = "below" # … gets the model's answer underneath
prompt = "Translate each item into Korean. Keep names, code and formulas unchanged."
[[ai.stages]]
name = "action-items"
input = "transcript" # the whole transcript …
output = "top" # … and the answer at the top of the note
prompt = "List the decisions and action items in this meeting as a Markdown checklist, with owners where named."
--stages translate,summary picks stages for one run, --no-stages skips them, and --proofread-prompt replaces the
proofread prompt once. Any OpenAI-compatible chat service works, including OpenAI, Anthropic
(https://api.anthropic.com/v1), Google Gemini (https://generativelanguage.googleapis.com/v1beta/openai), OpenRouter,
Groq, and local servers such as Ollama (http://localhost:11434/v1) or LM Studio. Anything else, such as the OpenAI
Responses API or access through a subscription, connects through an AI adapter.
Adapters
Adapters connect notepipe to things it does not do itself: downloading from websites, and speech engines or AI services
that are not OpenAI-compatible. Each is a separate package with a small program that notepipe starts when needed. The
official adapters are extras of the notepipe package; install several at once with uv tool install "notepipe[ytdlp,llama]".
ytdlp — URLs
Downloads from YouTube and the other sites yt-dlp supports, with the video's subtitles and details. It honors your yt-dlp configuration and is used for URLs as soon as it is installed.
uv tool install "notepipe[ytdlp]"
llama — llama.cpp
Runs a speech model such as Qwen3-ASR with llama.cpp's llama-server, on a
CPU or GPU. Requires llama-server.
uv tool install "notepipe[llama]"
[speech]
adapter = ["notepipe-asr-llama", "-hf", "ggml-org/Qwen3-ASR-1.7B-GGUF:Q8_0"]
concurrency = 1
openvino — Intel NPU, CPU or GPU
Runs Qwen3-ASR or Whisper with OpenVINO, on an Intel NPU by default.
uv tool install "notepipe[openvino]"
[speech]
adapter = ["notepipe-asr-openvino"] # add "--device", "CPU" (or "GPU") to choose the device
concurrency = 1
speech-swift — Apple silicon
Runs Qwen3-ASR on MLX, or Qwen3-ASR 0.6B and Whisper on Core ML, with speech-swift. macOS 15 or later on Apple silicon. Built in CI; not yet verified on hardware.
uv tool install "notepipe[speech-swift]"
[speech]
adapter = ["notepipe-asr-speech-swift"]
concurrency = 1
xai — xAI speech-to-text
Connects notepipe to xAI's speech-to-text API.
uv tool install "notepipe[xai]"
[speech]
adapter = ["notepipe-asr-xai"]
model = "grok-voice-transcribe-2.0" # the key comes from api_key or NOTEPIPE_SPEECH_API_KEY
meta — Meta speech-to-text
Connects notepipe to Meta's speech-to-text API.
uv tool install "notepipe[meta]"
[speech]
adapter = ["notepipe-asr-meta"]
model = "muse-voice-transcribe-1.0" # the key comes from api_key or NOTEPIPE_SPEECH_API_KEY
Your own
An adapter is any program that follows a short contract, so it can be written in any language; a complete example in
Python takes a few dozen lines. docs/adapters.md describes all three kinds: speech, AI and download.
Install one next to notepipe with uv tool install notepipe --with <package>, or put it on your PATH.
The note
Each note is a folder named after the title:
Introduction to Compilers/
├── note.md Markdown with YAML front matter
├── note.json the same content as data
└── images/ 0001.jpg, 0002.jpg, …
A later run on the same recording replaces its folder; a different recording with the same title gets a -2, -3, …
suffix, and a recording whose title has changed gets a folder for its new title. Each section's time links to the recording, at that moment where the source allows it.
Using notepipe from other programs
The command line is notepipe's integration interface. Pass settings on standard input and read progress as JSON lines:
notepipe "$SOURCE" -o "$OUT" --config - --json < config.toml
docs/cli.md documents the events, exit codes, note.json, caching, and the completion hook that runs your
own program after each note is written.
Project status
notepipe is young (0.x). The configuration format, the command-line interface and note.json may still change; every
change is recorded in the changelog.
Contributing
Issues and pull requests are welcome; CONTRIBUTING.md explains how to build, test and propose a change. Please report security problems privately, as described in SECURITY.md.
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.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| notepipe-0.1.0.tar.gz | 253.5 kB | With provenance | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| notepipe-0.1.0-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details |
| notepipe-0.1.0-py3-none-manylinux_2_28_x86_64.whl | Python 3 | none | Linux glibc 2.28+ x86-64 | Details |
| notepipe-0.1.0-py3-none-manylinux_2_28_aarch64.whl | Python 3 | none | Linux glibc 2.28+ ARM64 | Details |
| notepipe-0.1.0-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details |
| notepipe-0.1.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.1.0.tar.gz
| Download URL | notepipe-0.1.0.tar.gz |
|---|---|
| Size | 253.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
542e6e7d138133bea7e5206ba9c79a8d9ae99dcbbd30595c5e1651e0c9dee744
|
|
BLAKE2b-256 checksum How to use checksums |
9cfd9db47dbf0f1f0308ab1eb797c509af50c2fa6efe1ba2011553d61a01d0a6
|
| 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 logRelease files / notepipe-0.1.0-py3-none-win_amd64.whl
| Download URL | notepipe-0.1.0-py3-none-win_amd64.whl |
|---|---|
| Size | 3.1 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
07db3b9758cacab511abffae632d878d46505f88f07828c5acf48e38e2db0a20
|
|
BLAKE2b-256 checksum How to use checksums |
58438f42976da391a3467f109ee832d4a38c601b5713f41678562aa59da0ffa4
|
| 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 logRelease files / notepipe-0.1.0-py3-none-manylinux_2_28_x86_64.whl
| Download URL | notepipe-0.1.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 |
7b394e1817bacbad1a451685ed9ca2847fca41cfcc1eed6bc5c357b1221beef2
|
|
BLAKE2b-256 checksum How to use checksums |
30b145637daec98a371ad119f12af886bebd97065aa15c369529ae108f07b5fe
|
| 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 logRelease files / notepipe-0.1.0-py3-none-manylinux_2_28_aarch64.whl
| Download URL | notepipe-0.1.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 |
36e86dde10c4af4ca65433997728d2915fb477f0f898648709c809dd43748fe2
|
|
BLAKE2b-256 checksum How to use checksums |
267d250fe4180d04d79076e941d32d5987cc5cf8b63db7100404437694f2fed3
|
| 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 logRelease files / notepipe-0.1.0-py3-none-macosx_11_0_arm64.whl
| Download URL | notepipe-0.1.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 |
1a62aae1f510b5620798dc922f6eea41f7707c4d8298fd0273a675e47f65d975
|
|
BLAKE2b-256 checksum How to use checksums |
b265abfe4635af987656db166446411a5c5320ae5191ed4ec08344b642c95e4d
|
| 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 logRelease files / notepipe-0.1.0-py3-none-macosx_10_12_x86_64.whl
| Download URL | notepipe-0.1.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 |
2af70318314dd2659985541bc3c231ecc96d8ccdc4cf021e825bdc8cd437a7db
|
|
BLAKE2b-256 checksum How to use checksums |
b5ba5399c641d05db7c24fd4803b23b32b21212762234314687d20918f59d26a
|
| 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 logSecurity for notepipe 0.1.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.
Attestation for notepipe-0.1.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 logA 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.