Skip to content

nodetube

Self-hosted video, audio and image platform with livestreaming and Stripe-based paid tiers

Permissive (OSI) · MIT

Listed by , founder & editor

22

Health

Dormant

Overview

Stars

2,375

Last commit

4 years ago

Sep 2022

Repository age

8 years

since Apr 2018

Latest version

1.0

Feb 2020

Contributors

–

Releases

0

last 12 months

Language

JavaScript

NodeTube is a self-hosted video sharing site that also takes audio and image uploads. It is an Express application on Node.js, with MongoDB as the database, Redis for caching and ffmpeg for converting and compressing media. Pages are rendered with Pug. Uploads use resumable.js, so an upload can survive a reboot.

Livestreaming works through an nginx-rtmp server, with NodeTube handling authentication. It includes a viewer page with live chat and a live viewer count, and it plays the stream with hls.js. The first registered user becomes the admin and gets the moderation tools. Regular users can upload files up to 500MB.

Admins can charge a monthly fee through Stripe. By default, paying users get private and unlisted uploads, a 2GB file limit and livestreaming. You can run it on a VPS, a cloud provider, Heroku or locally with the bundled ngrok integration. A Docker setup exists. It is MIT licensed and works as a YouTube alternative you host yourself. Development has been dormant since September 2022.

Who it's for

Hobbyists running a small private video site

One Node.js app handles uploads, transcoding, playback and moderation for a community you control.

Skip if: You need regular updates and security fixes, since the project has had no commits since 2022.

Creators who want to charge for an independent video platform

Stripe subscriptions with adjustable privileges are built in.

Skip if: You need a polished creator ecosystem with discovery and ad revenue.

The problem it solves

Hosting video on a big platform means giving up control of your data and your rules. NodeTube lets you run your own site for video, audio and images, with livestreaming and optional paid accounts.

Strengths

  • Handles video, audio and image uploads in one app
  • Livestreaming with live chat and viewer count via nginx-rtmp
  • Stripe subscriptions built in, with adjustable privileges
  • Resumable uploads survive a system reboot
  • MIT license with Docker and Heroku deployment options

Trade-offs

  • No commits since September 2022, so it is dormant
  • Needs Node.js, MongoDB, Redis and ffmpeg running together
  • Livestreaming requires you to set up a separate nginx-rtmp server
  • Default upload cap is 500MB for free accounts

Self-host nodetube

Self-hostable
Yes
Docker Compose
The repository ships a Compose file

Quick start

git clone https://github.com/mayeaux/nodetube
cd nodetube
npm install
npm start

From the project's own install instructions. Check the docs for production settings.

In the community

Frequently asked questions

Is NodeTube free?

Yes. It is MIT licensed and you can run it yourself at no software cost. You pay only for your own hosting.

Can I self-host it?

Yes. You can run it on a VPS, a cloud provider, Heroku or your own computer. A Docker option and an ngrok integration are included.

What does it need to run?

Node.js 10 or newer, MongoDB, Redis and ffmpeg.

Does it support livestreaming?

Yes, through an nginx-rtmp server that NodeTube authenticates. Viewers get HLS playback with live chat.

Is it still maintained?

The last commit was in September 2022 and there have been no recent releases.

Similar tools in Video hosting and YouTube front-ends

PipePipe

Video hosting and YouTube front-ends

Android YouTube, NicoNico and BiliBili client forked from NewPipe, with SponsorBlock

7.3k 267 yesterday Active GPL-3.0

Replaces YouTube

MediaCMS

Video hosting and YouTube front-ends

Self-hosted video and media portal with SAML, RBAC and LMS integration

5.2k 991 4 days ago Thriving AGPL-3.0

Replaces YouTube

bilimiao

Video hosting and YouTube front-ends

Third-party Android client for Bilibili with video browsing and keyword blocking

3k 108 3 days ago Active GPL-3.0

SkyTube

Video hosting and YouTube front-ends

Ad-free YouTube player for Android with video blocking and local subscriptions

2.8k 351 today Thriving GPL-3.0

Replaces YouTube

Xtra

Video hosting and YouTube front-ends

Android app for browsing and watching Twitch streams and videos, installable via F-Droid

2.4k 112 22 days ago Active AGPL-3.0

AVideo

Video hosting and YouTube front-ends

2.1k 1k today Thriving MIT