Skip to main content

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 .srt or .vtt formats, 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

yttran-0.1.0.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yttran-0.1.0-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

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

Hashes for yttran-0.1.0.tar.gz
Algorithm Hash digest
SHA256 aeeb1593df390ec8518f2a30faef96c589db6886791208f672cf3f915d4b9b84
MD5 1a8ab7e965502d6b9307db42d8c8641d
BLAKE2b-256 4ed33f66f1587ef062f8036290379fd8fb72d34d01cb7173580741875a2fc0ee

See more details on using hashes here.

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

Hashes for yttran-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ebf1866412518eb6257465b314dbcb9163ff48264c477098cc75d07dc00eb9e7
MD5 e3b1c632d842c709835819296ac0d199
BLAKE2b-256 be9c1925e46f205f0039179b8fc920b067da20dd0b9e5c29563809d39f9298bd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page