prompt-or-die
v0.1.0
Published
**Design prompts like design systems.** Build modular AI prompts with drag-and-drop blocks, preview in real-time, and export to any agent framework.
Readme
Prompt or Die - Visual AI Prompt Builder
Design prompts like design systems. Build modular AI prompts with drag-and-drop blocks, preview in real-time, and export to any agent framework.
🚀 Getting Started
This project is built with modern web technologies including React, TypeScript, Vite, and Tailwind CSS.
Prerequisites
- Node.js (v18 or higher)
- npm or yarn
Installation
- 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
🏗️ Architecture
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
📁 Project Structure
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🎨 Features
- 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
🔧 Development
Available Scripts
npm run dev- Start development servernpm run build- Build for productionnpm run preview- Preview production buildnpm run lint- Run ESLint
Environment Variables
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🚀 Deployment
Build for Production
npm run buildThe built files will be in the dist directory, ready for deployment to any static hosting service.
Recommended Hosting
- Vercel
- Netlify
- GitHub Pages
- Firebase Hosting
🤝 Contributing
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
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
🔗 Links
- Website: www.promptordie.tech
- Documentation: Coming soon
- Discord: Join our community (link coming soon)
🆘 Support
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
