Professional AI utilities built for power users. Compare models, track costs, and manage context—all in one place.
Visit: [Your Vercel URL will be here]
Compare AI model responses side-by-side (GPT-4, Claude Sonnet, Gemini Pro)
- Single prompt comparison
- Multi-example testing
- Voting system
- Shareable results
Real-time tracking and forecasting of AI API costs
Browser extension for context window monitoring
- Node.js 18+
- Supabase account
- API keys for OpenAI, Anthropic, Google AI
- Clone the repository
git clone <your-repo-url>
cd packd-tools
npm install- Set up environment variables
cp .env.example .env.localEdit .env.local with your credentials:
NEXT_PUBLIC_SUPABASE_URL- Your Supabase project URLNEXT_PUBLIC_SUPABASE_ANON_KEY- Your Supabase anon keySUPABASE_SERVICE_ROLE_KEY- Your Supabase service role keyOPENAI_API_KEY- OpenAI API keyANTHROPIC_API_KEY- Anthropic API keyGOOGLE_AI_API_KEY- Google AI API key
- Run database migration
Go to your Supabase SQL Editor and run:
-- Copy the contents of supabase/migrations/001_modelduel_schema.sql- Start development server
npm run devVisit http://localhost:3000
- Go to https://vercel.com/new
- Import this Git repository
- Add environment variables from
.env.local - Deploy!
# Login to Vercel (first time only)
npx vercel login
# Deploy
npx vercel
# Deploy to production
npx vercel --prodTables:
modelduel_comparisons- Stores AI model comparison resultsmodelduel_votes- Stores user votes on comparisons
All tables have Row Level Security (RLS) enabled.
- All API keys stored server-side only
- Supabase RLS policies prevent unauthorized access
- Rate limiting ready (needs Upstash Redis)
- Input validation with Zod
- XSS protection
- Framework: Next.js 14 (App Router)
- Database: Supabase (PostgreSQL)
- Styling: Tailwind CSS
- AI SDKs: OpenAI, Anthropic, Google AI
- Type Safety: TypeScript
- Deployment: Vercel
MIT
Contributions welcome! Please open an issue or PR.
Built with ❤️ for AI power users