frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: MacOS Live Screensaver – A screensaver that plays live video streams

https://github.com/hauxir/macos-live-screensaver
55•hauxir•3d ago

Comments

hauxir•3d ago
Or any live stream on youtube for that matter, surprised this didn't exist before!
rollcat•12h ago
AVFoundation is pretty cool. You can whip out a simple audio/video player in a couple dozen lines of code. It was one of my first macOS apps/prototypes.
cnr•12h ago
Does it really save the screen? ;P
hauxir•12h ago
Is that really the point anymore :D?
nothrabannosir•10h ago
With oled it is, yes
MontagFTB•12h ago
How’d they get Claude listed as one of the contributors? Is that due to changes coming in to the repo from a Claude/github integration?
hauxir•11h ago
it's just claude code commiting and pushing for me because i'm lazy
threecheese•10h ago
Not lazy! This should be a requirement, so future “us” can discern authorship - just like any developer.
hrimfaxi•9h ago
It will probably go the opposite way though in the future. People will list when AI wasn't used in the loop, like how "sent from my iphone" was both a status signal and a request for leniency when it comes to spellcheck.
hackernewds•8h ago
if you read the article, it says it is entirely vibecoded
its-kostya•12h ago
> Disclaimer: This project was entirely vibe-coded. I've never written Swift before in my life

Something I've wondered - but not had much empirical evidence for - is if entirely vibe-coded projects are difficult to maintain. I, too, don't know swift so I cannot look over the codebase to gauge this. I am curious if any swift savants out there can weigh in.

Furthermore, I will follow the project and keep an eye out for patches/discussions and try to discern any friction and/or loss in momentum because it is difficult to work with (e.g. more bug/feature tickets than PRs, etc.). I am aware it might fizzle out on its own, irrespective of the quality of the codebase. This will be a curious exercise for me. This may be my first empirical data on this topic - sadly on vibe-coded & maintainability, not the project itself.

hauxir•11h ago
They most definitely are.

However this project is so simple it's more akin to a script. Really not that hard to grasp despite not knowing swift.

Also vibe coded an android tv version and used this codebase as input ;)

https://github.com/hauxir/androidtv-live-screensaver

runjake•10h ago
Indeed I was able to read through it's 555 lines in about 4-5 minutes. Nothing seems too ghastly -- it's a pretty good vibe coding job.
reaperducer•11h ago
I wonder if certain languages are easier to vibe code than others.

My supposition is that the better documented a language, the easier it would be for the LLMs.

Or is it the opposite: The more obtuse a language, the more StackOverflow questions, the easier it is for LLMs to work with.

its-kostya•11h ago
I've had success vibe-coding things that, I would imagine, make up more of the training dataset - more common. When I try to do more specific Linux systems programming it is pretty trash, especially with newer languages.
Someone•10h ago
> is if entirely vibe-coded projects are difficult to maintain

Vibe coding is too “Hail Mary” to me, but if you’re into it, I would think the best way to do that is by giving a LLM the git history of the project with each commit contain the prompt that created it and, if a human tweaked things, requiring that human to provide a good commit comment.

Then, you could give a LLM the git repo, instructions on what change you want to see, and have it create the next commit.

dylan604•8h ago
> requiring that human to provide a good commit comment.

Is this enough? Personally, I have a what very well may be a bad habit of mine that doesn't necessarily check git commit messages. When I'm working in a code base, I just never think about scrolling through those hoping to find where this bit of code was changed. I'd much rather have comments in the code itself. It seems better to me to save the maintainer time and effort. Maybe I've just taken too seriously the idea of "assume the maintainer after you will be a serial killer that knows where you live. don't make them angry by being lazy"

grimgrin•10h ago
this is kinda inline with what you're asking i think?

https://simonwillison.net/2025/Oct/7/vibe-engineering/

for me it's working on a thing, and then linting, type checking, running tests. and even then thoughtfulness still required

diob•9h ago
I think they're just as maintainable as any other legacy app you might encounter. As in, it can be hard. But it's doable. And it depends on the team that made it (AI + the human).
losthobbies•11h ago
I will be streaming a certain watering hole in Namibia.
grimgrin•10h ago
this is cool. i love shit like this

idk if any of y'all ever used https://satelliteeyes.tomtaylor.co.uk/ but I was a big fan. such that i now have my own process of keeping my wallpaper updated w/ various city webcams. throw in some noise/desaturation and you've got an _aesthetic_

anyway, this is about a screensaver not a wallpaper and i think there is cool potential with video streams as screensavers

