Design prompts like design systems. Build modular AI prompts with drag-and-drop blocks, preview in real-time, and export to any agent framework.
This project is built with modern web technologies including React, TypeScript, Vite, and Tailwind CSS.
- Node.js (v18 or higher)
- npm or yarn
- Clone the repository
git clone <your-repo-url>
cd prompt-or-die-1
- Install dependencies
npm install
- Start the development server
npm run dev
- Open your browser and navigate to
http://localhost:5173
The application is built using a modular architecture with the following key technologies:
- Frontend: React 18 with TypeScript
- Styling: Tailwind CSS with custom design system
- State Management: React hooks and context
- Build Tool: Vite
- Database: Supabase (PostgreSQL)
- Authentication: Supabase Auth
- UI Components: Custom component library built on Radix UI
src/
├── components/ # Reusable UI components
│ └── ui/ # Base UI components
├── hooks/ # Custom React hooks
├── integrations/ # Third-party integrations
│ └── supabase/ # Supabase client and types
├── lib/ # Utility functions and helpers
├── pages/ # Application pages/routes
└── main.tsx # Application entry point
- Visual Prompt Builder: Drag-and-drop interface for creating AI prompts
- Modular Blocks: Reusable prompt components
- Real-time Preview: See your prompts in action
- Export Options: Export to various agent frameworks
- Project Management: Organize your prompts into projects
- Gallery: Browse and use community prompt templates
-
npm run dev
- Start development server -
npm run build
- Build for production -
npm run preview
- Preview production build -
npm run lint
- Run ESLint
Create a .env
file in the root directory with the following variables:
VITE_SUPABASE_URL=your_supabase_url
VITE_SUPABASE_ANON_KEY=your_supabase_anon_key
npm run build
The built files will be in the dist
directory, ready for deployment to any static hosting service.
- Vercel
- Netlify
- GitHub Pages
- Firebase Hosting
We welcome contributions! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Website: www.promptordie.tech
- Documentation: Coming soon
- Discord: Join our community (link coming soon)
If you need help or have questions:
- Check the documentation
- Search existing issues
- Create a new issue with detailed information
- Join our Discord community for real-time support
Built with ❤️ by the Prompt or Die team