explaingit

pontusab/behindthecode

66TypeScript
This is a quick first-pass explanation. The richer sections — use-cases, tech stack, setup, prompts — are still being generated.

TLDR

BehindTheCode is an open-source video publishing platform designed for a single publisher who wants a clean, branded video channel.

Mindmap

A visual breakdown will appear here once this repo is fully enriched.

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

In plain English

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.

Open on GitHub → Explain another repo

← pontusab on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.