• This repository has been archived on 23/Apr/2023
  • Stars
    star
    2,868
  • Rank 15,403 (Top 0.4 %)
  • Language
    PHP
  • License
    GNU General Publi...
  • Created over 10 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Web GUI for youtube-dl

AllTube Download

HTML GUI for youtube-dl

Screenshot

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

Deploy

On Cloudron

Cloudron is a complete solution for running apps on your server and keeping them up-to-date and secure.

Install

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.

More Repositories

1

openvegemap

Find vegetarian and vegan restaurants in your city
JavaScript
70
star
2

openvegemap-cordova

OpenVegeMap Cordova app
Java
19
star
3

termux-docker-image

Docker image running Android and Termux
Groff
15
star
4

hangupsdroid

Port of hangups to Android
Java
14
star
5

spotslim

Open source Spotify client
JavaScript
12
star
6

PaperCraft

Fork of PaperCraft for smartphones
Java
12
star
7

alltube-library

PHP wrapper for youtube-dl
PHP
10
star
8

alltube-example-project

Example project to show how to use Alltube as a library
PHP
8
star
9

WebSSH

PHP SSH client
PHP
7
star
10

infogreffe-unofficial-api

Unofficial API for infogreffe.fr
PHP
7
star
11

php-links-extractor

Recursively extract all the links from a website
PHP
5
star
12

viatcheslav

Open-source client for Molotov.tv
JavaScript
5
star
13

mls-cell-map

GSM cells map using Mozilla Location Service data
JavaScript
5
star
14

muzei-commons

Wikimedia Commons plugin for Muzei
Kotlin
5
star
15

emoji-everywhere

Firefox addon that converts unicode emoji to images on all webpages
JavaScript
5
star
16

lineageos-updater-shortcut

LineageOS updater shortcut
Java
4
star
17

facebook-oatmeal-icons-firefox

Replace Facebook like icons with icons created by The Oatmeal
CSS
4
star
18

mediawiki-composer

Base Composer setup for MediaWiki projects
4
star
19

alltube-chrome

