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
You can get an instance up instantly using one-click deployment with Heroku below:
See instructions on installing these prerequisities for both OS X and Linux. There are also Docker instructions if that's your thing.
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.
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!
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.
The MIT License (MIT)
Copyright (c) 2014-2019 NodeTube Organization
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.