Skip to content
📺 minimalist youtube
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
html
lib
.gitignore
LICENSE
Makefile
README.md
composer.json
composer.lock
init.php

README.md

yt

yt is a distraction-free youtube client. You can search for videos and watch videos. That is about it.

Installation

$ brew install composer
$ make install
$ make server

Make sure that you have set the necessary environment variables. By default, the init.php script will look for an env.php file in its parent directory where these are set. You can comment out the require statement if you want to set these environment variables differently.

<?php
putenv('PRODUCTION=false');
putenv('GOOGLE_DEV_KEY=');
?>

The init script will look for the vendor (dependencies) directory in its parent directory if you set the PRODUCTION environment variable to true.

If you want to make the quick access work from another url you will need to add this .htaccess file to that website:

RewriteEngine On                                                                  
RewriteBase /                                                                     
RewriteCond %{HTTP_HOST} !yt.dudzik.co$ [NC]                                      
RewriteRule ^(.*)$ http://yt.dudzik.co/quick.php?data=$1 [B,QSA,L,R=303]  

(Obviously, change yt.dudzik.co to your host name)

You can’t perform that action at this time.