Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
@moartube/moartube-node
Advanced tools
A free, open-source, self-hosted, anonymous, decentralized video/live stream platform. Scalable via Cloudflare, works in the cloud or from home WiFi.
A repository containing the MoarTube Node software, a cross-platform terminal-based Node.js Express application, managed by the MoarTube Client. Share your node's videos with MoarTube or do your own thing and run your node privately. MoarTube makes video and live streaming so easy you'll be amazed beyond belief.
Welcome to the MoarTube Node setup guide! This document will guide you through the different setup methods to get your MoarTube Node up and running. Don't worry; MoarTube is so easy to set up and use, you'll be done in minutes. When ready, head over to MoarTube Client if you haven't yet.
Node.js is the only requirement to run a MoarTube Node, and all major operating systems support it.
MoarTube Node has the smallest resource usage footprint out of any self-hosted video and live streaming solution available today; most of the heavy computational responsibilities and memory-intensive operations are handled by MoarTube Client; MoarTube Node is only responsible for storage and distribution. MoarTube Node is also multi-threaded, utilizing the full potential of the CPU of whatever system it is installed on.
On Digital Ocean, an $8 VPS (1 vCPU, 1 GB RAM) provides a comfortable headroom to handle surprisingly moderate demand. Although this tier is likely adequate for most users, others will need to observe the resource usage monitor and adjust their instance accordingly. Or just simply forget all that and host from your personal computer over home WiFi.
The node software uses about 100MB of RAM while sitting idle with fluctuations depending on visitor (and user) demand. Much of the demand can be alleviated by the Cloudflare integration feature, leveraging the world's largest CDN to distribute your video and live stream data, giving your node capabilities that rival that of major platforms.
To give you an idea of how tiny MoarTube Node really is, the software can run on a Raspberry Pi Zero 2 W on Raspberry Pi OS with approximately 100MB of system RAM remaining out of a total system availability of 512MB; the OS uses about 200MB RAM and reserves an additional 100MB for a swap file.
As you can see, MoarTube Node is quite capable and can run on just about anything, anywhere.
Observe the corresponding prerequisite for your installation method.
If you're using Docker, make sure that it is installed on your machine.
If you're using npm to install the software, make sure that Node.js and npm are installed on your machine.
You can clone the repo, but make sure that Node.js and npm are installed on your machine.
A script to automate your entire setup. Installs Node.js using Snap, clones the git repo using git, installs dependencies using npm, and sets the node to autostart on system boot using systemctl
Choose any of the following installation methods.
MoarTube Node is available on DockerHub and can be easily set up using Docker Desktop or via the command line for a more manual approach.
You can manage MoarTube Node using Docker Desktop by searching for moartube/moartube-node
on DockerHub within the Docker Desktop interface.
To set up MoarTube Node manually using Docker, execute the following command in your terminal. This command pulls the latest MoarTube Node image, creates a container named moartube-node-1
, assigns it port 8181, and configures it to auto-restart unless manually stopped.
docker run -d --restart unless-stopped -p 8181:80 --name moartube-node-1 moartube/moartube-node:latest
note: the Docker container uses /data for its volume container path.
You can install MoarTube Node globally:
npm i @moartube/moartube-node -g
And run from the command-line globally:
moartube-node
You can install MoarTube Node locally:
npm i @moartube/moartube-node
And run from the command-line locally:
node node_modules/@moartube/moartube-node/moartube-node.js
git clone https://github.com/MoarTube/MoarTube-Node
Open a terminal in the cloned directory and run:
npm install
node moartube-node.js
bash <(wget -O - https://www.moartube.com/bash/install/node)
The default login credentials for your node are below. Be sure to change these upon logging in.
username: admin
password: admin
At this point, you should probably look into creating a free Cloudflare account so that you can give your node CDN capabilities. With over 300 data centers worlwide, Cloudflare will distribute most of your node's videos and live streams.
If you haven't already, it's time to get the MoarTube Client.
Ubuntu Linux comes pre-installed with the Snap package manager. It's the easiest way to install Node.js.
Run the command:
sudo snap install node --classic --channel=21
This guide will configure your node to autostart on system boot.
Stop the Moartube Node software if it is running
Run the command:
sudo nano /etc/systemd/system/moartube-node.service
Below is an example of a moartube-node systemd service unit file
Make any necessary changes and paste it into the nano text editor
[Unit]
Description=MoarTube Node
After=network.target
[Service]
Type=simple
User=root
ExecStart=/snap/bin/node /home/Moartube-Node/moartube-node.js
Restart=always
[Install]
WantedBy=multi-user.target
Reload all services.
sudo systemctl daemon-reload
Make the moartube-node service autostart on system boot.
sudo systemctl enable moartube-node
Start the moartube-node service.
sudo systemctl start moartube-node
View the status of the moartube-node service
sudo systemctl status moartube-node
Stop the moartube-node service.
sudo systemctl stop moartube-node
Restart the moartube-node service.
sudo systemctl restart moartube-node
FAQs
A free, open-source, self-hosted, anonymous, decentralized video/live stream platform. Scalable via Cloudflare, works in the cloud or from home WiFi.
We found that @moartube/moartube-node demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.