GPT Action API
Production-ready boilerplate for building authenticated APIs for OpenAI Custom GPTs. Features Clerk OAuth, OpenAPI schema generation, and easy deployment to Fly.io.
Example Endpoints
POST /echo/public — Public echo endpoint
POST /echo/private — Authenticated echo with user info
GET /me — Get current user details
Authentication
Clerk OAuth 2.0 with OIDC. Supports openid email profile scopes. JWT validation via JWKS.
Built With
Bun runtime, Hono web framework, Zod schema validation, OpenAPI auto-generation.
Developer Experience
Hot reload, TypeScript, automatic OpenAPI generation, Swagger UI, one-command deployment.