Skip to content

doodzik/yt

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 

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)

Releases

No releases published

Packages

No packages published