← All projects
12Planned Bot

Clerk as an OAuth provider

Linker

A Discord bot where /link mirrors your org roles into the server.

Planned Bot

Type /link, approve in the browser with Clerk as the OAuth provider, and your Discord roles follow your organization roles. Webhooks keep them in sync when roles change.

This project is on the backlog. Want to build it? Open a proposal on GitHub.

What it shows

Stack

  • Discord.js
  • Hono

Run it locally

Clone just this example, copy the env file, and follow its README.

terminal
npx degit jibaru/buildwithclerk/examples/linker linker
cd linker
cp .env.example .env
pnpm install && pnpm dev