Skip to content

akivec/yt2009-my-frontend

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yt2009

a fairly accurate 2009 youtube frontend.


setup

if you prefer using docker rather than installing directly, go here for setup instructions instead

when installing imagemagick, make sure you also install its legacy tools (convert)!

  • install node.js
  • open a terminal (windows powershell/cmd) in the directory you cloned yt2009 to, then:
  • install required dependencies with: npm install
  • create a config file by launching and following: node yt2009setup.js
  • run to set and download remaining assets node post_config_setup.js
  • run yt2009 by changing directory to back (cd back) and starting with node backend.js
  • navigate to your IP:port you have set while configuring to see a 2009 homepage.

afterwards, you can just cd back and node backend.js to start. no need to re-set it up each time.


optional after-setup steps

- if experiencing issues with ytdl-core, apply this pull. fent/node-ytdl-core#1217

as of november 2023, it still isn't merged with the main repo.


updating

if you want to update your frontend instance, use

git pull --no-commit

to get you up with updates you may have missed.

if you modified the code yourself and you're getting a merge conflict, use

git checkout -- <file>

to restore the original file. you can make a copy of your modified file and reapply the mod after the pull is done.


usage

now that you're in, you can just use it as it is, but there is a bit more you can do.

navigate to /flags to change settings locally. here, for example, you can set up The Wayback Machine as a video data source. but look through, there is a lot more.

feel free to nav to /toggle_f if you've set up flash players as described above to make the frontend work on older browsers, such as ie6.

and just click around! you might find some useful features you didn't expect to work.


over time, depending on your usage, yt2009 may take up a lot of space (counted in tens of gigabytes!)

if you need to reclaim space, look through the assets folder where downloaded files (such as images, videos) are saved and delete ones you need.

they will be redownloaded when necessary.


notes, docs

over time some tools and documentation was written about yt2009. for an easy reference, those are listed below.

  • apk_setup.md - set early youtube android APKs to work with yt2009

  • config_params.md - a list of ALL available config options.

  • docker.md - yt2009 setup with docker. also listed in the setup section. (thanks, breakgimme!)

  • flash_additions.md - some info on caption and annotations modules within the default 2009 flash player.

  • flash_player_patch.md - manual patch info for using flash players with yt2009.

  • autoapk.js - a node cli file to automatically patch APKs supported by yt2009. your mileage may vary.

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 54.3%
  • HTML 27.9%
  • CSS 17.7%
  • Other 0.1%