A light­weight and No-JS fron­tend for Youtube: Hecktube

Created: Sat Dec 22 04:04:01 CET 2018

Last mod­i­fied: Fri Feb 1 03:47:47 CET 2019


Version of Python: Python 3.

It’s based on youtube-dl and CherryPy, a min­i­mal­ist web frame­work for Python. (CherryPy is to Django what Sinatra is to Ruby On Rails; it’s comparable to Flask in many ways. It’s easy to code a web gui us­ing such lightweight frame­works.)

The in­ter­face fea­tures a search bar to get you started.

git clone 'https://notabug.org/eq/hecktube'
pip3 install --user virtualenv
# export PATH=$HOME/.local/bin:$PATH
cd hecktube
virtualenv .
source bin/activate
bin/pip3 install -r requirements.txt
bin/python3 hecktube.py
# ...
deactivate

And browse lo­cal­host:6969.

Don’t for­get to up­grade youtube-dl reg­u­larly. (Or it will break someday.)

cd hecktube
source bin/activate
pip install --upgrade youtube-dl
deactivate

And restart heck­tube.

source code