rudloff / alltube
HTML GUI for youtube-dl
Installs: 967
Dependents: 0
Suggesters: 0
Security: 3
Stars: 2 833
Watchers: 61
Forks: 577
Open Issues: 43
Type:project
Requires
- php: >=7.4
- ext-intl: *
- ext-json: *
- aura/session: ^2.1
- barracudanetworks/archivestream-php: ^1.0
- consolidation/log: ^2.0
- cweagans/composer-patches: ^1.7
- j0k3r/httplug-ssrf-plugin: ^2.0
- jawira/case-converter: ^3.4
- jean85/pretty-package-versions: ^1.3
- mathmarques/smarty-view: ^1.2
- oomphinc/composer-installers-extender: ^2.0
- paragonie/csp-builder: ^2.5
- rinvex/countries: ^7.3
- rudloff/alltube-library: ^0.1.3
- symfony/finder: ^5.4
- symfony/translation: ^4.0
- symfony/yaml: ^4.0
- webfontkit/open-sans: ^1.0
- yt-dlp/yt-dlp: ^2023.03
- zonuexe/http-accept-language: ^0.4.1
Requires (Dev)
- consolidation/robo: ^3.0
- enlightn/security-checker: ^1.4
- ergebnis/composer-normalize: ^2.20
- insite/composer-dangling-locked-deps: ^0.2.1
- junker/debugbar-smarty: ^0.1.0
- kitchenu/slim-debugbar: ^1.1
- maximebf/debugbar: ^1.16
- php-mock/php-mock-mockery: ^1.3
- phpro/grumphp: ^1.3
- phpstan/phpstan: ^0.12.72
- phpunit/phpunit: ^9.5
- povils/phpmnd: ^2.5
- smarty-gettext/smarty-gettext: ^1.6
- squizlabs/php_codesniffer: ^3.5
- symfony/error-handler: ^5.4
- symfony/var-dumper: ^5.4
- dev-master
- 3.2.0-alpha
- 3.1.1
- 3.1.0
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
- 3.0.0-beta5
- 3.0.0-beta4
- 3.0.0-beta3
- 3.0.0-beta2
- 3.0.0-beta
- 2.3.0
- 2.2.1
- 2.2.0
- 2.1.0
- 2.0.5
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 1.2.5
- 1.2.4
- 1.2.3
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.0
- 0.11.0
- 0.10.2
- 0.10.1
- 0.10.0
- 0.9.0
- 0.8.1-beta
- 0.8.0
- 0.7.2-beta2
- 0.7.2-beta
- 0.7.1
- 0.7.0
- 0.6.0
- 0.5.2
- 0.5.1
- 0.5.0
- 0.4.5
- 0.4.4
- 0.4.3
- 0.4.2
- 0.4.1
- 0.4.0
- 0.3.2
- 0.3.1
- 0.3.0
- dev-develop
This package is auto-updated.
Last update: 2023-04-22 21:27:56 UTC
README
HTML GUI for youtube-dl
Setup
From a release package
You can download the latest release package here.
You just have to unzip it on your server and it should be ready to use.
From Git
In order to get AllTube working, you need to use Composer:
composer install
This will download all the required dependencies.
You should also ensure that the templates_c folder has the right permissions:
chmod 770 templates_c/
(You need to adapt this to your permission model. You can find more information about this in the Smarty documentation.)
If your web server is Apache,
you need to set the AllowOverride
setting to All
or FileInfo
.
Update
When updating from Git, you need to run Composer again:
git pull composer install
On Heroku
On Cloudron
Cloudron is a complete solution for running apps on your server and keeping them up-to-date and secure.
The source code for the package can be found here.
Config
If you want to use a custom config, you need to create a config file:
cp config/config.example.yml config/config.yml
PHP requirements
You will need PHP 7.2 (or higher) and the following PHP modules:
- intl
- mbstring
- gmp
Web server configuration
If you want to serve the application under a basepath and/or with a different internal than external port (scenario: nginx->docker setup) Alltube supports the following X-Forwarded headers:
- X-Forwarded-Host (ex.
another.domain.com
) - X-Forwarded-Path (ex:
/alltube
) - X-Forwarded-Port (ex:
5555
) - X-Forwarded-Proto (ex:
https
)
Apache
The following modules are recommended:
- mod_mime
- mod_rewrite
- mod_expires
- mod_filter
- mod_deflate
- mod_headers
Nginx
Here is an example Nginx configuration:
server { server_name localhost; listen 443 ssl; root /var/www/path/to/alltube; index index.php; access_log /var/log/nginx/alltube.access.log; error_log /var/log/nginx/alltube.error.log; types { text/html html htm shtml; text/css css; text/xml xml; application/x-web-app-manifest+json webapp; } # Deny access to dotfiles location ~ /\. { deny all; } location / { try_files $uri /index.php?$args; } location ~ \.php$ { try_files $uri /index.php?$args; fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_index index.php; fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_intercept_errors off; fastcgi_buffer_size 16k; fastcgi_buffers 4 16k; include fastcgi_params; } }
Other dependencies
You need ffmpeg in order to enable conversions. (Conversions are disabled by default.)
On Debian-based systems:
sudo apt-get install ffmpeg
If your ffmpeg binary is not installed at /usr/bin/ffmpeg
, you also need to edit the ffmpeg
variable in config.yml
.
Use as a library
The Video
class is now available as a separate package
so that you can reuse it in your projects.
JSON API
We also provide a JSON API that you can use like this:
/json?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DdQw4w9WgXcQ
It returns a JSON object generated by youtube-dl. You can find a list of all the properties in the youtube-dl documentation.
FAQ
Please read the FAQ before reporting any issue.
License
This software is available under the GNU General Public License.