frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Yt-transcriber – Give a YouTube URL and get a transcription

https://github.com/pmarreck/yt-transcriber
154•Bluestein•11h ago

Comments

cmaury•10h ago
Thanks for sharing. This is exactly the type of utility that vibecoding is for. It takes 5 secons to ask GPT to write a scripr to do this tailored to your specific use case. It's way faster than trying to get someone elses repo up and running.
Bluestein•10h ago
Sure thing ...

And, yes, indeed, AI-coding is order-of-magnitude having an effect along the lines that "low-code" was treading ...

... also, for less-capable coders or "borderline" coders the effort/benefit equation has radically shifted.-

sannysanoff•9h ago
Selfware.

https://old.reddit.com/r/ChatGPTCoding/comments/1lusr07/self...

Gonna be lots of posts of selfware like that soon.

Bluestein•9h ago
I think you either coined (kudos) or spotted the true "term du jour" here.-
sannysanoff•9h ago
people don't even get it :-]
cmaury•7h ago
I like it, though I'm sure we'll end up being stuck with "vibe ware"
mikeve•10h ago
Interesting project! I've been working on a project in this space myself (WaveMemo)

I must say, speaker diarization is surprisingly tricky to do. The most common approach seems to be to use pyannote, but the quality is not amazing...

ethan_smith•9h ago
For better diarization quality than pyannote, check out Whisper-DiarizationX which combines Whisper with ECAPA-TDNN speaker embeddings and spectral clustering.
paulirish•10h ago
Can also just fetch the subs already in YouTube rather than retranscribing. eg:

yt-dlp --write-auto-subs --skip-download "https://www.youtube.com/watch?v=7xTGNNLPyMI"

toomuchtodo•10h ago
It's a good call out. I leverage yt-dlp as a library for downstream tooling (archival of media to long term storage repositories), and always recommend folks rely on yt-dlp whenever possible due to the ecosystem of folks grinding to keep their extractors current. Their maintainers are both helpful and responsive.

(with that said, I do not want to diminish OP's work in any way; great job! "What I cannot build, I do not understand" - Feynman)

paulirish•10h ago
Same, yup. OP is indeed already using yt-dlp for the video download. (Then Whisper for transcribing, Ollama/lmstudio/OpenAI for summarizing)
hiAndrewQuinn•8h ago
Minus the summarization, that is the same pipeline I use in [1] for generating listening practice Anki flashcards for foreign language students. It surprised me that nobody had really built out a program I could find around yt-dlp and Whisper for this kind of use case even a few years after it came out.

[1]: https://github.com/hiAndrewQuinn/audio2anki

Jerry2•10h ago
Yep. You can also automatically save them if you use mpv to watch YT: https://github.com/nick-s-b/mpv-transcript discovered this script yesterday.
adamgordonbell•10h ago
Recently, I was working on a similar project and I found that grabbing the transcripts quickly leads to your IP being blocked for the transcripts.

I ended up doing the same as this person, downloading the MP4s and then transcribing myself. I was assuming it was some sort of anti LLM scraper feature they put in place.

Has anyone used this --write-auto-subs flag and not been flagged after doing 20 or so videos?

hamiecod•7h ago
—-write-auto-subs gets your IP banned for 12/24 hours if you download video subtitles in bulk but if the subtitles are downloaded with sufficient time gap in between, the ban is not triggered.

My startup has to utilize youtube transcriptions so we just subscribe to a youtube transcriptor api hosted on rapidapi that downloads subtitles. 1$ per 1000 reqs. Pretty cheap

MysticOracle•6h ago
Yep, this happened to me & got IP banned for a day.
ldenoue•5h ago
Unless you fetch directly from your browser. It works by getting the YouTube json including the captions track. And then you get the baseUrl to download the xml.

I wrote this webapp that uses this method: it calls Gemini in the background to polish the raw transcript and produce a much better version with punctuation and paragraphs.

https://www.appblit.com/scribe

Open source with code to see how to fetch from YouTube servers from the browser https://ldenoue.github.io/readabletranscripts/

thangalin•3h ago

    systemctl start tor
    yt-dlp --proxy socks5://127.0.0.1:9050 --write-subs --write-auto-subs --skip-download [URL]
See: https://github.com/noobpk/auto-change-tor-ip
mckirk•9h ago
I've found the YT transcripts to be severely lacking sometimes, in accuracy and features. Especially speaker identification is really useful if you want to e.g. summarize podcasts or interviews, so if this project here delivers on that then it's definitely better than the YT transcripts.
stanleykm•9h ago
I’ve had some success with running them through another LLM to have it clean up the transcription errors based on the context. But this obviously does nothing for speaker identitication.
paulirish•9h ago
An approach I've been using recently is to rely on pyannote/tinydiarize only for the speaker_turn timestamps, but prefer the larger model (or in this case YT's autotranscript) for the actual text.
ldenoue•5h ago
Check out https://ldenoue.github.io/readabletranscripts/ and the website https://www.appblit.com/scribe that use Gemini to post correct the raw transcripts
rpastuszak•9h ago
IIRC YT also has a "private" API you can call directly (or via an npm package: youtube-transcribe).

(I'm using it in https://butter.sonnet.io)

0points•10h ago
Youtube already offers AI transcriptions on their site. As another commenter points out, you grab them with yt-dlp.

And unlike how your tool will be supported in the future, thousands of users make sure yt-dlp keeps working as google keep changing the site (currently 1459 contributors).

passivegains•9h ago
the volunteer open source effort behind youtube-dl and its forks/descendants are so impressive in large part because of how many features they provide and thus have to maintain: https://github.com/yt-dlp/yt-dlp#usage-and-options this tool won't provide the list of available thumbnails or settings for HTTP buffer size, but I think that's a pretty reasonable tradeoff.
swyx•9h ago
if you used this in earnest sufficiently, you'd know yt default transcripts are not good enough because youtube often (ok say 5% of time) fails to transcribe videos particularly livestreams and shortly after release.

youtube also blocks transcript exports for some things like https://youtubetranscript.com/

retranscribing is necessary and important part of the creator toolset.

isubkhankulov•9h ago
I’ve been using this free tool. It gives quality diarized transcripts https://contentflow.megalabs.co
yunusabd•1h ago
Did you build this? I'm looking for an API that does this.
Leftium•9h ago
Two similar Show HN projects:

- This python one is more amenable to modding into your own custom tool: https://hw.leftium.com/#/item/44353447

- Another bash script: https://hw.leftium.com/#/item/41473379

---

They all seem to be built on top of:

- yt-dlp to download video

- whisper for transcription

- ffmpeg for audio/video extraction/processing

eigenvalue•8h ago
I made a tool like this a while ago which was useful for transcribing a whole playlist automatically using whisper:

https://github.com/Dicklesworthstone/bulk_transcribe_youtube...

I ended up turning a beefed up version of it which makes polished written documents from the raw transcript, you can try it at

https://youtubetranscriptoptimizer.com/

totallynotryan•7h ago
Hey all, I built a 100% free (no-signup) youtube summarizer: "https://youtube-summarizer-lime.vercel.app/". Accurate summaries in under 8 seconds.
93po•7h ago
bookmarked, thanks, the top google search results always require sign-up. frustrating state of the internet
dudeWithAMood•5h ago
How did you get around youtube blocking cloud IP ranges? Are you suing residential proxies?
lpeancovschi•7h ago
Youtube's T&C don't allow downloading youtube audio/video. How do other services get away with it?
MysticOracle•5h ago
I think they use rotating IP/Proxy services
lpeancovschi•5h ago
Might be, but I think google would still be able to chase them down.
nadermx•5h ago
"The court held that merely clicking on a download button does not show consent with license terms, if those terms were not conspicuous and if it was not explicit to the consumer that clicking meant agreeing to the license."

https://en.m.wikipedia.org/wiki/Specht_v._Netscape_Communica...

lpeancovschi•5h ago
I'm not a lawyer but I think even if you offset the legal responsibilities to the user by alerting them with copyrights prompt it's still illegal to download youtube videos.
nadermx•4h ago
United States v. Auernheimer, 748 F.3d 525 (3d Cir. 2014). Specifically, on page 12, footnote 5, the court states:

“We also note that in order to be guilty of accessing ‘without authorization, or in excess of authorization’ under New Jersey law, the Government needed to prove that Auernheimer or Spitler circumvented a code- or password-based barrier to access... The account slurper simply accessed the publicly facing portion of the login screen and scraped information that AT&T unintentionally published.”

manishsharan•6h ago
Will this make Google mad at me and cancel/freeze all my Google services ?
labrador•6h ago
Many channels I follow, such as Vlad Vexler, have taken measures so you can't download the transcript with yt-dlp. Furthermore, they don't provide a transcipt option on their videos. I assume this is to prevent people from just reading AI summaries, which is annoying in Vexler's case because he talks slowly and meanders around. If I really want to hear his point but don't want to listen to that then I download the video with yt-dlp and use Whisper to transcribe it.
Bluestein•5h ago
... the ... slower ... the guy the ... less ... content ... and ... more ... advertising.-
rs186•2h ago
Curious, if you don't find this "annoying", why are you still following the channel? There must be other YouTube channels that offer similar content but deliver it in a better way.
labrador•5m ago
Vlad is a smart guy but slow. Think of him as a brilliant snail.
arkaic•6h ago
On this note, is Ytube also the best transcriber of foreign languages or is there something better?
MysticOracle•5h ago
For (English only) speech-to-text, NVIDIA's Parakeet-V2 is significantly faster than Whisper and I found it to be more accurate.

https://huggingface.co/nvidia/parakeet-tdt-0.6b-v2

For Apple Silicon (MLX) https://huggingface.co/senstella/parakeet-tdt-0.6b-v2-mlx

driscoll42•5h ago
Compared to all Whister models? Or the faster ones? And which version of Whisper? All for a faster, more accurate model, but need a bit more.
ipsum2•5h ago
All of them, in my experience.
driscoll42•5h ago
Fair, looking at the ASR leaderboards it is truly better - https://huggingface.co/spaces/hf-audio/open_asr_leaderboard and NVIDIA's Canary might be even better? Will try these out. Appreciate bringing these to my attention!
dudeWithAMood•5h ago
I did something similar piping the output of the youtube-transcript-api python package to openAI's api: https://github.com/DavidZirinsky/tl-dw/
toddmorey•3h ago
Always fascinated to read CLAUDE.md files that are appearing in more and more open source projects: https://github.com/pmarreck/yt-transcriber/blob/yolo/CLAUDE....

I'd be really curious to see some sort of benchmark / evaluation of these context resources against the same coding tasks. Right now, the instructions all sound so prescriptive and authoritative, yet is really hard to evaluation their effectiveness.

yunusabd•1h ago
I tried it on a M1 Pro MBP using Docker. It's quite slow (no MPS) and there are no timestamps in the resulting transcript. But the basics are there. Truncated output:

  Fetching video metadata...
  Downloading from YouTube...
  Generating transcript using medium model...

  === System Information ===
  CPU Cores: 10
  CPU Threads: 10
  Memory: 15.8GB
  PyTorch version: 2.7.1+cpu
  PyTorch CUDA available: False
  MPS available: False
  MPS built: False
  
  Falling back to CPU only
  Model stored in: /home/app/.cache/whisper
  Loading medium model into CPU...
  100%|| 1.42G/1.42G [02:05<00:00, 12.2MiB/s]
  Model loaded, transcribing...
  Model size: 1457.2MB
  Transcription completed in 468.70 seconds
  === Video Metadata ===
  Title: 厨师长教你:“酱油炒饭”的家常做法,里面满满的小技巧,包你学会炒饭的最香做法,粒粒分明!
  Channel: Chef Wang 美食作家王刚
  Upload Date: 20190918
  Duration: 5:41
  URL: https://www.youtube.com/watch?v=1Q-5eIBfBDQ
  === Transcript ===
  
  哈喽大家好我是王刚本期视频我跟大家分享...

Qwen3-Coder: Agentic coding in the world

https://qwenlm.github.io/blog/qwen3-coder/
244•danielhanchen•4h ago•82 comments

You can't color calibrate deep space photos

https://maurycyz.com/misc/cc/
23•LorenDB•58m ago•4 comments

More than you wanted to know about how Game Boy cartridges work

https://abc.decontextualize.com/more-than-you-wanted-to-know/
173•todsacerdoti•5h ago•17 comments

Android Earthquake Alerts: A global system for early warning

https://research.google/blog/android-earthquake-alerts-a-global-system-for-early-warning/
173•michaefe•6h ago•54 comments

Swift-erlang-actor-system

https://forums.swift.org/t/introducing-swift-erlang-actor-system/81248
214•todsacerdoti•6h ago•43 comments

Algorithms for Modern Processor Architectures

https://lemire.github.io/talks/2025/sea/sea2025.html
36•matt_d•2h ago•3 comments

We built an air-gapped Jira alternative for regulated industries

https://plane.so/blog/everything-you-need-to-know-about-plane-air-gapped
138•viharkurama•5h ago•86 comments

A media company demanded a license fee for an Open Graph image I used on Twitter

https://alistairshepherd.uk/writing/open-graph-licensing/
61•cheeaun•46m ago•24 comments

Comparing the Glove80 and Maltron Keyboards

https://tratt.net/laurie/blog/2025/comparing_the_glove80_and_maltron_keyboards.html
34•ltratt•3h ago•13 comments

Americans are paying for tariffs, not foreign companies

https://www.bloomberg.com/news/articles/2025-07-22/us-companies-and-consumers-are-paying-for-trump-s-tariffs
93•petethomas•6h ago•71 comments

Don't animate height

https://www.granola.ai/blog/dont-animate-height
274•birdculture•3d ago•157 comments

Subliminal learning: Models transmit behaviors via hidden signals in data

https://alignment.anthropic.com/2025/subliminal-learning/
114•treebrained•7h ago•29 comments

Why Does Raising the Retirement Age Hurt Young People?

https://www.governance.fyi/p/why-does-raising-the-retirement-age
8•daveland•47m ago•6 comments

Firebender (YC W24) Is Hiring

https://www.ycombinator.com/companies/firebender/jobs/yisDXr5-founding-engineer-generalist
1•kevo1ution•4h ago

TODOs aren't for doing

https://sophiebits.com/2025/07/21/todos-arent-for-doing
261•todsacerdoti•11h ago•159 comments

TapTrap: Animation‑Driven Tapjacking on Android

https://taptrap.click/
7•Bogdanp•1h ago•0 comments

Gemini North telescope discovers long-predicted stellar companion of Betelgeuse

https://www.science.org/content/article/betelgeuse-s-long-predicted-stellar-companion-may-have-been-found-last
100•layer8•8h ago•26 comments

Hegel Dust

https://www.bookforum.com/print/3201/hegel-dust-62209
5•pepys•1d ago•0 comments

NonRAID – fork of unRAID array kernel module

https://github.com/qvr/nonraid
48•qvr•4h ago•37 comments

Show HN: Compass CNC – Open-source handheld CNC router

https://www.compassrouter.com
105•camchaney•3d ago•22 comments

Font Comparison: Atkinson Hyperlegible Mono vs. JetBrains Mono and Fira Code

https://www.anthes.is/font-comparison-review-atkinson-hyperlegible-mono.html
173•maybebyte•10h ago•119 comments

Tiny Code Reader: a $7 QR code sensor

https://excamera.substack.com/p/tiny-code-reader-a-7-qr-code-sensor
110•jamesbowman•8h ago•33 comments

Fun with gzip bombs and email clients

https://www.grepular.com/Fun_with_Gzip_Bombs_and_Email_Clients
108•bundie•6h ago•35 comments

I watched Gemini CLI hallucinate and delete my files

https://anuraag2601.github.io/gemini_cli_disaster.html
66•anuraag2601•6h ago•92 comments

Gitea Private, Fast, Reliable DevOps Platform

https://about.gitea.com/
22•Bluestein•2d ago•17 comments

My favourite German word

https://vurt.org/articles/my-favourite-german-word/
58•taubek•3d ago•56 comments

First Hubble telescope images of interstellar comet 3I/ATLAS

https://bsky.app/profile/astrafoxen.bsky.social/post/3luiwnar3j22o
85•jandrewrogers•8h ago•20 comments

OSS Rebuild: open-source, rebuilt to last

https://security.googleblog.com/2025/07/introducing-oss-rebuild-open-source.html
134•tasn•11h ago•46 comments

Many lung cancers are now in nonsmokers

https://www.nytimes.com/2025/07/22/well/lung-cancer-nonsmokers.html
97•alexcos•9h ago•119 comments

Show HN: Phind.design – Image editor & design tool powered by 4o / custom models

https://phind.design
26•rushingcreek•7h ago•10 comments