A simple CLI to fetch plain text transcripts in english from YouTube videos. Powered by youtube-transcript-api.
Project description
yttan
yttran (“YouTube Transcript”) is a lightweight CLI tool that allows you to quickly fetch the plain transcript text from YouTube videos without downloading the video itself. It leverages the official youtube-transcript-api and can be run via uvx for easy, one-step usage.
Problem
YouTube videos often have captions or auto-generated transcripts.
There are websites like https://transcribefromyoutube.com/ that one can use to get a transcript but they require you to leave the terminal and copy paste the text for further processing. Further processing to extract summaries and wisdonm can be done with tools like Claude AI, ChatGPT or Fabric.
- Downloading full videos just to get text is cumbersome.
- Subtitles come in
.srtor.vttformats, which include timestamps, numbering, and formatting tags. - Cleaning and deduplicating these files is tedious, especially when automating workflows.
yttran solves this by providing a single command to get clean, readable transcript text, ready for pipelines, research, or note-taking.
Dependency
uv manages project dependencies and environments for python packages.
See https://docs.astral.sh/uv/#installation
Installation
If you have uvx installed, you can run yttan directly from PyPI without manual dependency management:
uvx yttran <youtube-video-url-or-id> > transcript.txt
Project details
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 yttran-0.1.0.tar.gz.
File metadata
- Download URL: yttran-0.1.0.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aeeb1593df390ec8518f2a30faef96c589db6886791208f672cf3f915d4b9b84
|
|
| MD5 |
1a8ab7e965502d6b9307db42d8c8641d
|
|
| BLAKE2b-256 |
4ed33f66f1587ef062f8036290379fd8fb72d34d01cb7173580741875a2fc0ee
|
File details
Details for the file yttran-0.1.0-py3-none-any.whl.
File metadata
- Download URL: yttran-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ebf1866412518eb6257465b314dbcb9163ff48264c477098cc75d07dc00eb9e7
|
|
| MD5 |
e3b1c632d842c709835819296ac0d199
|
|
| BLAKE2b-256 |
be9c1925e46f205f0039179b8fc920b067da20dd0b9e5c29563809d39f9298bd
|