Giter VIP home page Giter VIP logo

yt's Introduction

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)

yt's People

Contributors

doodzik avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.