zlacker

[parent] [thread] 10 comments
1. jeffhu+(OP)[view] [source] 2024-08-14 17:54:16
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

:)

replies(3): >>hadisa+R >>rnewme+th >>stevem+vY
2. hadisa+R[view] [source] 2024-08-14 17:58:51
>>jeffhu+(OP)
When a channel reaches the last video, list.json will be fetched to get an updated list of videos.
replies(2): >>jeffhu+z2 >>newswa+Ei
◧◩
3. jeffhu+z2[view] [source] [discussion] 2024-08-14 18:10:22
>>hadisa+R
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?

4. rnewme+th[view] [source] 2024-08-14 19:51:01
>>jeffhu+(OP)
JSON looks like tinydb
replies(1): >>jeffhu+EN1
◧◩
5. newswa+Ei[view] [source] [discussion] 2024-08-14 19:59:19
>>hadisa+R
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.

replies(1): >>jeffhu+qh1
6. stevem+vY[view] [source] 2024-08-15 01:57:21
>>jeffhu+(OP)
Even better, host it on github pages - then you mirror the code too https://stevemk14ebr.github.io/YTCH/ . Author, how do generate the list
◧◩◪
7. jeffhu+qh1[view] [source] [discussion] 2024-08-15 06:53:56
>>newswa+Ei
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.

replies(1): >>newswa+fH1
◧◩◪◨
8. newswa+fH1[view] [source] [discussion] 2024-08-15 12:43:54
>>jeffhu+qh1
Again, if I am allowed to dream, we can have a community around the exchange of these list files.
replies(2): >>jeffhu+wN1 >>thruwa+bm2
◧◩◪◨⬒
9. jeffhu+wN1[view] [source] [discussion] 2024-08-15 13:16:58
>>newswa+fH1
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!

◧◩
10. jeffhu+EN1[view] [source] [discussion] 2024-08-15 13:17:44
>>rnewme+th
Or a PHP application returning an array as a JSON object
◧◩◪◨⬒
11. thruwa+bm2[view] [source] [discussion] 2024-08-15 16:31:09
>>newswa+fH1
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.
[go to top]