https://github.com/doodzik/yt
📺 minimalist youtube
https://github.com/doodzik/yt
distraction-free youtube-client
Last synced: over 1 year ago
JSON representation
📺 minimalist youtube
- Host: GitHub
- URL: https://github.com/doodzik/yt
- Owner: doodzik
- License: gpl-3.0
- Created: 2018-09-11T23:32:25.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-11-03T17:17:58.000Z (over 6 years ago)
- Last Synced: 2025-02-03T14:31:34.064Z (over 1 year ago)
- Topics: distraction-free, youtube-client
- Language: PHP
- Homepage: http://yt.dudzik.co
- Size: 43.9 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# yt
[yt](http://yt.dudzik.co) is a distraction-free youtube client.
You can search for videos and watch videos. That is about it.
# Installation
```bash
$ 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.
```
```
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)