We all know YouTube, a website with unlimited content. Is it possible to create your own YouTube channel? Yes, it is, and it even has all the YouTube videos from the original YouTube. You can binge your favorite shows without ever even opening YouTube.com. P.S. It's called flasktube because I used Flask to make it.
No followers yet
Once you ship this you can't edit the description of the project, but you'll be able to add more devlogs and re-ship it as you add new features!
I made the coolest README.md file ever!!! It has a dropdown! It took me a while to figure out, this was because when you add HTML to a .md file, there are no completions, so I had to type everything by hand. I like how it turned out, and I will probably use it as a template when writing other readmes.
I was having a bit of trouble getting the render application working but eventually I installed gunicorn and it all got fixed
I am done with this project. I spent so long trying to fix the video titles, as you can see in the last devlong were invisible. I checked the api, I checked my code, I checked everything, and in the end it was the CSS!. I set the text color to just so happen to be what I set the background color to. I fixed this, as well as some inconsistencies in the related videos section
I have never seen anyone use YouTube in light mode, so I turned everything into dark mode with the ability to add a way to swap between modes in the future.
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaah! that was the most annoying bug ever. I found a redding post and i was trying to use that to add related posts and eventually i crashed out and told chatgpt to do it. it kept on giving me different solutions and that went on for a long time. eventually i found out that youtube api has stopped this so i had to find related vids based on channel instead of video id. whew sry for me ranting for so long -->
I added a searching feature. This sends a request back to the Flask application, which then calls an api and then returns the result. originally, I had it call the api directly from the page using JavaScript, but due to CORS issues, I had to pivot.
Whew, that took a while. There was this annoying bug that whenever I added a description to the modal, it would render the modal unclickable. It took me too long to do that. and then after that, I had to deal with the audio not stopping after I exited the modal, and that also took a while.
I made a working page that shows trening videos on homepage and a search bar where you can search videos as well as play them in the site using youtube api's iframe.