Magic Spell is an AI-powered text editor built with Next.js and the Vercel AI SDK, using Groq for super fast inference.
- Clone the repository
- Create a
.env.localfile withAI_GATEWAY_API_KEY=your-api-keywhereyour-api-keyis your Vercel AI Gateway key.- You can also authenticate with a Vercel OIDC token by linking to a Vercel project (
vercel link) and pulling env variables (vercel env pull).
- You can also authenticate with a Vercel OIDC token by linking to a Vercel project (
- Run
pnpm installto install dependencies. - Run
pnpm devto start the development server.