Chrome addon for AllTube (http://alltubedownload.net/)
JavaScript
4
star
20

adblock-imokwithcookies

List of filters for Adblock Plus that block cookie notices on European websites
JavaScript
4
star
21

alltube-firefox

Firefox addon for AllTube (http://alltubedownload.net/)
JavaScript
3
star
22

browserquest-android

Android port of BrowserQuest
JavaScript
3
star
23

openvegemap-editor

Edit tags on OpenVegeMap
PHP
3
star
24

rarcrack-debian

rarcrack Debian package
C
3
star
25

mwpackagist

Install and manage MediaWiki extensions/skins with Composer
PHP
3
star
26

exodus-fdroid

CLI tool to scan F-Droid packages with ฮตxodus
PHP
3
star
27

google-fonts-bower-import

Tools used to convert Google Fonts to Bower packages
PHP
3
star
28

search-to-browser

Android app that forwards GLOBAL_SEARCH intents to your default browser
Java
3
star
29

rainloop-signalspam

RainLoop plugin that forwards messages flagged as spam to the signal-spam.fr API
PHP
2
star
30

cognitio-app

Cognitio Web App
Java
2
star
31

rpg-menu-js

Old-school RPG menu in JavaScript
JavaScript
2
star
32

lesspass-cordova

LessPass Cordova app
Shell
2
star
33

git2wp

Push a WordPress plugin from a Git repository to WordPress SVN repository
PHP
2
star
34

wayback-machine-chrome

This extension allows you to save the current webpage to the Wayback Machine
JavaScript
2
star
35

french-postal-codes-api

PHP API to get city name from postal code
PHP
2
star
36

dokuwiki-browserid

BrowserID plugin for DokuWiki
PHP
2
star
37

epikoinos

Convert French words to their epicene form
PHP
2
star
38

mls-stumbler

Stumbler for Mozilla Location Service (https://location.services.mozilla.com/)
JavaScript
1
star
39

parazitor

HTML5 snake clone
JavaScript
1
star
40

wp-register-password

Let WordPress users choose their password when they register
PHP
1
star
41

captaintrain-php-api

Small library that helps you build applications that communicate with the Captain Train API
PHP
1
star
42

mediawiki-persona

Mozilla Persona extension for MediaWiki
PHP
1
star
43

translucide.js

Easily search info on https://www.transparence.sante.gouv.fr/
JavaScript
1
star
44

geoip-php

Basic geolocation API compatible with Firefox
PHP
1
star
45

php-date-convert

PHP tool to convert dates in a text
PHP
1
star
46

bumrang

PHP book library loan manager
PHP
1
star
47

cartostras-about

Presentation page for CartoStras
HTML
1
star
48

shipit-git-update

Set of deployment tasks for Shipit used to update a distant Git working copy
JavaScript
1
star
49

wp-multidbsearch

Search in multiple WordPress databases
PHP
1
star
50

grands-electeurs-bas-rhin

1
star
51

WebPGP

PGP for the browser
JavaScript
1
star
52

wp-gravatar-proxy

This plugin replaces Gravatar URLs with a local proxy.
PHP
1
star
53

map-codepos

Postal codes in Strasbourg
JavaScript
1
star
54

open-cell-stumbler

Open source cell ID stumbler
Java
1
star
55

piwigo-chromecast

Cast pictures from a Piwigo gallery to a ChromeCast
PHP
1
star
56

grunt-phpstan

Grunt task to check your PHP files with phpstan
JavaScript
1
star
57

mpdf-cli

Run mpdf from the terminal
PHP
1
star
58

galette-csv_export

A CSV export plugin for Galette (http://galette.eu/)
PHP
1
star
59

ANIPPO-OpenSim

Small LSL scripts created for an university project
1
star
60

smarty-plugin-linkify

Smarty modifier that converts URLs in clickable links
PHP
1
star
61

wp-galleria-gallery

Turn your WordPress galleries into Galleria galleries
PHP
1
star
62

alir

Experiment with remoteStorage
JavaScript
1
star
63

parazitor-megadrive

Port of Parazitor to the Sega Genesis/Megadrive
Assembly
1
star
64

lutris-debian

Debian package for Lutris
1
star
65

android-screenrecord-stream

Stream Android screen to a Linux PC via USB
Shell
1
star
66

hangslim

1
star
67

rudloff-starter

Starter for my new PHP projects
JavaScript
1
star
68

youtoubeur

Perl/GTK GUI for youtube-dl (http://rg3.github.io/youtube-dl/)
Perl
1
star
69

grunt-ar

Extract archive files with GNU ar
1
star
70

localcast

Cast local media to a ChromeCast
JavaScript
1
star
71

minoxy

Proxy to adapt web pages to mobile browsing
PHP
1
star
72

rtmpdump-bin

rtmpdump binary for Linux 64 bit
1
star
73

drupal-link-psr13

Convert Drupal URL objects to PSR-13 compliant link objects
PHP
1
star
74

makepasswd-js

JavaScript implementation of makepasswd (https://launchpad.net/ubuntu/+source/makepasswd)
JavaScript
1
star
75

linuxports-portfiles

Repository of portfiles for LinuxPorts
Tcl
1
star
76

flutter-fdroid

Wrapper that downloads and runs the version of flutter required by a Flutter app
Shell
1
star
77

smarty-plugin-noscheme

Smarty modifier that removes the scheme in URLs
PHP
1
star
78

passwordchecker

Un outil d'apprentissage de la sรฉcuritรฉ des mots de passes
JavaScript
1
star
79

grunt-fixpack

Validate your package.json file with Fixpack
JavaScript
1
star
80

mybb-browserid

BrowserID plugin for MyBB
PHP
1
star
81

leaflet-info-control

A simple Leaflet control that displays information about the map
JavaScript
1
star
82

linuxports

Linux package manager based on MacPorts
Tcl
1
star
83

bano-67-codepos

PHP
1
star
84

spotslim-cordova

SpotSlim Cordova app
Java
1
star
85

Voltage.js

Small library providing information about the device's battery status
JavaScript
1
star
86

ufo2otf-debian

ufo2otf Debian package
Python
1
star
87

VlcFreemote

Control your VLC from an Android device. No need to get up from the couch.
Java
1
star
88

php-kanji-flashcards

Displays a random kanji from the JLPT list and its definition
PHP
1
star
89

dbpedia-art-gallery

PHP
1
star
90

sl-megadrive

Port of sl for Sega Genesis/Megadrive
Assembly
1
star
91

emoji-board

Simple emoji search list
PHP
1
star
92

avec-ou-sans-ordonnance

Find out if a pharmaceutical drug can be used freely in France
Smarty
1
star
93

ess-info

Web app that gives information about French companies
Smarty
1
star
94

bootstrap-firm-spip

SPIP template based on the Bootstrap Firm Template (http://bootstrapzero.com/bootstrap-template/the-firm)
1
star
95

frontend

frontend with vuejs
HTML
1
star