Env Example Generator
Generate complete .env.example files by scanning process.env.* usage across GitHub repositories.
Stack
- Next.js 15 (App Router)
- TypeScript
- Tailwind CSS v4
- NextAuth (GitHub OAuth)
- OpenAI API for variable descriptions
- Lemon Squeezy checkout overlay and webhook-backed paywall cookie
Local setup
- Copy
.env.examplevalues into.env.local. - Install deps:
npm install - Start dev server:
npm run dev
Key routes
/landing page with pricing + FAQ/dashboardpaywalled tool/scan/[repoId]prefilled scanner view/api/healthhealthcheck
Payment flow
- Checkout link is generated with a signed nonce.
- Lemon webhook confirms payment and marks nonce as paid.
- Client calls unlock endpoint and receives signed access cookie.
- Scan and generation APIs require that cookie.