Skip to content
@samebase

Samebase

The correct way to build web apps

Web apps on Convex, deployed by Alchemy, in your own accounts

Samebase is a small set of open-source parts that turn a GitHub repository into a running app. You add one secret. Every push to main deploys, every pull request gets its own preview, and Google sign-in works on each of them.

A push to your GitHub repository runs Alchemy in GitHub Actions. Alchemy deploys to your Convex team: production and one preview per pull request, each serving the backend and the site. Each deployment signs in at login.samebase.com with the address of a file that it serves. samebase.com reads the Alchemy state and shows what is deployed.

Two things are fixed. Convex runs the backend and serves the site, and Alchemy deploys it from one file, alchemy.run.ts. The rest is yours to change. The starter's interface is React with TanStack Start today, and it is the replaceable part: an agent can rewrite it for another framework.

The four repositories

  • base: start here. The starter template. Add one secret, CONVEX_ACCESS_TOKEN, and push. About a minute later the app is live, with pull request previews and Google sign-in. No Samebase account.
  • public-identity-broker: sign-in for any site. Google and GitHub want each callback URL registered by hand, so a preview cannot sign in. At login.samebase.com, a site or a preview serves one JSON file and signs in, with no registration and no client secret.
  • convex-hosting: one host. A Convex component that serves the app's files and its server-rendered pages from the deployment that runs the backend.
  • samebase: the dashboard and the packages. The source of samebase.com, which shows each app's URL, deployed commit, checks, and previews, and of the first two packages below.

The packages

samebase.com · Discord · X

Pinned Loading

  1. samebase samebase Public

    A dashboard for Alchemy. Shows every app you deploy: its URL, the deployed commit, its checks, and the preview of each pull request.

    TypeScript 11

  2. base base Public template

    Convex + Alchemy starter: one secret, one push, Google sign-in on every pull request preview, no account needed

    TypeScript 7

  3. convex-hosting convex-hosting Public

    Host a web app on Convex: static files and server-rendered TanStack Start pages.

    TypeScript 3

  4. identity-hub identity-hub Public archive

    Archived. Moved to samebase/public-identity-broker: sign-in for any site at login.samebase.com

    TypeScript 2

Repositories

Showing 10 of 15 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…