mayeaux / nodetube
- пятница, 3 января 2020 г. в 00:18:57
JavaScript
Open-source YouTube alternative that also supports image and audio uploads. Powered by NodeJS
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 devAnd 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:
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.
Licensed under the MIT License. © NodeTube Organization