t1234s•10h ago
Does anyone still use screensavers? I have set my machines to turn off the screen as soon as that was an available option.
grimgrin•10h ago
it's a combination of people seeking aesthetic (imo), and naturally, preventing an oled, plasma, or crt from burn-in
c-hendricks•9h ago
If the screen is off, what's to burn in?
grimgrin•9h ago
nothing because that is a screen saver. but yeah you're right, it's probably mostly people who just want to see a visualization? i'd never argue screensavers are a logical choice lol
ge96•9h ago
I like the newest mac update shore video, Tahoe I think with the liquid glass
macNchz•9h ago
As much as I disliked open plan offices, I did enjoy trolling my coworkers with fake blue screen of death and kernel panic screensavers. Windows 95 "Pipes" also got a lot of nostalgic shoutouts when I used that for a while.
t1234s•8h ago
Pipes and the other direct3D screen savers were legit
dylan604•8h ago
It's still a habit of mine. I have 2 external monitors on my desk connected to my laptop. One of them is a bit older LCD, but still functions well for purpose. It has a fun little quirk where when it first turns on there are a few vertical lines of a solid color until it has "warmed up" and the lines disappear after a few minutes. By using a screen saver when I get up and lock the screen, I don't have to wait for that screen to warm back up. At night, it does eventually turn off the screen saver after my timeout, but at least it's not every time I return to the desk.

Also, from a time long ago in a galaxy far away where we had production CRTs that were color calibrated, we would not turn them off either. They had a saver mode as well by running a not quite black signal to them, but not enough to burn in phosphors. It was even meant to "even" out some of them.

So because I'm that old that has used CRTs for such a long part of my life, screen savers will always be just part of the routine.

dfedbeef•10h ago
Finally, a screen saver with ads
grimgrin•10h ago
bring your own http live stream
aerostable_slug•9h ago
Nice work!

Excellent, advertising-free live streams to choose from here:

https://www.youtube.com/@MontereyBayAquarium/streams

I often turn on the kelp forest (sound muted) as a pleasing backdrop on my living room TV, but they're all pretty neat.

Lammy•3h ago
Getting my daily dose of Kensington Ave, Philadelphia or Skid Row, Los Angeles every time I come back from the restroom:

- https://www.youtube.com/watch?v=V8mIPhfrMug

- https://www.youtube.com/watch?v=PnpcdnZhztI

cwizou•9h ago
That's super cool, congrats on releasing it ! It's a feature that some people periodically ask me to add in Aerial, but I never got to it. Piping from yt-dlp to AVFoundation is definitely the way to go.

I was gonna warn you about a bug in macOS 15+ where your screensaver stays around after you go back to the desktop, but for some reason your code seems to avoid that issue. I'm not quite sure how, as you don't hook stopAnimation or any event apart from the deinit. But it works, so, massive kudos, I'll have to try and understand why !

hauxir•9h ago
interesting you pointed that out because i ran into that exact problem!

look at the animateoneframe function, there's the workaround

cwizou•9h ago
Ha, you do the exit trick too then, I just missed it.

FYI that works 99% of the time, but for some people it sometimes crashes (because we exit our host container - legacyScreenSaver.appex - and sometimes if you do it at a wrong time things just hang).

cwizou•8h ago
So fyi, the way you hook it there is what makes the preview flicker in System Settings.

You check if the screen is locked, and if not, kill the host. But screen is not locked in System Settings. So basically, you're killing the host process every 2 seconds (and macOS, at least in Tahoe, restarts it, it doesn't in previous macOS versions).

That's also what causes your issues with "Options" not working (because you killed the instance that was linked to that button). The way we workaround it usually is to hook a system event.

You can check https://github.com/AerialScreensaver/ScreenSaverMinimal

Look for handleWillStopNotification and com.apple.screensaver.willstop

hackernewds•8h ago
We have become so wasteful with energy. at a mass scale this will consume a lot of electricity but we only think of dollar cost now
billsunshine•6h ago
this is so cool, congrats, im a product manager turned vibe coder so im way into this. nice job, ill be tracking!
Lucian6•2h ago
Interesting approach using AVFoundation for the video playback. I've worked with streaming video on macOS and found that AVPlayer can be quite memory-hungry when handling multiple streams. Have you considered using VLCKit instead? In our testing, VLCKit used about 40% less memory and handled network interruptions more gracefully.

One potential enhancement would be to add support for adaptive bitrate streaming (HLS/DASH). Most live streams nowadays offer multiple quality levels, and automatically switching based on available bandwidth/CPU makes a big difference in reliability. The AVPlayerItem.preferredPeakBitRate property gives you basic control, but implementing a full ABR solution with VLCKit gives much finer-grained control over quality transitions.

Also curious about your strategy for handling screen sleep/wake cycles. We found that AVPlayer instances sometimes get stuck in a bad state after sleep, requiring a full teardown and reinit. Using notification observers for NSWorkspaceDidWakeNotification helped catch and recover from these cases.

The Swift SDK for Android

https://www.swift.org/blog/nightly-swift-sdk-for-android/
320•gok•5h ago•133 comments

