An AI-powered mind mapping tool. Enter words and Claude groups them into draggable, connectable thought clouds.
mindcloud/
├── api/
│ └── categorize.js ← Vercel serverless function (API proxy)
├── public/
│ └── index.html ← Frontend (zero API keys inside)
├── .env.example ← Copy to .env.local for local dev
├── .gitignore
├── package.json
└── vercel.json
git init
git add .
git commit -m "Initial commit"
git branch -M main
git remote add origin https://github.com/YOUR_USERNAME/mindcloud.git
git push -u origin main- Go to vercel.com → Add New Project
- Import your GitHub repo
- Framework Preset → Other
- Root Directory → leave as
/(default) - Click Deploy — it will fail on first deploy (no key yet, that's fine)
- Go to your project → Settings → Environment Variables
- Add:
- Name:
ANTHROPIC_API_KEY - Value:
sk-ant-api03-xxxxxxxxxxxxxxxx - Environments: ✅ Production ✅ Preview ✅ Development
- Name:
- Click Save
- Go to Deployments → click the three dots on your latest deploy → Redeploy
Your app is now live and the API key is 100% hidden from the browser.
# Install Vercel CLI
npm i -g vercel
# Copy env example
cp .env.example .env.local
# Edit .env.local and add your real key
# Run locally (emulates serverless functions)
vercel devBrowser (public) Vercel Serverless Anthropic API
──────────────── ───────────────── ─────────────
POST /api/categorize → reads ANTHROPIC_API_KEY → POST with key
{ words: [...] } from environment vars sk-ant-...
← { categories: [...] } ← forwards result ← response
The API key never touches the browser at any point.