joshua-foster.co.uk
AI · Air

Reigniter

One AI platform for small businesses: AI video adverts and films, an app and website builder, a coding platform, an AI marketing team, a CRM, interactive training and a music studio, as a web app with an Android app.

  • Product design
  • React 19 and TypeScript
  • Hono API
  • PostgreSQL ledger
  • AI gateway
  • Cloudflare Workers
  • Android app
The engineering behind it

Principal AI and Full-Stack Engineer

Reigniter (reigniter.ai) · 2026 – present

  • Built a multi-modal AI platform end to end, on the web and Android: an agentic app and website builder, an AI marketing team, a video studio, a CRM and training workflows.
  • Engineered an autonomous React and TypeScript app builder that turns a one-line prompt, a reference site or an image into a codebase the customer owns. It walks the app in a real browser, repairs failures with the compiler in the loop, and grades the result against a measured design rubric, automated evaluation rubrics and LLM-as-a-judge checks.
  • Built one AI gateway across eight providers, with moderation, budget and plan enforcement, automatic failover on Redis-shared circuit breakers, Hugging Face routing, a local fallback on Ollama, and a transactional PostgreSQL ledger with atomic debits.
  • Built an OAuth 2.1 MCP marketing workflow that plans, writes and schedules posts across 11 social networks, with a person approving every post.
  • Built a brief-to-film video pipeline on Seedance and Kling. Reference images keep characters and products consistent across storyboards, stills, shots, lip-synced presenters and localised cuts, and every film carries an EU AI Act label.
  • Grew the public site to 1,477 pages in 15 languages and added a public API and Google, GitHub and Microsoft sign-in, running on Railway, Cloudflare Workers and Durable Objects, PostgreSQL and Redis.
Stack
  • TypeScript 5.9
  • React 19
  • Hono 4
  • Node.js
  • Vercel AI SDK
  • Cloudflare Agents SDK
  • Ollama
  • PostgreSQL
  • Redis
  • Cloudflare Workers and Durable Objects
  • Railway

The problem

Small businesses need adverts, a website, marketing and training, but cannot hire a studio, an agency and a developer. Every one of those jobs calls paid AI models, so cost, safety and access have to be controlled on every single call.

What I did

  • I designed and built the whole product: the interface, the API, the database, the infrastructure and the AI pipeline.
  • Backend-for-frontend: the React app talks only to my Hono API. Content, files, identity and permissions sit in a headless layer the browser never reaches.
  • Money lives in a transactional PostgreSQL ledger with atomic debits and unique idempotency keys, fed by signed, idempotent payment webhooks, with the balance streamed live over server-sent events.
  • One AI gateway: every model call passes moderation, budget and plan checks. Eight provider adapters share one interface, and a failover chain runs from the main model to a backup to a second supplier, with circuit breakers shared in Redis.
  • A stateless web tier on two replicas and a queue-driven render worker.
  • An AI agent workforce reaches the platform through my MCP server (OAuth 2.1). Agents write briefs and schedule posts; publishing always needs a person’s approval.

Decisions

  • The server decides every money and access question. Roles, permissions and plan features are policy as code: scripted, versioned, drift-checked and denied by default.
  • Generate, then verify: model output is forced into a schema, a grader re-plans from its own critique, and a vision check redraws frames that contain made-up text.
  • Errors are classified before any retry, and a reconciler recovers and refunds stuck jobs.

The result

  • Live as a web app and an Android app.
  • A public site of 1,477 pages in 15 languages, publishing to 11 social networks, a public API and a full admin console.
  • Security built in: an SSRF guard checked at connect time, rate limits that trust the client address only through Cloudflare, tokens sealed with AES-256-GCM, OAuth 2.1 with PKCE, and moderation before every model call.
Reigniter
Reigniter, picture 2
Reigniter, picture 3
Reigniter, picture 4
Reigniter, picture 5
Reigniter, picture 6
Reigniter, picture 7
Reigniter, picture 8
Reigniter, picture 9
Reigniter, picture 10
Reigniter, picture 11
Reigniter, picture 12