Public
Like
prompthero
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v9View latest version
PromptCraft is a full-stack application that helps you create, test, and optimize prompts for GPT models. With a modern, responsive UI and powerful backend, you can iterate on your prompts to achieve the best results.
- 🧠 AI-Powered Suggestions: Get intelligent suggestions to improve your prompts
- 🔄 A/B Testing: Compare different prompt versions to see which performs better
- 📊 Performance Analytics: Track how your prompts perform over time
- 💾 Prompt Library: Save and organize your prompts for future use
- 🚀 Optimization Recommendations: Receive specific recommendations to enhance prompt effectiveness
- Frontend: React with Tailwind CSS
- Backend: Hono.js API framework
- Database: SQLite for storing prompts and history
- AI: OpenAI GPT models
├── backend/
│ ├── database/
│ │ ├── migrations.ts
│ │ └── queries.ts
│ ├── routes/
│ │ ├── prompts.ts
│ │ ├── optimize.ts
│ │ └── static.ts
│ └── index.ts
├── frontend/
│ ├── components/
│ │ ├── App.tsx
│ │ ├── PromptEditor.tsx
│ │ ├── OptimizationPanel.tsx
│ │ ├── ResultsViewer.tsx
│ │ └── Navigation.tsx
│ ├── index.html
│ └── index.tsx
└── shared/
└── types.ts
- Visit the app at its Val Town URL
- Create your first prompt in the editor
- Use the optimization tools to refine your prompt
- Save your best prompts to your library
- Create: Write your initial prompt in the editor
- Test: See how the prompt performs with the GPT model
- Optimize: Get AI-powered suggestions to improve your prompt
- Compare: A/B test different versions to find the best one
- Save: Store your optimized prompts for future use