frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

OpenCiv3: Open-source, cross-platform reimagining of Civilization III

https://openciv3.org/
494•klaussilveira•8h ago•135 comments

The Waymo World Model

https://waymo.com/blog/2026/02/the-waymo-world-model-a-new-frontier-for-autonomous-driving-simula...
835•xnx•13h ago•500 comments

How we made geo joins 400× faster with H3 indexes

https://floedb.ai/blog/how-we-made-geo-joins-400-faster-with-h3-indexes
52•matheusalmeida•1d ago•9 comments

A century of hair samples proves leaded gas ban worked

https://arstechnica.com/science/2026/02/a-century-of-hair-samples-proves-leaded-gas-ban-worked/
108•jnord•4d ago•17 comments

Monty: A minimal, secure Python interpreter written in Rust for use by AI

https://github.com/pydantic/monty
162•dmpetrov•8h ago•75 comments

Show HN: Look Ma, No Linux: Shell, App Installer, Vi, Cc on ESP32-S3 / BreezyBox

https://github.com/valdanylchuk/breezydemo
165•isitcontent•8h ago•18 comments

Dark Alley Mathematics

https://blog.szczepan.org/blog/three-points/
59•quibono•4d ago•10 comments

Show HN: I spent 4 years building a UI design tool with only the features I use

https://vecti.com
274•vecti•10h ago•127 comments

Show HN: If you lose your memory, how to regain access to your computer?

https://eljojo.github.io/rememory/
221•eljojo•11h ago•138 comments

Microsoft open-sources LiteBox, a security-focused library OS

https://github.com/microsoft/litebox
337•aktau•14h ago•163 comments

Show HN: ARM64 Android Dev Kit

https://github.com/denuoweb/ARM64-ADK
11•denuoweb•1d ago•0 comments

Sheldon Brown's Bicycle Technical Info

https://www.sheldonbrown.com/
332•ostacke•14h ago•89 comments

PC Floppy Copy Protection: Vault Prolok

https://martypc.blogspot.com/2024/09/pc-floppy-copy-protection-vault-prolok.html
34•kmm•4d ago•2 comments

Hackers (1995) Animated Experience

https://hackers-1995.vercel.app/
420•todsacerdoti•16h ago•221 comments

An Update on Heroku

https://www.heroku.com/blog/an-update-on-heroku/
355•lstoll•14h ago•246 comments

Female Asian Elephant Calf Born at the Smithsonian National Zoo

https://www.si.edu/newsdesk/releases/female-asian-elephant-calf-born-smithsonians-national-zoo-an...
15•gmays•3h ago•2 comments

Delimited Continuations vs. Lwt for Threads

https://mirageos.org/blog/delimcc-vs-lwt
9•romes•4d ago•1 comments

Show HN: R3forth, a ColorForth-inspired language with a tiny VM

https://github.com/phreda4/r3
56•phreda4•7h ago•9 comments

How to effectively write quality code with AI

https://heidenstedt.org/posts/2026/how-to-effectively-write-quality-code-with-ai/
209•i5heu•11h ago•152 comments

I spent 5 years in DevOps – Solutions engineering gave me what I was missing

https://infisical.com/blog/devops-to-solutions-engineering
121•vmatsiiako•13h ago•47 comments

Introducing the Developer Knowledge API and MCP Server

https://developers.googleblog.com/introducing-the-developer-knowledge-api-and-mcp-server/
32•gfortaine•5h ago•6 comments

Learning from context is harder than we thought

https://hy.tencent.com/research/100025?langVersion=en
157•limoce•3d ago•79 comments

Understanding Neural Network, Visually

https://visualrambling.space/neural-network/
257•surprisetalk•3d ago•33 comments

I now assume that all ads on Apple news are scams

https://kirkville.com/i-now-assume-that-all-ads-on-apple-news-are-scams/
1011•cdrnsf•17h ago•421 comments

FORTH? Really!?

https://rescrv.net/w/2026/02/06/associative
51•rescrv•16h ago•17 comments

I'm going to cure my girlfriend's brain tumor

https://andrewjrod.substack.com/p/im-going-to-cure-my-girlfriends-brain
90•ray__•4h ago•41 comments

Evaluating and mitigating the growing risk of LLM-discovered 0-days

https://red.anthropic.com/2026/zero-days/
43•lebovic•1d ago•12 comments

How virtual textures work

https://www.shlom.dev/articles/how-virtual-textures-really-work/
34•betamark•15h ago•29 comments

Show HN: Smooth CLI – Token-efficient browser for AI agents

https://docs.smooth.sh/cli/overview
78•antves•1d ago•59 comments

Show HN: Slack CLI for Agents

https://github.com/stablyai/agent-slack
43•nwparker•1d ago•11 comments
Open in hackernews

YouTube Playlist Downloader

https://github.com/Linuxmaster14/yt-playlist-downloader
56•linuxmaster14•1mo ago

Comments

xnx•1mo ago
yt-dlp is second only to ffmpeg in being a pillar of functionality that gets frequently wrapped in convenience scripts
graynk•1mo ago
In this case I'm not sure why a convenience wrapper is even needed, yt-dlp already works with playlists just fine
jasode•1mo ago
>I'm not sure why a convenience wrapper is even needed,

Author wanted yt-dlp to be fed with a custom text file: "playlists.txt"

The script loops through that text file, parses it, and then launches yt-dlp for each valid line with a channel name.

bramhaag•1mo ago
Which is essentially just this:

    yt-dlp -o "%(channel)s/%(playlist_title)s/%(title)s.%(ext)s" -a playlists.txt
I'm not sure if that warrants a HN post
taylorfinley•1mo ago
Right? Just add this to .bashrc:

alias yt-pl='yt-dlp -o "%(channel)s/%(playlist_title)s/%(title)s.%(ext)s" -a playlists.txt'

graynk•1mo ago
So -o "%(channel)s - %(title)s.%(ext)s", --batch-file and optionally --download-archive?

https://github.com/yt-dlp/yt-dlp#:~:text=channel%20%28string...

https://github.com/yt-dlp/yt-dlp#:~:text=%2Da%2C%20%2D%2Dbat...

https://github.com/yt-dlp/yt-dlp#:~:text=%2D%2Ddownload%2Dar...

Not to mention that the script is clearly LLM-generated

xnx•1mo ago
Agree. Now it's easier to ask you favorite command line AI (e.g. Gemini CLI) something like "download this list of playlists with yt-dlp" rather than learn someone else's code or even check the manual.
dawnerd•1mo ago
The script linked was just vibe coded. Ai isn’t that great with the ytdl params, yet. It’s obvious because if an LLM really knew how to use ytdl it would have used the input file option instead of looping through a file and invoking for each one.
xnx•1mo ago
> Ai isn’t that great with the ytdl params

Gemini nails it:

When downloading multiple playlists, it is usually better to organize them into separate folders so the files don't all end up in one giant mess. You can use an output template to automatically create folders based on the playlist title:

yt-dlp -a playlists.txt -o "%(playlist_title)s/%(playlist_index)s - %(title)s.%(ext)s"

dawnerd•1mo ago
Interesting, must be a new fix. A couple months ago I tried to have it create a command and it hallucinated params.
weli•1mo ago
Unrelated, but I want to move from a Google account youtube feed to something a bit more client-side where I have the control but my main problem is the YouTube recommendation algorithm.

I feel like after a decade and a half google knows pretty well what I like and what I'm interested in. I built that homepage brick by brick.

Whenever I tried other youtube clients or ungoogled alternatives the recommendations were all really generic and not that good. Of course I won't find something that matches the real deal, but at least I want to:

1. Steer away from viral content, aka Mr Beast videos or whatever. 2. Have discoverability of youtube videos I would be interested in but that I'm not subscribed to yet.

To this day I still find new channels or videos I'm really interested in on my recommended feed.

cr125rider•1mo ago
You can get RSS feeds of channels still. I use that in my feed reader
listic•1mo ago
I, on the other hand, turned off YouTube recomendations with UnDistracted. Maybe I'm missing out; who knows.
kelvinjps10•1mo ago
Revanced you can still have the same algo. Also smarttubr
jasode•1mo ago
The repo should mention a warning about usage. Be aware that downloading large playlists with lots of videos from Youtube can get your ip address throttled/banned. The ban could last a week or a month.

