Comment by albert_e

1 year ago

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 :)

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.