Skip to content
Public template

About

Reusable bilingual event websites, slides, feedback and private code distribution for community organizers.

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Cafe Compute Kit

A website kit for community events, built from the Cafe Compute workflow and made reusable for other ambassadors.

Event pages, workshop resources, slides, recaps, galleries, private feedback and one-benefit-per-person distribution. English and Spanish. MIT.

The actual English example template, with deliberately unconfirmed event details

This is an independent community project, not an official Cerebras product or an endorsement. Bring your own event details, permission-cleared media and approved benefit inventory. No actual attendee list, event photos, codes, credentials or production configuration is included.

Pick your starting point

  • Just the website: apps/event-site. Static pages with public JSON configuration. No database, email service or account needed to preview.
  • Website + private workflow: use the root Cloudflare Worker or the native Vercel main + separate sender projects. Both share magic-link sign-in, guided feedback, stable private code/link assignments and an owner dashboard. Vercel private photo uploads are unsupported/off.
  • Feedback only: deploy apps/feedback independently and point your existing event website at it.

One event per deployment and fresh database. This is not a multi-tenant ticketing platform, and it does not replace Luma registration/check-in.

Quick start

Use Node 22.22.2 (the exercised baseline; root/feedback accept >=22.22.2 <23) and the checked-in lockfile:

git clone https://github.com/arcacomputer/cafe-compute-kit.git
cd cafe-compute-kit
npm ci
npm run build
npm run preview

Open http://127.0.0.1:4173/ or /en/. The localhost preview serves public pages only. Private sign-in/APIs intentionally return unavailable rather than pretending to authenticate anyone.

Copy config/event.example.json to your public event JSON and edit both languages:

npm run build -- --config config/my-event.json

Use feedbackUrl: null for a static-only event with no feedback backend. Otherwise use /feedback/ for the combined deployment, or the HTTPS URL of your separately deployed feedback app. Public config must never contain attendee data, owners, secrets or benefit stock.

Deployment is a separate, explicit step. The Cloudflare samples have no account/domain binding and disable provider preview URLs. Both platforms require deliberately configured canonical hosts, server-only secrets and explicit gates; omitted feature flags default off. Keep sign-in, feedback, sends, claims and photos off initially, with live credentials restricted to Production in Vercel. Follow the guide before changing gates.

Guides

Repository

apps/event-site/   Public pages, resources, browser slides, recap/gallery templates
apps/feedback/     Worker, auth/forms/admin, SQL, imports/export and private sender
config/           Strictly public example event configuration
docs/             Deployment and operator guides in English/Spanish
scripts/          Combined build, localhost preview and verification helpers
api/, vercel/     Native Vercel main/sender adapters and separate sender project

The authenticated app shares handlers/SQL across Cloudflare Workers and native Vercel Functions, using PostgreSQL through Neon. Cloudflare supports optional private R2 and a private service-binding sender; Vercel uses a separate bearer-authenticated HTTPS sender project and has no production photo-storage adapter yet. The main app never receives the broad mail-provider key. No Cloudflare account is needed for core no-photo Vercel use. Neither adapter implementation nor local proof alone establishes an actual provider deployment.

Feedback may be critical; N/A is accepted. Photo submission and promotional consent are optional, not benefit prerequisites. Login access, attendance and benefit eligibility are separate. Assigned codes remain assigned across retries/login; assignment does not prove redemption by the provider. Exports contain private free text/photos and require manual review before sharing.

Photos are disabled by default and must stay off on Vercel (no Blob adapter). On Cloudflare, if enabled, they are private originals, not guaranteed metadata-stripped or server-decoded images. Read the privacy/retention limitations before enabling them. No stock provider logos/fonts or third-party event photos are bundled.

Verification boundary

The repository includes source/unit, real PostgreSQL concurrency/privilege and Chromium proof commands. Do not infer successful execution merely from their presence. Release execution evidence is recorded in verification when available.

npm run check:source
npm run build
npm run test:unit
# After installing PostgreSQL and Chromium prerequisites:
PROOF_TMPDIR=/var/lib/postgresql npm run proof --workspace @cafe-compute-kit/feedback
npm run test:worker

The last two commands use only disposable local PostgreSQL, synthetic recipients/non-redeemable values, a no-send outbox and an isolated object adapter. The full feedback proof requires the pinned runtime and explicit local prerequisites in PROOF.md. Root CI uses a disposable PostgreSQL service and never receives production credentials.

Local/sandbox proof does not establish deployed Cloudflare bindings, actual Vercel routing/trusted IP or sender outside-root tracing, Neon HTTP transport, R2/Blob privacy, actual mail delivery, provider redemption or legal adequacy of an operator's consent policy. Those require separately authorized deployment-specific checks.

Contributing and license

MIT. See contributing and security reporting.

Human steward: Luis Felipe Abarca, Arca Computer / felirami.com. Implementation and verification are AI-assisted by Cad, with human direction and publication approval. Original private event operations remain private; this repository is a curated reusable extraction, not a production archive.

About

Reusable bilingual event websites, slides, feedback and private code distribution for community organizers.

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages