← All projects
16Live Web CLI Desktop

Clerk as an OAuth provider

Petdex

Clerk as the OAuth provider for a CLI and three native desktop apps.

Live Web CLI Desktop

The public gallery of animated pets for coding agents. `petdex login` opens Clerk’s authorize endpoint with PKCE and a localhost callback; the macOS (Swift), Windows (Rust) and Zig desktop apps do the same against the same Clerk application. The API accepts those OAuth tokens, asks for reverification before changing a collection, and credits pet owners through user metadata.

What it shows

Stack

  • Next.js 16
  • Bun
  • Drizzle
  • Swift
  • Rust
  • Zig

Run it locally

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

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