News for hackers. Stuff that matters.
Re:IMG_0416 by albert_e on Sunday November 10, 2024 @09:41PM (#42104207)
It would be very interesting to get a view of the source code for such a site. There are other interesting ideas that could be done by mixing videos selected using other filters etc.

By any chance is this or similar on github :)

Re:IMG_0416 by cypherpunks01 on Sunday November 10, 2024 @11:13PM (#42104549)
https://github.com/wonga00/astronaut

I remember looking through the code awhile ago, it's nice and simple!

Uses socket.io w node.js + express, a crawler script searches YT periodically to keep the videos fresh. The server iterates randomly through the video list, telling all clients through socket.io which video is next, and when to switch.