Comment by jeffhuys
7 months ago
Also works on localhost, run these commands:
`wget -r -np -k https://ytch.xyz` - downloads the website recursively
`wget https://ytch.xyz/list.json` - download the list of what every channel plays and will play (I'm not sure if this ever really changes. The real website adds ?t=<time since epoch in ms>)
Then for instance run `python3 -m http.server` and visit localhost:8000
:)
When a channel reaches the last video, list.json will be fetched to get an updated list of videos.
I see that you're the creator, I absolutely love what you made :)
I'm curious, do you generate that list on-the-fly, based on the current time/day? Or is it more static?
How are you making this list? The thing I surprisingly miss about tv is that what to watch was someone else's problem. YouTube overwhelms me with choices, TV was simple, I liked maybe 4-5 channels and (I later realized) I was implicitly trusting them to have something good on.
If I was allowed to dream, I imagine a world where that specialization is brought back. People curating a feed, which was on average good.
The author was replying to everyone, even me, but didn’t respond to my question about how the list is made.
This makes me assume that it’s hand-made. If so, it’ll probably get 1 or 2 updates (if even that many) and then remain static as the creator loses interest. Wouldn’t be the first time.
EDIT: list has changed. Trying to track it, we'll see what happens. I really hope the author has some way to search Youtube for trending videos based on some query/tag, and re-generates a list once a day or something like that.
3 replies →
Even better, host it on github pages - then you mirror the code too https://stevemk14ebr.github.io/YTCH/ . Author, how do generate the list
JSON looks like tinydb
Or a PHP application returning an array as a JSON object