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.
index.ts
https://heybunny--0f62de88362211f08d349e149126039e.web.val.run
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