Forum Manager

Installation guide

This guide is for the person setting up Forum Manager for a forum: usually the moderator, or the member the forum asks to look after its technology. It explains what happens at each step, what you decide, how to keep the forum's accounts secure, and how to fix the common problems.

The short version lives in INSTALL.md in the code: you open an AI coding agent, paste one sentence, and the agent follows INSTALL.md as a runbook. This guide is the long version, for when you want to understand the install, check the agent's work, or explain it to the forum.

Before you start

Who should do it

One person runs the install from start to finish, in one sitting of about 20 to 45 minutes. In the clean-install test it took about 20 minutes, with an agent that already knew the tools; allow longer the first time. They need to be comfortable copying and pasting, and able to sign in to the accounts below. No programming is needed when an AI agent does the work.

Set the accounts up under an email address the forum controls, not one member's work address. Moderators change; the accounts should stay with the forum. Agree with the forum who holds the logins, and keep them in a password manager.

Accounts you need

Three free accounts, plus an Anthropic key if the forum wants Ask AI:

ServiceWhat it is forPlan and cost
GitHubHolds your forum's copy of the codeFree
SupabaseThe database, member sign-ins and file storageFree to start; the Pro plan adds daily backups
VercelHosts the forum's siteFree to start
AnthropicAsk AI, which answers members' questions from the forum's recordsPay per use, with a monthly spending limit you set

Optional, add them now or later:

ServiceTurns onCost
ResendEmail notices from the forumFree to start; needs a domain you can verify
WHOOPA health track in the season contest, for members who wear a WHOOPFree developer app; each member needs their own WHOOP

Tools on the computer

The agent first checks for Git, Node.js 20 or newer, npm, curl and openssl, and tells you what to install if one is missing. It uses psql to build the database when it is there, and a small Node library when it is not. On a Mac, Homebrew installs anything missing. Windows works too, through WSL.

The AI agent

Claude Code, or any coding agent that can run commands (Codex, Cursor and similar). Open it in a new, empty folder. The agent stops at a few points and asks you to do something in your browser, such as create the Supabase project; that is expected.


Decisions to make first

The agent asks for these in one message. Have the answers ready.

  1. Forum name and short name. The full name as members say it (The Night Owls Forum) and a short name for tight spaces (Night Owls).
  2. Organisation. EO or YPO.
  3. Currency, dues and fines. The currency the kitty uses (USD), what each member pays per forum (250), and the fines for being late and for missing a forum (a fifth of dues and the full dues are a good start).
  4. Time zone. The standard name (Europe/Lisbon). Every forum date and time uses it.
  5. The moderator. Their name and email. They become the first admin, and the privacy, terms and support pages show them as the forum's contact.
  6. The web address, or "none yet". A free .vercel.app address works fine.
  7. Where the data lives. The region of the database. It is the most important technical decision and cannot be changed later. Read the next section before you answer.
  8. Your constitution, if you have one. Paste it and the agent rewrites it into the app's format and shows you the result. If not, the forum starts from the starter constitution and edits it in the app.

The answers become the forum's settings. An admin can change most of them later on the forum settings screen; the region can never change.


Where your forum's data lives

The app holds the most private things your members write down: updates, the Parking Lot, chat, goals, the kitty and signed constitutions. Where that data is stored matters for the law, for your members' trust and for speed. Decide it with the forum before the install.

Two places, two choices

What it holdsWhere it is chosenCan it change later?
Supabase (the database)All forum data, sign-ins, photos and filesThe region picked when the project is createdNo. Moving means creating a new project in the new region and copying the data across
Vercel (the website)No stored data. It runs the pages and passes data between members and the databaseA setting in the codeYes, any time

How to choose

  1. Follow the law that applies to your members. Data-protection laws such as the GDPR set rules on where personal data may go. Some countries require personal data to stay inside the country. If you are unsure, ask a member who is a lawyer. This decision outranks everything below.
  2. Otherwise, pick the region nearest your members. The agent shows the list of regions; pick the closest.
  3. Put the website in the same region as the database. Every page asks the database for data, and across oceans each trip adds a delay. The agent sets this for you.

