Black Branch/Docs
All sections

Words used in these docs

This is the glossary for the whole wiki, for anyone who meets a word they do not know. Each entry gives a plain meaning in a sentence or two and links to the page that covers the subject in full. Other pages link here the first time they use a term.

A

Admin

The person who runs the site. The account you make on the first setup page is the admin account, and it can do everything a mod can, plus open the Admin Panel.

See: The admin panel.

Admin Panel

The page at /admin where the admin changes how the site works. Its sections down the side are AI, Utility, Payments, Platforms, Site, Doctor and Updates, and it opens on Site → Site.

See: The admin panel.

AI provider

A company or program that runs AI models for the site, such as Anthropic, OpenAI, or any "OpenAI-compatible" service, including a model you run yourself. You add one with your own API key in Admin Panel → AI → Models, and the provider bills you by the token.

See: The chat bot.

API key

A long secret code a service gives you so another program can use your account there, such as a Stripe, AI or voice service key. Treat one like a password; the site stores every key you paste encrypted. More: Wikipedia: API key.

See: What you need.

Automod

An optional AI check on chat messages: a risky message typed on your site is held for a mod, and a risky one from another platform is flagged. It never removes anything itself, and it is off until you set it up in Admin Panel → AI → Automod.

See: The mod panel.

B

Backup

An encrypted copy of everything needed to bring your site back: the databases, the homeserver's media and signing key, and the install's settings and secrets. Your server makes one every night at the quiet hour and before every update, using restic.

See: Backups and restore.

Backup passphrase

The secret that locks your backups, shown once on the recovery sheet. Without it no backup can be opened by anyone, so keep it somewhere safe off the server.

See: Backups and restore.

Baseline

The starting database of a new install: the shape a replay of every migration would leave, with no data, plus the few rows the product needs. A new install applies it, then any newer migrations.

See: Updates and the database → The fresh-install baseline.

Bridge

A program that connects two chat systems, so messages typed in one appear in the other. Black Branch comes with a Discord bridge, Out Of Your Element (OOYE), off on a new install: it links your Discord server's channels with your community rooms. More: Matrix.org: bridges.

See: Discord.

Browser source

A source in OBS that shows a web page as part of your stream. Black Branch's overlays and its rig page are all added to OBS as browser sources. More: OBS: browser source.

See: OBS.

C

Chargeback

A buyer asking their bank to reverse a card payment; Stripe calls it a dispute. The site takes back the points the payment bought and lowers the viewer's lifetime support, and a Stripe dispute you win gives both back. More: Stripe: disputes.

See: How money flows → Refunds and disputes.

Chat service

The live backend of your site, called stream-api in container and log names. It stores and sends out chat, records payments, fires alerts and keeps the settings.

See: The parts of an install.

Community rooms

The Discord-like part of your site: a community space where members talk outside the stream chat. The setup pages create the space with #general and #forum, owned by your account, on your own homeserver.

See: Community rooms.

Container

A sealed box that runs one program with only the files and settings it needs. Every part of an install runs in its own container under Docker Compose, listed in /opt/blackbranch/compose.yaml. More: Docker: what is a container?.

See: The parts of an install.

Cross-posting

Sending a message typed on your site to a platform's chat as well, under the viewer's own linked account. It is on by default for linked platforms, and the viewer can pick another destination in the send-to menu.

See: Linking your platforms.

D

Developer app

A registration you make in a platform's developer console so your site may use that platform's sign-in and API. The platform gives you a client id and client secret to paste into your site, and the setup pages give the exact values to enter.

See: What you need.

DID

The permanent id of an AT Protocol account (Bluesky, stream.place), in the form did:plc:…. It never changes, even when the account's handle does. More: AT Protocol: DIDs.

See: Streamplace.

Display value

One of the texts you set on the server rather than in the Admin Panel, such as the site's name, tagline, legal details and points names. You change one with sudo blackbranch set <KEY> "<text>", which restarts the site with it.

See: Install values → Display values.

DNS

The internet's address book, which turns a name like example.com into the address of the server that answers for it. More: Wikipedia: Domain Name System.

See: Putting your domain on Cloudflare.

DNS record

One entry in DNS that says where a name points. The install needs three, example.com, api.example.com and matrix.example.com: the installer makes them in tunnel mode, and you make them before installing in direct mode. More: Cloudflare: DNS records.

See: Putting your domain on Cloudflare.

Doctor

The health check for your install, in Admin Panel → Doctor or as sudo blackbranch doctor. Each row is green, amber, red with a one-line fix, or grey, and it only reads, never changes anything.

See: Health and the Doctor.

Domain

The web address your community lives at, such as example.com. It is permanent for the install, because the homeserver and every account name are named after it. More: Wikipedia: domain name.

See: What you need.

E

Embeddings

Lists of numbers that describe what a message means, so the site can later find messages with a similar meaning. The optional memory uses them, and needs an OpenAI-compatible AI provider set in Admin Panel → AI → Embeddings. More: Wikipedia: word embedding.

See: Inside the AI features → Memory.

Emote

A word that chat shows as a small picture, like catJAM. Your site shows emotes from Twitch, 7TV, BTTV and FFZ. More: 7TV.

See: 7TV emotes.

End-to-end encryption

Messages locked on the sender's device and unlocked only on the readers' devices, so the server in between stores text it cannot read. On your site, direct messages started on the site are end-to-end encrypted; community rooms are not unless whoever made the room switched it on. More: Wikipedia: end-to-end encryption.

See: Encryption and Encryption and your recovery key.

.env file

The install's settings file, /opt/blackbranch/.env, readable by root only. It holds the domain, the display values and every secret the install made, and it is inside every backup.

See: Install values.

F

Federated sign-in

Letting people sign in to your site with an account on another Matrix server. It is off on a new install and set in Admin Panel → Site → Site, card Sign-in from other servers. It is separate from federation.

See: Sign-in and accounts.

Federation

Whether your homeserver can talk to other Matrix servers, the way one email provider delivers to another. It is off on a new install, and you switch it on in Admin Panel → Site → Community, card Federation and sign-up. More: Wikipedia: federation.

See: The homeserver → Federation.

Front door

How visitors from the internet reach your server: through a Cloudflare tunnel (the default), or direct to your server's own public address. You choose it when you install.

See: What you need.

H

Handle

The readable name of an AT Protocol account, such as casey.bsky.social. Unlike the DID, its owner can change it.

See: Streamplace.

Help desk

The optional AI that answers viewers' questions in the help pop-up, using a reference text you write. It is off until you set it up in Admin Panel → AI → Help Desk.

See: The chat bot → The help desk.

Homeserver

The Matrix word for a chat server, where accounts live and rooms are stored. Every install has its own at matrix.example.com, made of Synapse and MAS.

See: The homeserver.

House look

A ready-made chat look the streamer publishes into everyone's look slots, marked with a small house icon. Viewers can use it or save their own look over it.

See: Settings and looks.

I

Install

One copy of Black Branch on one server, with its own domain, database, homeserver and accounts. The word also means the act of setting it up.

See: Installing.

Ingest service

The part of your install that reads chat and paid events from Twitch, Kick, YouTube and Streamplace and runs the chat bot, called stream-ingest in container and log names. It hands everything to the chat service.

See: How chat flows.

K

Key backup

A copy of a member's encryption keys kept on your homeserver, locked with that member's recovery key. Nobody without that key, you included, can open it.

See: Encryption → Key backup and recovery keys.

L

Ledger

The one record of support received, with one row per payment that counts and its take-home amount in US dollars. The support bar, the timer and the income totals all read it, and a refund adds a negative row instead of changing the old one.

See: How money flows → The ledger.

The check every link in chat passes through. It holds look-alike names, link shorteners and file hosts, follows a mod's own rules, allows a short built-in list, and holds or flags everything else.

See: Link rules.

Linking

Connecting a platform account (Twitch, Kick or Streamplace) to a site account, through the platform's own sign-in. The site then knows both are the same person, and the link stays private unless the person shows it.

See: Linking your platforms.

Lockdown

The raid switch in the Mod Panel. Its levers close the ways a raid grows, such as new sign-ups, cross-posting or one platform's chat, without locking out people who already have an account.

See: Lockdown.

M

MAS

The Matrix Authentication Service, the sign-in service that comes with your homeserver. It checks passwords and hands out sign-in tokens. With a mail server set (Admin Panel → Site → Site, card Mail) it also sends the "forgot password" link and checks new accounts' addresses; without one, a forgotten password is reset on the server. More: MAS documentation.

See: Resetting a password.

Matrix

An open standard for chat, used by your community rooms and direct messages. Your rooms run on your own server, and any Matrix app can connect to it. More: matrix.org.

See: Matrix (built in).

Matrix ID

A member's full account name, such as @casey:example.com: the username, then your domain. It cannot change, which is one reason the domain is permanent.

See: Your account.

Merchant

The business that takes a payment and receives the money. With Stripe and PayPal on your site the merchant is you, so refunds and disputes are yours to answer.

See: Tips, store and subscriptions.

Migration

One numbered change to the shape of the database, such as a new table. Migrations apply in order, each in one transaction, and the migrate job applies any new ones at every start and update.

See: Updates and the database → Migrations.

Mod

Short for moderator: a member trusted to keep chat in order. Only the admin appoints or removes mods, and mods work from the Mod Panel.

See: Moderating.

Mod ceiling

The rule that only the admin can ban, time out, purge or merge a mod or the admin. If the site cannot tell whether the target is a mod, it refuses the action.

See: Roles and permissions.

Mod Panel

The moderation window, with chat and mod history, bans, reports, chat controls, lockdown and identity links.

See: The mod panel.

Module

An optional part of the site with its own on/off switch, at the top of its own page in the Admin Panel. A new install has four, all off: OBS control, YouTube, Card payments (Stripe) and PayPal and Venmo. The payment switches apply at once; OBS control applies when the chat service restarts, and YouTube when the ingest service restarts.

See: Turning features on and off.

O

OAuth

The standard way one site asks another for permission on your behalf without seeing your password. The person approves a list of scopes on the platform's own page and can withdraw it there later. More: Wikipedia: OAuth.

See: Linking your platforms.

OBS

OBS Studio, the free program most streamers use to put their stream together. Black Branch shows alerts, chat and bars in it through browser sources. More: obsproject.com.

See: OBS.

Overlay

A web page made to sit on top of your stream in OBS as a browser source, such as the alert, the support bar, the reminder bubble or chat. Admin Panel → Utility → OBS lists them with the address to paste into OBS; the support bar's and the alerts' addresses also show on their own pages under it.

See: Alerts and text-to-speech.

P

Person id

The one id the site gives each person, whatever accounts they chat or pay from. Chat, payments and votes point at it, and it never leaves your server; public chat carries a public id instead.

See: One person, many accounts.

Points

Your community's own currency, earned by taking part: chatting, voting and watching. You choose its name and symbol during setup, and the leaderboard ranks members by it.

See: Points.

Power level

Matrix's permission number for each member of a community room: 0 a member, 50 a moderator, 75 Staff, 100 an admin. Your server sets it in every community room from the role each person holds on the site.

See: Roles and permissions → Site mods and community-room moderators.

Public id

The id a person's chat messages carry in public instead of their person id. It differs per platform, so nobody outside your server can tell that a Twitch name and a YouTube name are the same person.

See: One person, many accounts → Public ids.

Purge

Removing all of one person's recent messages in one step, from your site and every linked platform. The window is at most 24 hours.

See: Bans, timeouts and deletions → Purge.

PWA

A progressive web app: a website that can be added to a phone's home screen and opened like an app. Your site is one. More: Wikipedia: progressive web app.

See: Using it on your phone.

Q

Quiet hour

The hour of the day, chosen on the last setup page, when the nightly backup runs, followed by the check for updates. Pick an hour you are never live; a security update also waits if you are.

See: Updates and rollback.

R

Read receipt

The signal that tells others in a room or direct message that you have seen a message. A viewer can turn them off with Send read receipts in settings.

See: Community rooms.

Recovery key

A long code each member saves when they set up encryption. It unlocks their encrypted messages on a new device, and nobody else has a copy, including you.

See: Encryption and your recovery key.

Recovery sheet

The second setup page. It shows the backup passphrase once; save it before you move on.

See: The setup wizard.

Redirect URL

The address on your site that a platform sends people back to after they approve a sign-in, such as https://example.com/api/auth/link/twitch/callback. It must match your developer app letter for letter.

See: What you need.

Release

One numbered version of Black Branch, pinning every part of the software on your server. Your server reads a signed list of releases each night and refuses any release the project did not sign.

See: Updates and rollback.

Release channel

Which line of releases your server follows: beta or stable. Every release so far is a preview on beta, and the one-line install follows beta; stable has no release yet. Switch with sudo blackbranch update --channel beta (or stable).

See: Updates and rollback.

Restricted key

A Stripe secret key, starting rk_, that can do only what you allow. The Stripe setup page lists exactly which permissions to give it. More: Stripe: restricted API keys.

See: Card payments (Stripe).

Retention

How long the homeserver keeps messages before removing them: 180 days on a new install, unless a room has its own setting.

See: Direct messages.

Reverse proxy

A program at the front of your server that passes each visitor to the right part of the install. On Black Branch it is Caddy. More: Wikipedia: reverse proxy.

See: The parts of an install.

Review queue

The one queue where everything held for a mod waits: word-filter hits, held links, automod's holds and more. Mods see it above the chat box whenever something is waiting.

See: Blocked words → The review queue.

Rig page

The browser source you add to OBS when OBS control is on. It plays sound alerts into your stream and tells the site which scene is showing; its address carries your site's key, so keep it private.

See: OBS.

Rollback

Going back to the previous release and its data when an update fails its health check. It happens by itself, and the nightly update does not try that release again, except one that failed only because a chat reader stopped working: that one is tried on up to three nights in all.

See: Updates and rollback → Rollback is automatic.

S

Sandbox

PayPal's practice environment, with pretend accounts and no real money. Switch to a Live app before real viewers pay. More: PayPal sandbox testing.

See: PayPal and Venmo.

Scope

One permission inside an OAuth request, such as Twitch's user:write:chat. The site's token can do only what the approved scopes allow.

See: What you need.

Self-hosting

Running software on a server you control instead of using someone else's service. You hold the data, and keeping it running is your job. More: Wikipedia: self-hosting.

See: What Black Branch is.

Server

A computer that stays on and connected so your site is always up. For Black Branch it runs Debian stable or Ubuntu LTS on x86-64, with at least 4 GB of memory, 2 cores and 40 GB of disk.

See: What you need.

The one link the installer prints at the end, https://example.com/setup?token=…. Whoever opens it first makes the admin account, so keep it to yourself.

See: Installing.

Setup pages

The pages the setup link opens, in order: your account, the recovery sheet, your site, points, modules, platforms and services, community, and finish. Each value has a Check button, and each page saves as you go.

See: The setup wizard.

Severity

The number on each word in the word filter: 4 blocks a message, 2 or 3 holds it for a mod, and 1 lets it through.

See: Blocked words → Severity.

Sign-up

Making a new account on your homeserver. It is closed during setup and then follows Let people make accounts in Admin Panel → Site → Community, card Federation and sign-up; it asks for a username and password only.

See: The homeserver → Sign-up.

Signing key

The key your homeserver signs its messages with, made once when it first starts. It can never be replaced, which is why it is in every backup.

See: The homeserver → The signing key.

Site chat

The chat on your site, where messages typed on the site and from every connected platform appear together, each with its platform's mark.

See: Chat.

Site plugin

Code an install adds of its own, through one fixed place in each program, without changing the product's files. Published releases carry no plugin, so an install with one builds its own images.

See: Settings and modules → The plugin seam.

Slot

A job the AI does, such as "Chat bot replies", that the site connects to a model. There are four: bot.reply, automod.classify, helpdesk.answer and embeddings, and a slot with nothing set is off.

See: Inside the AI features → Slots.

Snapshot

One backup, as the backup tool restic stores it. Your server keeps 7 daily and 4 weekly snapshots by default, set in Admin Panel → Site → Site, card Backups.

See: Backups and restore.

Space

A Matrix group of rooms, much like a Discord server. Every install starts with one community space holding #general and #forum.

See: Community rooms.

Subscription

A monthly payment on your site, by card (Stripe) or PayPal, that makes a viewer a Supporter while it is paid. You set the Stripe price and PayPal plan in Admin Panel → Payments → Connections.

See: How money flows → Supporter subscriptions.

Supporter

A viewer with a paid subscription on your site or a gifted subscription, or one of the site's staff: you, the chat bot, and any accounts listed in Admin Panel → Site → Moderators, card House accounts. Supporters get the subscriber badge and perks; tips, Ko-fi and Patreon alone do not make someone a Supporter in this release.

See: Tips, store and subscriptions.

Support bar

The bar that adds up your estimated take-home during the current stream.

See: The support bar and the stream timer.

Synapse

The homeserver program that stores the accounts, rooms and messages of your community. It comes inside your install. More: Synapse documentation.

See: The homeserver.

T

Take-home

What you keep from a payment after the platform's cut and the payment fees. The site estimates it for each payment, and the support bar counts it, not the amount the viewer paid.

See: How money flows → Take-home.

Test mode

Stripe's practice mode: keys starting rk_test_ and pk_test_ take only test cards and move no real money. More: Stripe: testing.

See: Card payments (Stripe).

Text-to-speech

TTS: a voice that reads a supporter's message aloud on your stream, through a voice service with your own API key. It is off until you switch it on in Admin Panel → Utility → TTS, card Voice. More: Wikipedia: speech synthesis.

See: Alerts and text-to-speech.

Thread

A side conversation attached to one message in a community room, opened beside the room.

See: Community rooms.

Timeout

A ban with an end time: the person cannot send in site chat until it runs out. The site also applies it on the platforms where it can.

See: Bans, timeouts and deletions.

TLS certificate

The file that lets a browser connect to your site over HTTPS. Cloudflare provides it in tunnel mode; in direct mode your server gets free ones from Let's Encrypt. More: Wikipedia: Transport Layer Security.

See: What you need.

Token

A word with two meanings. A sign-in token is a key a platform gives your site after someone approves a link; an AI token is the piece of a word that AI providers count and bill by. More: Wikipedia: access token.

See: Linking your platforms and The chat bot.

Tunnel

A Cloudflare Tunnel: a connection your server opens outward to Cloudflare, through which visitors come in. It needs no open ports and is the default front door. More: Cloudflare Tunnel docs.

See: Putting your domain on Cloudflare.

Two-factor sign-in

Signing in with a second proof besides your password, usually a code from a phone app. Twitch and Kick require it before you can register a developer app. More: Wikipedia: multi-factor authentication.

See: What you need.

V

Verification

Proving that a new device signed in to your account really is yours, so it can read your encrypted messages. You verify with your recovery key or from a device already verified.

See: Encryption and your recovery key.

VPS

A virtual private server: a rented slice of a large machine in a data centre that behaves like a computer of your own. It is the usual way to run a server for Black Branch. More: Wikipedia: virtual private server.

See: What you need.

W

Webhook

An address on your site that a service calls to say something happened, such as "a payment went through". Stripe, PayPal, Ko-fi and Patreon use them to tell your site about payments. More: Wikipedia: webhook.

See: How money flows → The paths in.

Webhook secret

A code shared between a service and your site, so the site can check a webhook call really came from that service. Without it, anyone who knew the address could fake a payment alert.

See: How money flows → The paths in.

WebSocket

A connection between a browser and a server that stays open, so the server can send new messages the moment they happen. Every open page and OBS overlay connects to the chat service's WebSocket. More: MDN: WebSockets.

See: How chat flows → What the public WebSocket carries.

Next: Install

← Start here