A React-based web application for browsing, searching, and copying AI prompts, similar to ray.so/prompts/browser.
├── backend/
│ └── index.ts # Hono server for serving static files
├── frontend/
│ ├── index.html # Main HTML template
│ ├── index.tsx # React app entry point
│ └── components/
│ ├── App.tsx # Main app component
│ ├── PromptCard.tsx # Individual prompt card
│ ├── SearchBar.tsx # Search input component
│ └── CategoryFilter.tsx # Category dropdown filter
├── shared/
│ ├── types.ts # TypeScript interfaces
│ └── prompts.ts # Sample prompt data
└── README.md
To add new prompts, edit /shared/prompts.ts and add new prompt objects following the Prompt interface defined in /shared/types.ts.
Each prompt should include:
id: Unique identifiertitle: Short, descriptive titledescription: Brief explanation of the prompt's purposecontent: The actual prompt textcategory: Category for filteringauthor: Prompt creatortags: Optional array of tags for additional categorization