Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Again, if I am allowed to dream, we can have a community around the exchange of these list files.


The possibilities are endless. You can build a site that lets any user create their own personalized tv with content from any streaming provider that has an api. This can be done in a few hours literally. And you don't even have to host them since it's all client side javascript. Honestly if I weren't so busy with my own project I would consider contacting OP to see what we could do with this.


That would be an amazing addition!

Well, this website is completely cloneable, the JS is non-minified, so adding in community lists is certainly possible. Maybe just a tool to create those lists collaboratively. Good idea!


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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: