NodeTube
An open-source YouTube alternative that also supports image and audio uploads. Powered by NodeJS
A live NodeTube instance is available to test functionality at https://nodetube.live
Join us for collaboration on, Discord, Riot.Im and Reddit
Get Your Instance Running:
You can get an instance up instantly using one-click deployment with Heroku below:
Running On Your Local Computer
Required Software
See instructions on installing these prerequisities for both OS X and Linux. There are also Docker instructions if that's your thing.
Once Prerequisites Are Installed
Now that the prerequisites are ready to go it's a few simple commands to get your instance up and running.
# Get the latest version of NodeTube
git clone https://github.com/mayeaux/nodetube
# Enter the nodetube folder that was just created
cd nodetube
# Install backend and frontend dependencies
npm run installDeps
# Then simply start your app
npm start
#If you're developing locally, you can boot the app with nodemon with:
npm run dev
And that's it! Your first user registered will automatically be an admin user and you will be able to see the admin and moderation functionality. Each additional user will be a regular user and will be able to upload video, audio or images up to 500MB.
For ease of local development I recommend using Nodemon to automatically restart the app while working on backend code.
Using ngrok
NodeTube comes with ngrok preinstalled with the setting in .env.settings
to run for new instances automatically. This means that when you boot the app you will see a log come through with a link where you can access the app from the ngrok subdomain. Great you're live on the internet, that was simple!
Features
Nodetube is packed with great features that offers a powerful media hosting experience straight out of the box:
- Videos, audio files and images are all supported by NodeTube and its media player page. The full list of supported file extensions are:
Video Extensions : ['.mp4', '.avi', '.flv', '.MOV', '.m4v', '.ogv', '.webm', '.wmv', '.mkv', '.mov', '.m2t', '.MTS', '.m2ts', '.MPG', '.AVI', '.mpg'], Audio Extension: ['.mp3', '.wav', '.ogg', '.m4a'];Image Extensions: ['.png', '.jpg', '.jpeg', '.gif', '.JPG', '.PNG']; Media is converted on the backend using
ffmpeg
to file formats that offer the best media browser and device compability.
You may also be interested in videodownloader, a video downloader that supports 110 websites and is powered by Electron and youtube-dl.
License
Licensed under the MIT License. © NodeTube Organization