Who owns it

Your forum's data lives in its own accounts: its own Supabase database and its own Vercel site, which the forum signs up for and controls. The people who publish Forum Manager have no access to them. That also means nobody else can recover the data: keep the database password and the account logins in a password manager, and turn on backups once real members use it.

Other services that process forum data

A few services process the parts of the forum's data they need to do their job:

  • Anthropic, for Ask AI. It sees the questions members ask and the records Ask AI reads to answer them, and Ask AI reads only what the asking member is allowed to see. Anthropic's commercial terms say API data isn't used for training. If the forum prefers, leave Ask AI switched off; everything else works without it.
  • Resend, if the forum turns on email notices. It sees each notice and the address it goes to.
  • Expo, only if members use the iPhone app. It delivers push notifications, which never show what was said.

Security checklist

Forum Manager gives a forum strong defaults: the database itself decides who can read what, new members see only forums from the day they join, and phone notifications never show message text. It is not a certified compliance product. Its security depends on the forum keeping its own accounts safe, so the install walks through this checklist and you should not skip any of it.

  • Two-factor sign-in on every account. Turn it on for GitHub, Supabase, Vercel and Anthropic, for everyone with access, before the install starts. The agent asks you to confirm it before going on. Use an authenticator app or a security key, not text messages, where the service allows it.
  • The region nearest the forum, or the one the law requires (see above).
  • The code repository private. You create it private; leave it that way.
  • Public sign-ups off in Supabase. Members join only with the forum's sign-up code. The agent turns sign-ups off and checks that a sign-up without the code is refused.
  • Secrets in Vercel for Production only, marked Sensitive. Preview builds get no secrets, and the database password never goes into Vercel.
  • A spending limit on the Anthropic key, if Ask AI is on.
  • The sign-up code kept out of chat. Give it to each member privately, in person or by phone, never in a group chat or email thread. Change it in Vercel (SIGNUP_ACCESS_CODE) once everyone has joined.
  • Only the moderator as admin. When a member leaves, an admin sets their leaving date in the app the same day.
  • The database password in a password manager, and nowhere else, with a second member who knows where to find it.
  • Your data rules in the constitution. The starter constitution includes a section on what the forum writes down and where it lives. Read it with the forum and change it to match what you agree.

Repeat the checklist whenever the moderator or an admin changes.


What the install does, step by step

INSTALL.md numbers these Step 0 to Step 12. Here is what each part means for you.

Accounts and two-factor sign-in

The agent checks the computer has what it needs, asks the questions above, then asks you to confirm that two-factor sign-in is on for every account. It does not go on until you do.

The forum's copy

You click Use this template on the Forum Manager GitHub page and create your forum's own private repository. The agent copies it to your computer and works inside it. This is your forum's own copy; nothing you change there affects other forums.

Keys and secrets

You create the Supabase project: any name, the region you chose, and a strong database password that you save in your password manager straight away. Supabase cannot show it again.

Secrets never go through the chat with the agent. The agent creates a settings file on your computer, .env.local, and you open it in a text editor and paste in the keys from the Supabase dashboard. The agent checks the lines are filled without printing them, and adds a few random secrets of its own, including the forum's sign-up code. The file never goes to GitHub; do not email or share it.

The database

The agent builds the whole database from one schema file: every table, the access rules on every table, and the storage for photos and files. It adds the starter content: the constitution as version 1, a forum protocol page, dues and a first season. Then it checks the result, including that members cannot make themselves admin.

It also sets up sign-in in Supabase: public sign-ups off, the site address, passkeys, and the connection members' own AI assistants use. Then it confirms that a sign-up without the code is refused.

A check on your computer

The agent builds the app and runs it on your computer, to catch any problem before the site goes live. An empty forum is correct.

The site

The agent asks before going live. You import the repository at vercel.com/new; the free plan is enough. Before the first build finishes, the agent adds the settings to Vercel as Production-only, Sensitive variables, leaving out the database password. Preview builds get no secrets. From then on, every change pushed to GitHub publishes the site automatically; nothing is deployed by hand.

The first admin

The agent gives the moderator the sign-up code privately. The moderator creates their account on the live site with Have an access code? Join and chooses their own password, and the agent makes that account the first admin. At their next page, the app asks them to sign the starter constitution.

Security checklist and hand-over

The agent shows the security checklist and asks you to confirm each item. It offers the optional features, then reports the site's address, the moderator's login email, the region, what is switched on and where the code lives. Write down which email owns each account and who holds the logins.


Ask AI, email and the WHOOP track

The agent offers these at the end and sets up only what you ask for. Each one is switched on with its keys, on your computer and in Vercel.

Ask AI

Ask AI needs an Anthropic API key. Create one in the Anthropic console, in a workspace with a monthly spending limit the forum is happy with, so the bill can never surprise the forum. Without a key, Ask AI is hidden and everything else works.

Members can also connect their own AI assistant to the forum through MCP, and it sees only what that member may see.

Email notices

Email notices need a Resend account and a sending domain you have verified there. Password-reset emails come from Supabase either way; its built-in sender allows only a few an hour, so a busy forum adds its own email sender under Authentication > Emails.

The WHOOP health track

The season contest scores goal check-ins for every forum. WHOOP adds an optional second track, scored on members' WHOOP health scores. It needs a WHOOP developer app: create one at developer.whoop.com, then ask the agent to turn the track on with its keys. Each member connects their own WHOOP, and can disconnect it at any time.


Your own web address

  1. In Vercel, open the project's Settings > Domains and add the domain (for example forum.nightowls.org).
  2. Vercel shows the DNS records to add. Add them where the domain is managed. It usually works within an hour.
  3. Ask the agent to update the site address everywhere it is used: NEXT_PUBLIC_SITE_URL on your computer and in Vercel, the forum settings, and Supabase (Authentication > URL Configuration and the passkey settings). Then push a commit to GitHub so the site rebuilds.

A free .vercel.app address works fine; a domain is optional.


Make it your forum's

  • The constitution. The starter template is a fresh one, based on common EO and YPO forum practice. Change it to your forum's own rules before members sign it.
  • Forum settings. Name, currency, dues per forum, time zone and the contest rules live on the admin's forum settings screen.
  • Colors. The app ships with a dark look called Neon Noir. A forum can change the colors to its own; DEVELOPERS.md explains how, along with changing the art and the code and applying database changes safely. Or ask the agent: "change the colors to our forum's".
  • Resources. Add the forum protocol, reading lists and anything else the forum wants to keep to the resources library.

Every change to the code goes live when it is pushed to GitHub.


Launch checklist

Before inviting members:

  • Every item in the security checklist is done
  • The site loads, with the forum's name
  • The moderator can sign in as admin and has signed the constitution
  • A test member can join with the sign-up code, signs the constitution, and sees only what a new member should
  • A password reset email arrives and its link opens your site, not localhost
  • The next few forums are planned, with hosts and presenters
  • If Ask AI is on: it answers a question, and the Anthropic spending limit is set
  • The sign-up code is changed in Vercel once every member has joined
  • The database password and the owner of each account are written down where a second member can find them

Troubleshooting

What you seeLikely cause and fix
Every page says it cannot reach the databaseA key was copied wrongly or masked. Paste the Supabase keys again into .env.local and into Vercel, then push a commit to rebuild
Password-reset links open localhost or an error pageThe Site URL in Supabase is wrong. Fix it under Authentication > URL Configuration
A new setting has no effect on the live siteVercel uses settings only from the next build. Push a commit to GitHub so the site rebuilds
Ask AI is missingThe Anthropic key is not set in Vercel for Production, or the site has not rebuilt since it was added. Push a commit to rebuild
A new member sees nothing at allThey have not signed the current constitution yet, which is expected. Everything opens once they sign
The build fails on Vercel after a changeOpen the failed deployment in Vercel and read the log, or ask the agent to read it. The previous version stays live until a build succeeds

Still stuck? Ask your agent to read this guide and INSTALL.md and diagnose the problem; it can run the checks for you. Or talk to the builder.