a fairly accurate 2009 youtube frontend.
check this site for a list of public instances, along with their speed.
the initial load may take up to 60 seconds as that's the limit for instances to respond.
if you prefer using docker rather than installing directly, go here for setup instructions instead
- make sure you have imagemagick and ffmpeg in your PATH.
- 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 withnode 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.
- 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.
- set up an android app by following apk_setup.md
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.
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.
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.