AI Command Palette for Next.js
by Dino Yemane
$49
Add a Spotlight-style command palette to your Next.js app in minutes. When users search for something that doesn't exist, AI takes over and executes actions on their behalf.
## What's Included
- Full source code (TypeScript)
- CommandPalette component (cmdk-based)
- AI chat integration (OpenAI)
- Action registry system
- 3 example actions (todo, email, search)
- React hook for easy integration
- Working demo app
## Features
āØļø Keyboard-first - Cmd+K, arrow keys, Enter to confirm
š¤ AI Fallback - No match? AI interprets and acts
ā
Confirm before execute - Users approve AI actions
š Extensible - Add your own actions in minutes
## Tech Stack
Next.js 14, TypeScript, cmdk, OpenAI API, Tailwind CSS, Zod
## Setup
1. Unzip ā npm install ā add API key ā npm run dev