Vibe Coding in the 90s

https://ssg.dev/vibe-coding-in-the-90s/
58•sedatk•1h ago•19 comments

Valetudo: Cloud replacement for vacuum robots enabling local-only operation

https://valetudo.cloud/
129•freetonik•4d ago•28 comments

First shape found that can't pass through itself

https://www.quantamagazine.org/first-shape-found-that-cant-pass-through-itself-20251024/
223•fleahunter•11h ago•52 comments

I invited strangers to message me through a receipt printer

https://aschmelyun.com/blog/i-invited-strangers-to-message-me-through-a-receipt-printer/
163•chrisdemarco•5d ago•61 comments

Carmack on Operating Systems

https://rmitz.org/carmack.on.operating.systems.html
7•bigyabai•25m ago•1 comments

Harnessing America's Heat Pump Moment

https://www.heatpumped.org/p/harnessing-america-s-heat-pump-moment
71•ssuds•5h ago•169 comments

How to make a Smith chart

https://www.johndcook.com/blog/2025/10/23/smith-chart/
87•tzury•8h ago•18 comments

You Can Cool Chips with Lasers

https://spectrum.ieee.org/laser-cooling-chips
7•pseudolus•1w ago•0 comments

Twake Drive – An open-source alternative to Google Drive

https://github.com/linagora/twake-drive
296•javatuts•15h ago•172 comments

Modern Perfect Hashing

https://blog.sesse.net/blog/tech/2025-10-23-21-23_modern_perfect_hashing.html
57•bariumbitmap•23h ago•9 comments

Public Montessori programs strengthen learning outcomes at lower costs: study

https://phys.org/news/2025-10-national-montessori-early-outcomes-sharply.html
238•strict9•2d ago•125 comments

MRI Contrast Agent Causes Harmful Metal Buildup in Some Patients [study]

https://www.ormanager.com/briefs/study-mri-contrast-agent-causes-harmful-metal-buildup-in-some-pa...
82•nikolay•4h ago•63 comments

Why formalize mathematics – more than catching errors

https://rkirov.github.io/posts/why_lean/
150•birdculture•5d ago•53 comments

Conductor (YC S24) Is Hiring a Founding Engineer in San Francisco

https://www.ycombinator.com/companies/conductor/jobs/MYjJzBV-founding-engineer
1•Charlieholtz•4h ago

TextEdit and the relief of simple software

https://www.newyorker.com/culture/infinite-scroll/textedit-and-the-relief-of-simple-software
67•gaws•4h ago•74 comments

Mesh2Motion – Open-source web application to animate 3D models

https://mesh2motion.org/
179•Splizard•14h ago•33 comments

New OSM file format: 30% smaller than PBF, 5x faster to import

https://community.openstreetmap.org/t/new-osm-file-format-30-smaller-than-pbf-5x-faster-to-import...
50•raybb•3h ago•4 comments

Code Like a Surgeon

https://www.geoffreylitt.com/2025/10/24/code-like-a-surgeon
83•simonw•9h ago•58 comments

Typst 0.14

https://typst.app/blog/2025/typst-0.14/
530•optionalsquid•12h ago•141 comments

Debian Technical Committee overrides systemd change

https://lwn.net/Articles/1041316/
157•birdculture•15h ago•156 comments

'Attention is all you need' coauthor says he's 'sick' of transformers

https://venturebeat.com/ai/sakana-ais-cto-says-hes-absolutely-sick-of-transformers-the-tech-that-...
329•achow•20h ago•172 comments

Interstellar Mission to a Black Hole

https://www.centauri-dreams.org/2025/10/23/interstellar-mission-to-a-black-hole/
121•JPLeRouzic•16h ago•94 comments

Wasp Blower

https://softsolder.com/2025/08/12/wasp-blower/
97•bookofjoe•1w ago•92 comments

ChunkLLM: A Lightweight Pluggable Framework for Accelerating LLMs Inference

https://arxiv.org/abs/2510.02361
78•PaulHoule•13h ago•6 comments

Alaska Airlines' statement on IT outage

https://news.alaskaair.com/on-the-record/alaska-statement-on-it-outage/
128•fujigawa•19h ago•131 comments

Many Factorials in Lambda Calculus

https://text.marvinborner.de/2025-10-08-12.html
7•marvinborner•1w ago•2 comments

Asahi Linux Still Working on Apple M3 Support, M1n1 Bootloader Going Rust

https://www.phoronix.com/news/Asahi-Linux-M3-m1n1-Update
266•LorenDB•11h ago•278 comments

Notes on using LaTeX to generate formulae

https://eli.thegreenplace.net/2025/notes-on-using-latex-to-generate-formulae/
12•ibobev•1w ago•2 comments

VisiCalc on the Apple II

https://stonetools.ghost.io/visicalc-apple2/
89•hggh•5d ago•39 comments