Belfry runs access and identity for Open Source Village, a week-long gathering. It sells and checks passes, gives every participant a login and a Nostr identity, and hosts the community apps participants use during the event: chat, calendar, polls, a directory, a marketplace, photos and a wallet for village tokens.
Participant-facing pages say "Open Source Village, run by Belfry". Belfry is the operator.
- Gets invited. A steward sends a single-use invite link.
- Buys a pass (day, week or full access) on the invite page and pays by card. Odoo issues the invoice; payment goes through Stripe.
- Is set up automatically once the invoice is paid: an Authentik login (no password), a
Nostr key held by Belfry's signer, a name like
osv-0042@<domain>, access to the community relay, and village tokens in the amount of 50 per pass day. An e-mail brings a one-time sign-in link and a link to add the pass to an EUDI wallet. - Signs in with an e-mail link or by presenting the pass from the wallet. The community apps sign in silently once the participant is signed in.
- Shows the pass at the door, either from the EUDI wallet or as a renewing QR code on the
phone (
pass.<domain>/me).
Refunds, chargebacks and expiry close the pass: the login, the signer, the relay and the pass certificate stop working. Participants can take their Nostr key into their own custody at any time.
On a fresh VM (4 GB RAM at least, 8 GB for real use) with DNS for <domain> and *.<domain>
pointing at it:
curl -fsSL https://belfry.sh/install.sh | sudo bashIt asks for the domain and the community's name, sets up Docker, ufw and Belfry's own proxy
(Caddy; nginx in front only with --nginx) and starts everything. It then prints the setup page
(https://belfry.<domain>/setup): while the belfry has no admin it needs no code, the first
person to open it becomes the admin, and it asks for the mail provider (docs/setup.md; belfry setup-reset undoes a stranger's claim). Agents ask to join at https://belfry.<domain>/agents.md
(docs/agents.md). By default the belfry keeps its own register and runs no Odoo; --odoo keeps Odoo
(billing, paid passes, volunteer shifts; docs/register.md). infra/DEPLOY.md explains it, and
the installation by hand.
| Part | What it does | Software |
|---|---|---|
| Registry and billing | who holds which pass, invoices, payment links | Odoo 19 Community with the module odoo/addons/belfry_pass, Stripe |
| Onboarding service | turns a paid invoice into accounts; claim, door and pass pages; steward pages; status list | Python, services/onboarding |
| Login | e-mail magic links, sign-in with the pass, single sign-on for the apps | Authentik |
| Signer | holds participants' Nostr keys, signs for the apps (HTTPS or NIP-46) | Keycast with Belfry's patches, infra/keycast |
| Community relay | Nostr relay that only participants with an active pass can read and write | rnostr, infra/relay |
| Files | photo and file uploads for participants | Blossom, infra/blossom |
| Pass certificates | the pass as an SD-JWT VC in EUDI wallets, door checks | walt.id Issuer2 and Verifier2, infra/issuer |
| Village tokens | tokens without monetary value, passed between participants | Cashu mint (cdk-mintd), infra/mint |
| Community apps | chat, calendar, wallet (patched upstream apps); polls, directory, marketplace, photos (Belfry's own) | infra/apps/*, services/vote, services/village |
| Proxy | TLS, one hostname per service, rate limits, admin pages only over a private network | Caddy, infra/proxy |
Everything runs as one Docker Compose project on one machine.
| Path | What |
|---|---|
infra/ |
Compose stack, configuration, patched upstream builds, scripts (infra/README.md) |
services/onboarding/ |
the onboarding service |
services/vote/ |
anonymous polls (Semaphore) |
services/village/ |
directory, marketplace and photos |
odoo/addons/belfry_pass/ |
Odoo module: passes, invites, pricing, webhooks |
brand/ |
the Open Source Village look: colours, fonts, logos, app icons, app bar |
docs/ |
how things work, the plan, background research (docs/README.md) |
Needs Docker with Compose v2, make, curl, jq, python3, openssl and about 6 GB of RAM.
make up # generate secrets, start the core services (the first run builds the
# patched signer, about 15 minutes)
make bootstrap # create databases, users, tokens, policies
make up-app # build and start the onboarding service and the apps
make smoke # end-to-end test: invite, payment, accounts, apps, pass, door
Details, ports and logins: infra/README.md. Running it on a server: infra/DEPLOY.md.
docs/README.md lists every document. The main entry points:
infra/README.md: the stack, its services and the scripts.infra/DEPLOY.md: a public deployment, the admin network, the custody seed, backups.docs/pass-sign-in.md: signing in with the pass from an EUDI wallet.docs/identity-membership-plan.md: the plan behind the system.