Orbiter is the proof-of-concept version of Riff.CC, implemented using OrbitDB, Constellation, IPFS and other tools. This repository contains instructions on how to set up and install a Riff.CC instance through Orbiter, as well as the necessary code to do so. For more information about Orbiter as well as the Riff.CC project itself, see the project's main page.
Funding provided via OpenCollective.
Riff.CC is an in-development platform for watching, sharing, distributing and curating legally free media.
It's like if sites like Netflix, Spotify and YouTube were rolled into one platform where you are not the product.
The software we're making is open source and you can not only make your own things with it but federate with other sites using the Defederation Model.
Orbiter will work on any standard Linux distribution where standard utilities like a webserver and Node.JS are available, but our instructions specifically cover the latest LTS releases of Ubuntu and Debian only. Ask us (or submit a PR) if you want any others to be added.
Before installing Orbiter, you must install the following dependencies:
sudo apt install libnss3-dev libgtk-3-0 libgbm1 libasound2-dev libatk1.0-0 node-pre-gyp git curl
Additionally, Orbiter utilizes Node.JS and pnpm to set up and install the platform, and as such it's required to install them as well.
Required whether you use pnpm or yarn. We suggest using the NodeSource installation guide, with $NODE_MAJOR set to 22:
sudo apt-get update
sudo apt-get install -y ca-certificates curl gnupg
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
NODE_MAJOR=22
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list
sudo apt-get update
sudo apt-get install nodejs -y
curl -fsSL https://get.pnpm.io/install.sh | sh -
source ~/.bashrc
Clone Orbiter's GitHub repository:
git clone https://github.com/riffcc/orbiter.git
Move into Orbiter's directory and set up its installation dependencies:
cd orbiter
pnpm install
Run the application in development mode (with hot reloading):
pnpm watch:web
Visit the application in your browser, generate a moderation database, copy the parameters the application gives you, and copy them to ./.env.local
Stop and re-run the application to apply the new moderation database.
Compile and minify the application:
pnpm build
Then deploy the bundle of HTML/CSS/JS that is produced.
Authored by @julienmalard, @Zorlin, and the Riff.CC Project.
Thank you to our sponsors, who have generously provided funding for the development of the Riff.CC Project: