Web Analytics

yuebing

⭐ 234 stars English by cobbzilla

Yuebing 🥮 ========== Yuebing is open-source software for running video hosting sites.

Yuebing automatically prepares your source videos for streaming using modern formats, playable on any device over any connection.

Yuebing can use either Amazon S3 or Backblaze B2 for backend storage, and has many advanced features.

Source

Read this in another language

This README.md document has been translated, via hokeylization, into many languages.

I'm certain it's not perfect, but I hope it's better than nothing!

   🇸🇦 Arabic    🇧🇩 Bengali    🇩🇪 German    🇺🇸 English    🇪🇸 Spanish    🇫🇷 French    🇹🇩 Hausa    🇮🇳 Hindi    🇮🇩 Indonesian    🇮🇹 Italian    🇯🇵 Japanese    🇰🇷 Korean    🇮🇳 Marathi    🇵🇱 Polish    🇧🇷 Portuguese    🇷🇺 Russian    🇰🇪 Swahili    🇵🇭 Tagalog    🇹🇷 Turkish    🇵🇰 Urdu    🇻🇳 Vietnamese    🇨🇳 Chinese ----

Contents

Inspiration

Last year my mom spent a ton of time (and money!) to organize and digitize an archive of old family videos. Some of these were quite old, going back to the 1940's. Really beautiful, classic stuff.

We wanted to privately share these with family, but not with big tech. Going with "free" video hosting from a major provider was off the table.

What we were looking for:

Even with a bad connection, playback is decent quality and doesn't skip or buffer* This was a nice to have. As it turns out nothing out there has anything like this. Yuebing does!* I took a couple of weeks to survey what was out there. I started to greatly relax my requirements, and still could find nothing decent. I looked at several open source projects, I'm not saying which because they all had multiple glaring flaws.

So, I decided, how hard could it be? You wire up S3 to ffmpeg, put a decently modern frontend on it, and you're done, right? ... well, uh, the bulk of the work took a couple of months, but it was too much fun to stop! I hope you enjoy it too!

Let's make self-hosting video sites super-easy!

Features

on a much cheaper instance for 24/7/365 service.

Anonymous user feature (if the site has been configured to allow anonymous visitors)

Logged-in user features

Admin user features

Server/backend features

Installation

You can install and run yuebing via docker, npm or directly from source.

Docker

If you have docker, you can get started with Yuebing quickly:

docker run -it cobbzilla/yuebing

npm package

# install globally with npm npm i -g yuebing

# install globally with yarn yarn global add yuebing

# Now the 'yuebing' command should be on your PATH yuebing

From source

To run from source, you'll need nodejs v16+ and yarn

# Clone source and install dependencies git clone https://github.com/cobbzilla/yuebing.git cd yuebing yarn install

# Use the 'yuebing' command from the git repo ./yuebing

# Or, since you have the source, run any of the yarn scripts yarn docker-run-dev # Fastest build & startup, dev docker image yarn docker-run # Faster at runtime, production docker image yarn dev # Run yuebing locally in dev mode yarn build # Build yuebing locally for production mode yarn start # Start yuebing locally in production mode

See the developer docs for more info

Configuration

To play around with Yuebing, it's fine to start it without configuring anything. Run yuebing and you'll be prompted to enter the minimal config when it starts.

If you plan on running Yuebing for a while, see the configuration docs for more info on how to set things up.

nginx config

Yuebing is a Nuxt app, and expects that you'll put nginx (or some other web server) in front of it to handle SSL, rate limiting if needed, etc.

If you're using nginx, here is a sample config you can use.

Why the name yuebing?

Oolong the rabbit) was an adorable and famous early internet meme. Oolong died in 2003, two years before a certain massively popular video service even existed!

Oolong's successor was named Yuebing. Yuebing wasn't nearly as famous as Oolong, but did that even matter? Yuebing succeeded nonetheless.

Perhaps more interestingly, yuebing means mooncake (Chinese: 月饼, Japanese: 月餅); mooncakes are very tasty and can be found in a wide variety of flavors and styles. Enjoy a time-honored regional style, or try an exotic cake from contemporary bakers who are exploring deliciously uncharted territory! There is truly a yuebing for everyone!

--- Tranlated By Open Ai Tx | Last indexed: 2026-04-14 ---