StarTV
- 6 Devlogs
- 7 Total hours
StarTV is an ad-free video streaming site.
StarTV is an ad-free video streaming site.
i added a button to view every video as a json, and i updated the readme
i added a quick fox section to the side to fill in the space that was left on the right.
i added the invertocat github icon leading to the source. will probably focus on adding more videos before shipping
i scrapped the like and dislike buttons, i replaced them with a suggest button leading to my github pages issues.
i added a few more videos to the site from my yt homepage.
if you have any ideas to add as the videos then feel free to drop them in the comments or at https://github.com/zaloguj12/StarTV/issues
so dont have any reveleant screenshots, but moved storage to r2 and deployment is now by vercel
another dev log?
i decided to use fastapi static files to “send” the videos to the users,
now also each video and info about it is stored in a videos.json having its own id, title and file path,
an http GET is sent to the api, to fetch a video selected with random.choice, the json is loaded and then serves valuable info that JS uses to update the src of the video player, but also to update <p></p> for title displaying,
now also the whole server can be started from a single terminal so no need for 2 anymore. next up i think about implementing a system for liking/disliking videos, based on the reddit upvote/downvote system, so instead of two counters, there will be one. the little problem is still the videos/ folder being local which means, each user has to get their own .mp4 files but also update the videos.json with any new/updated info, i will look forward to making this system easier in the future
i started with a basic site, just a logo, and a video player. basic test are going good so far. but im not looking forward to implementing the random video feature as it will require JS🤢