Free, open source and on your computer

Make the little app you wish you had

Describe what you need. Mayfly builds a small web app and runs it on your computer, behind sign-in, for you and the people you share it with.

Small apps for everyday life

Tap one phone. Watch the other.

Each app runs on your computer and lets in only the people you choose.

  • Simple to make
  • Yours to keep
  • Safe to share

The problem

AI-built apps leak data and their hosts shut down

1 in 10

Lovable showcase projects exposed their data

Source: CVE-2025-48757 · a scan of 1,645 projects · March 2025

Closures

Hosts and app builders go away and take your apps with them

  1. GlitchNo more hosting
  2. GitHub SparkNo more editor*
  3. Val TownNo more service
  4. Firebase StudioNo more editor*

* Hosting continues but owners need another tool to edit

How it works

The model writes the app. Mayfly does the rest.

A small model is enough for a small app, because it only writes the routes.

routes.ts

Written by a small model

import { Hono } from "hono";
import type { Env } from "./runtime/env.ts";

export const records = { "feed:": { side: "string", at: "number" } };

const app = new Hono<Env>();
app.post("/feed", async (c) => {
  const { side } = await c.req.parseBody();
  const at = Date.now();
  c.get("store").set(`feed:${at}`, { side: String(side), at });
  return c.redirect("/");
});
// …and a page at "/" with a link to sign out
export default app;

Sign-in

oauth2-proxy stands in front of every app

Access by person

Each app lets in only the people you pick

Record checks

The store refuses records that don't fit

Trial before deploy

Each version must pass a trial without network access

Undo and backups

Data copies from before the last three deploys

Container settings

Non-root and read-only with no Linux capabilities

Under the hood

Your apps run on your computer

Sign-in stands in front of every app

Model calls include your requests, attachments and code

YOUR COMPUTER PODMAN ONE POD PER APP Phone OpenAI or compatibleModel Browser Tailscale ServeTailscale Podman Desktop extensionMayfly oauth2-proxySign-in Hono on Node.jsYour app SQLiteData DexAccounts

Why Mayfly

Every alternative gives something up

CodeApp hostingSign-inCosts
LovableExportableHosted or self-hostedApp + backendCredits + hosting
DyadLocal filesLocal preview or your chosen hostApp + backendModel + hosting
MayflyLocal routesYour computerFixed proxy outside appModel usage

Your computer has to stay awake

Sources: Lovable hosting docs · Dyad docs · Mayfly contract

Here for a day, built to stay.

Try it with one app you already need

In Podman Desktop open Extensions, choose Install custom… and paste

ghcr.io/jgalego/mayfly-extension:0.4.0

You need Podman Desktop and an OpenAI key or compatible model