Smart Prompt is a modern AI prompt management tool that helps users better manage, optimize, and synchronize their AI prompts. Through the Chrome extension, users can easily collect, manage, and optimize prompts they use across various AI platforms.
- 🔍 One-Click Collection: Easily save AI prompts from any webpage
- ✨ Smart Optimization: Provide prompt optimization suggestions based on extensive data analysis
- ⚡ Real-time Sync: Keep prompts synchronized across all devices
- 🌐 Multi-language Support: English and Chinese interfaces available
- 🎨 Modern Interface: Beautiful UI built with Radix UI and Tailwind CSS
- 🔐 Secure & Reliable: Local-first data storage strategy
- Node.js 18.0 or higher
- npm 7.0 or higher
- Clone the repository:
```bash git clone https://github.com/samueli/smart-prompt.git cd smart-prompt ```
- Install dependencies:
```bash npm install ```
- Start the development server:
```bash npm run dev ```
Visit http://localhost:5173 to view the application.
Build for production:
```bash npm run build ```
Preview production build:
```bash npm run preview ```
Smart Prompt provides a Chrome extension to enhance your experience:
-
Install from Chrome Store:
- Visit Chrome Web Store
- Click "Add to Chrome"
-
Manual Installation:
- Download the latest extension package
- Extract the downloaded file
- Visit chrome://extensions/ in Chrome
- Enable "Developer mode"
- Click "Load unpacked"
- Select the extracted folder
- Frontend Framework: React 18
- Build Tool: Vite
- Styling Solution: Tailwind CSS
- UI Components: Radix UI
- State Management: React Context
- Routing: React Router
- Internationalization: i18next
- Icons: Lucide React
- Deployment: Cloudflare Pages
``` smart-prompt/ ├── src/ │ ├── components/ # UI components │ ├── contexts/ # React contexts │ ├── hooks/ # Custom hooks │ ├── i18n/ # Internationalization files │ ├── lib/ # Utility functions │ ├── pages/ # Page components │ └── styles/ # Global styles ├── public/ # Static assets └── vite.config.ts # Vite configuration ```
The project is developed using TypeScript to ensure type safety. ESLint and Prettier are used to maintain consistent code style.
i18next is used for internationalization, with translation files located in the `src/i18n/locales/` directory.
The project is deployed using Cloudflare Pages. Run the following command to deploy to production:
```bash npm run deploy ```
If you have any questions or suggestions, please contact us through:
- Email: feedback@playwithai.fun
- Submit an Issue on GitHub
We welcome all forms of contributions, including but not limited to:
- Bug reports
- Feature suggestions
- Code contributions
- Documentation improvements
Before submitting a Pull Request, please ensure:
- Documentation is updated
- Tests are added/updated
- All tests pass
- Existing code style is followed
Thank you to all the developers who have contributed to Smart Prompt!