It's also not a good idea to use "--cookies" unless you absolutely have to. Just leave out the cookies option and try to dl anonymously. Only when Youtube forces your ip address to "sign in" is it necessary to pass in cookies.

dawnerd•1mo ago
Exactly. There’s been account ban reports from it too. Id be very careful if it’s your normal google account that’s tied to YouTube. Always use a burner account when using the cookies param to be safe.
crazygringo•1mo ago
I don't understand. yt-dlp already downloads a whole playlist if you pass it a playlist URL. What does this tool add?

It says "by channel name" but then it seems like you still have to pass in each playlist URL separately.

This is just a "wrapper" for something yt-dlp already does?

chrismorgan•1mo ago
It’s wrapping a somewhat opinionated and mildly bizarre yt-dlp invocation, for each line of a file doing a mkdir/cd and then invoking yt-dlp.

—⁂—

From the “Features” section of the README:

> • Organized Structure: Creates separate directories for each channel.

… depending on you mentioning that name in your playlists.txt file, so that if you were writing a script you’d just be doing a mkdir/cd yourself, trivial.

> • Smart Sync: Skips files that have already been downloaded (--no-overwrites).

That’s not really what --no-overwrites does. The default of --no-force-overwrites is probably actually what you want: “do not overwrite the video, but overwrite related files”. You probably do want metadata files to be updated on subsequent runs.

> • Clean Naming: Saves files as Playlist Title/Video Title.mp4 (no numeric prefixes).

This is an Opinion.

> • Batch Processing: Reads multiple playlists from a playlists.txt file.

Meh, you’re invoking a script, putting the stuff in the script would be at least as easy.

—⁂—

From the script itself, going through the arguments passed to yt-dlp:

        --cookies "$COOKIES_FILE"
My impression is that this is discouraged unless necessary. And if you need it, --cookies-from-browser will be more convenient.

        -f "bv*+ba/b"
That’s equivalent to the default.

        --merge-output-format mp4
This is an Opinion.

        --no-overwrites
I’m not convinced this is desirable. Videos already won’t be overwritten by default, this just stops metadata from being updated on subsequent runs, though I’m not sure what things might be updated.

        -o "%(playlist_title)s/%(title)s.%(ext)s"
This is an Opinion.

—⁂—

Instead of having a playlists.txt file containing `Channel Name|https://www.youtube.com/playlist?list=x` and having a separate 73-line file download_playlists.sh, you might as well have just one download_playlists.sh file containing:

  dl() {
    mkdir -p "$1"
    pushd "$1"
    yt-dlp -o "%(playlist_title)s/%(title)s.%(ext)s" "$2"
    popd
  }

  dl 'Channel Name' 'https://www.youtube.com/playlist?list=x'
By dint of its simplicity, easier to work with and tweak to your own requirements (such as dropping `--merge-output-format mp4` as I did here). Also more obvious how to invoke it just once. (Aside: use pushd/popd instead of `cd "$channel_name"` and `cd ..`, because then $channel_name containing a slash won’t bork it.)
tegiddrone•1mo ago
I've been glancing at ytdl-sub, which does the same thing but with interesting options to rate limit.

https://ytdl-sub.readthedocs.io

axm997•1mo ago

  To get YouTube videos offline on your phone/tablet for flights:

  1. Create a playlist called “download” and add the videos you want.
  2. Use yt-dlp (playlist URL) or this tool to pull that playlist to a folder.
  3. Run the downloader on your Plex box on a schedule (cron/launchd).
  4. Add that folder to Plex as a library.
  5. Enable downloads for that library in Plex, then sync to your device.
fragmede•1mo ago
Or... just pay them that thing called money, and use the buttons in the YouTube app.
romeobucher22•1mo ago
https://www.youtube.com/watch?v=-t5WNFPoCCE&list=PLQOGKy2nPh...
ysroh217•4w ago
https://youtube.com/playlist?list=PL5-PWtq_lbzyzH6ElbEL1gzcZ...
nameza3310•3w ago
https://music.youtube.com/playlist?list=PLwC5xzzm0G8X-luQ1oc...
blahblahblah11•3w ago
https://www.youtube.com/watch?v=Yy4aGQF-p4g
kinako0245•3w ago
https://www.youtube.com/watch?v=OBGdgZsptVg
7001850893•3w ago
Dj mandi babu