whatisgithub

What is behindthecode?

pontusab/behindthecode — explained in plain English

Analysis updated 2026-05-18

66TypeScriptAudience · developerComplexity · 4/5Setup · hard

In one sentence

A self-hosted, open-source video publishing platform for a single brand channel, built with Next.js, Mux for video, and Supabase for the backend.

Mindmap

mindmap
  root((behindthecode))
    What it does
      Publishes branded videos
      Schedules releases
      Optional paywall
    Tech stack
      Next.js
      Mux
      Supabase
      Vercel
      Bun
    Use cases
      Run a solo video channel
      Sell paid video content
      Schedule future releases
    Audience
      Solo creators
      Developers
    Setup
      Needs Docker
      Needs Mux and Supabase accounts

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Run a self-hosted, ad-free video channel under your own brand

USE CASE 2

Sell individual videos or subscriptions using the optional Polar paywall

USE CASE 3

Schedule videos to go live at a specific future time

USE CASE 4

Deploy a monetized video site to Vercel with one click

What is it built with?

Next.jsTypeScriptMuxSupabaseVercelBunTiptapPolar

How does it compare?

pontusab/behindthecodedenissergeevitch/chatgpt-portalmaartenkeizer/dither-avatar
Stars666666
LanguageTypeScriptTypeScriptTypeScript
Setup difficultyhardmoderateeasy
Complexity4/53/51/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1h+

Requires Docker, Bun, and accounts with Supabase and Mux before you can run it locally.

No license information is provided in the README.

So what is it?

BehindTheCode is an open-source video publishing platform designed for a single publisher who wants a clean, branded video channel. The goal is something closer to a polished brand channel than a community video site. You host and control it yourself, and visitors see a minimal, monochrome interface for watching your videos. The project is built with a modern TypeScript web stack. Next.js handles the website, Mux handles video uploading and playback (including captions and viewing analytics), Supabase provides the database, authentication, and file storage, and Vercel is the recommended place to host it. For writing video descriptions and accompanying text, the admin area uses Tiptap, a browser-based text editor that saves content as Markdown. Payments and subscriptions are supported optionally through Polar, which lets you put individual videos behind a paywall or offer subscription plans. The admin area is built into the same application. The first account to sign up automatically becomes the administrator. From there you can manage videos, users, and optional monetization settings. Scheduled publishing is included: a background job runs every five minutes to check for content set to go live at a specific time. To run the project locally you need Docker installed (for a local version of the Supabase database), plus the Bun package manager. The setup involves installing dependencies, starting the local database, copying an example configuration file with your credentials, and then running the development server. Full deployment to Vercel follows a checklist: create a Supabase project, push the database schema, connect the repo to Vercel, set the required environment variables, configure a Mux webhook so the system knows when uploaded videos are ready, and optionally wire up Polar for paid content. The repository is organized as a monorepo: one app folder for the website and admin, plus separate packages for the database layer, Mux helpers, shared UI components, and configuration. A Vercel deploy button in the README lets you clone and deploy with one click if you already have Supabase and Mux accounts set up.

Copy-paste prompts

Prompt 1
Walk me through deploying behindthecode to Vercel with Supabase and Mux
Prompt 2
Set up a local development environment for this Next.js video platform using Docker and Bun
Prompt 3
Configure a Mux webhook so my published videos show up on the site
Prompt 4
Add a paid subscription tier to my video channel using Polar

Frequently asked questions

What is behindthecode?

A self-hosted, open-source video publishing platform for a single brand channel, built with Next.js, Mux for video, and Supabase for the backend.

What language is behindthecode written in?

Mainly TypeScript. The stack also includes Next.js, TypeScript, Mux.

What license does behindthecode use?

No license information is provided in the README.

How hard is behindthecode to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is behindthecode for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.