← All projects
18Live Web CLI Backend

OAuth authorization code with PKCE

Crafter Station

A CLI that signs in with OAuth PKCE against Clerk, and an API that accepts its tokens.

Live Web CLI Backend

The community site, its API and `@crafter/cli`. The CLI opens Clerk’s authorize endpoint with PKCE, receives the code on localhost and revokes the token on logout. The API authenticates either an OAuth token or a session token on the same routes. Linking a Luma email requires reverification, webhooks keep profiles in sync, and the UI ships in five languages with @clerk/localizations.

What it shows

Stack

  • Next.js 16
  • Hono
  • Bun
  • Postgres

Run it locally

This product lives in its own repository. Clone it and follow its README.

terminal
git clone https://github.com/crafter-station/crafter.run.git crafter-run
cd crafter-run