Skip to content

Platform

What LaneHelp runs on.

One database, two Workers at the edge, pipelines that run on their own, and the accounts, text line, payments, and tests around them — all built and run by one person.

The shape of it

From a request to a page

Code figures on this page are measured from the repository every time the site is built, most recently Nov 30, 2026. Live use is on the impact page.

How one page request is served
  1. 01EdgeCloudflare receives the request close to the visitor.
  2. 02WorkerStatic pages, films, and staff routes are answered or routed first.
  3. 03RenderNext.js on Workers renders the page, cached in R2.
  4. 04DataPostgres answers through row-level security.
  5. 05FreshnessScheduled pipelines keep the data current in the background.
Lines of TypeScript
758,634
across the app, its components, and its libraries
Database migrations
561
since February 6, 2026
Test files
1,348
on Node’s built-in test runner
Scheduled jobs
90+
in the database, from every minute to daily

Database

Postgres, designed to say no

Supabase Postgres holds every listing, account, and record. The rules that must always hold live in the database, not only in the code that writes to it.

  • 561 migrations since February 6, 2026, building more than 420 tables across a public schema and four private ones.
  • Row-level security on the tables people can reach, and public reads limited column by column: since October 29, 2026, anonymous visitors can read only active, non-confidential listings, and never their notes or reviewer fields.
  • Append-only ledgers enforced by the database itself: operational events, field-by-field listing history, contributor trust, and administrative actions.
  • Close to 300 database functions and a set of triggers carry the rules that must hold no matter which code path writes.
  • Extensions do work in the database: pg_cron for schedules, pg_net for outbound calls, Vault for secrets, PostGIS for geography, pgvector for embeddings, and trigram matching.
  • Reads are paged to stay inside the API’s 1,000-row limit, so a growing table never quietly cuts a page short.

Cloudflare

Two Workers at the edge

The whole site — public pages, accounts, staff tools, and the APIs behind the apps — runs on Cloudflare Workers.

  • Next.js, compiled with OpenNext, runs as two Workers: a public one, and an org one that holds the admin, moderation, and provider routes. admin.lanehelp.com is served only by the org Worker.
  • Durable Objects, backed by SQLite, coordinate rate limits and the page cache; R2 stores rendered pages; Workers AI computes search embeddings; a separate Worker turns SVG into PNG social images.
  • Each Worker must stay under Cloudflare’s 10 MiB compressed limit. That is why this site is rendered to static files instead of shipped as routes.
  • Every build rewrites characters above Latin-1 in the server code as escapes, because one such character makes the engine hold the whole source at two bytes per character — about 39 MB of code becoming about 79 MB of memory.
  • A separate maintenance Worker can stand in with a “be right back” page during an outage.

Pipelines

Work that runs on its own

Most of what keeps LaneHelp current happens on a schedule, without anyone pressing a button.

  • 32 Supabase Edge Functions, among them alert feeds, job sources, housing syncs, incident feeds, events, search-engine indexing, data quality, recovery meetings, and push notifications.
  • More than 90 scheduled database jobs; a Worker schedule every 15 minutes for social posting, push fan-out, calendar sync, and Search Console; and 34 scheduled routes in the app.
  • On Google Cloud, a Cloud Run worker and jobs, driven by Cloud Workflows and Cloud Tasks, check listings against their sources — and only ever propose changes.
  • A master build turns spreadsheets and exports into scored, deduplicated listings, skipping anything it has already seen.

How the data pipeline works →

Accounts and access

Who you are, and what you can reach

Accounts work the same on the website and in the apps, and access is decided before a page renders.

  • Supabase Auth with email and password, one-time codes by text message, and sign-in with Google, Facebook, and Apple.
  • The session is kept in an HttpOnly, Secure cookie that the server keeps in step with the sign-in state.
  • Four roles — user, provider, moderator, and admin — plus control-plane assignments, and six access levels from public to control plane, enforced in middleware.
  • Rate limits are held in a Durable Object and keyed by a keyed hash of the visitor’s address and a coarse browser signature, with separate limits on failed sign-ins for each account.
  • Scheduled routes refuse any request without the scheduler’s secret, and the internal handbook sits behind a signed, expiring cookie.

How organizations get verified →

SMS

A text line on Twilio

For people without a smartphone or data, LaneHelp answers plain text messages.

  • Twilio webhooks are verified by signature and answered by the same search pipeline as the website, inside Twilio’s fifteen-second window.
  • Opt-out keywords are honored, rate limits are kept per number, and numbers are stored only as salted hashes.

How the text line works →

Payments

Support through Stripe

Help on LaneHelp is never paid for. Anyone who wants to can support the platform itself.

  • An optional one-time contribution happens on LaneHelp.com’s own contribute page: the person picks an amount, the server opens a Stripe Checkout Session with plain HTTPS calls (no Stripe SDK), and Stripe’s form appears inside the page in LaneHelp’s colors. The card goes straight to Stripe. In the apps the page opens in a secure browser view.
  • Opening a payment form is rate-limited per network and accepted only from LaneHelp’s own page, because public payment forms are what card testers look for.
  • The thank-you page confirms the payment with Stripe’s API on the server — a completed, paid checkout from the last 30 days — before a supporter can choose how to be thanked.
  • Supporters choose to be listed by name, listed anonymously, not listed, or contacted about sponsorship. Amounts are never stored or published, and the table that holds these choices is closed to the public.

Support LaneHelp →

Engineering practice

Tests, documents, and a public record of change

One person maintaining this much software depends on the habits around it.

  • 1,348 test files on Node’s built-in test runner. A core set runs on every release alongside the type check, the linter, and a copy linter for plain, considerate wording.
  • Every release runs the checks, plans and applies database migrations, builds both Workers, uploads them inactive with size and binding checks, then activates, runs smoke tests, and rolls back automatically if they fail — all inside a 28-minute limit.
  • 404 engineering documents — audits, runbooks, handbooks, and a design language with its own design system.
  • A public changelog dating back to February, with a dedicated page linked from the LaneHelp.com navigation.

Read the development history →

Need something built on a foundation like this?

The same database design, edge deployment, pipelines, and release discipline are available for your organization’s project.