Your AI prompt management platform. Create, organize, test, and optimize your prompts with ease.
Promplify is a powerful, open-source platform designed to streamline your entire AI prompt engineering workflow. Whether you're a developer building AI-powered applications, a researcher experimenting with different models, or a writer crafting creative content, Promplify provides the tools you need to manage your prompts efficiently.
With Promplify, you can move beyond simple text files and spreadsheets. Our platform offers a structured environment for creating, versioning, testing, and collaborating on prompts, ensuring you get the best possible results from your AI models.
- π Advanced Prompt Editor: A purpose-built editor that separates system and user prompts, complete with token counting.
- π Versioning: Automatically track changes to your prompts with semantic versioning.
- π§ AI Optimization: Use AI to refine and improve your system prompts with a single click.
- π Share & Collaborate: Share your prompts with anyone via a unique link.
- π Discover: Share your prompts with the community and explore what others are building.
- π API Access: Integrate your prompts into your applications with secure API access.
- βοΈ Cloud-Native: Built with a modern stack including React, Cloudflare Workers, and Supabase.
- π·οΈ Smart Tagging: Organize your prompts with customizable tags and categories.
- π Analytics: Track prompt performance and usage statistics.
- π¨ Beautiful UI: Modern, responsive design built with Tailwind CSS and shadcn/ui.
This project is built with modern, scalable technologies:
- Frontend: React, Vite, TypeScript, Tailwind CSS, shadcn/ui
- Backend: Cloudflare Workers
- Database & Auth: Supabase
To get a local copy up and running, follow these simple steps.
- Node.js (v18 or later recommended)
- npm
- A Cloudflare account
- A Supabase account
-
Clone the repository
git clone https://github.com/Promplify/promplify-web.git cd promplify-web -
Install dependencies
npm install
-
Set up Environment Variables
-
Create your environment file from the example:
cp .env.example .env
-
Set up Supabase project:
- Go to Supabase Dashboard
- Create a new project or use an existing one
- Go to Settings > API
- Copy your Project URL and anon/public key
-
Fill in your
.envfile:# Required: Supabase Configuration VITE_SUPABASE_URL=https://your-project-id.supabase.co VITE_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.your-anon-key # Optional: Sentry Configuration (for error tracking) SENTRY_AUTH_TOKEN=your_sentry_auth_token_here VITE_SENTRY_DSN=https://your-sentry-dsn@sentry.io/project-id
-
-
Set up Database
- Install Supabase CLI:
npm install -g supabase
- Apply database migrations:
supabase login supabase link --project-ref YOUR_PROJECT_ID supabase db push
- Deploy Edge Functions:
supabase functions deploy supabase secrets set DEEPSEEK_API_KEY=your_deepseek_api_key
- Install Supabase CLI:
-
Set up Cloudflare Worker (Optional)
- For API functionality, navigate to the Cloudflare Worker directory:
cd cloudflare-worker - Follow the instructions in the
cloudflare-worker/README.mdto deploy the worker
- For API functionality, navigate to the Cloudflare Worker directory:
-
Run the Development Server
- Navigate back to the root directory and start the Vite development server:
cd .. npm run dev - Open http://localhost:8080 to view the app in your browser.
- Navigate back to the root directory and start the Vite development server:
- Connect your GitHub repository to Cloudflare Pages
- Set build settings:
- Build command:
npm run build - Build output directory:
dist - Node.js version:
18or later
- Build command:
- Configure environment variables in Cloudflare Pages dashboard:
VITE_SUPABASE_URLVITE_SUPABASE_ANON_KEYSENTRY_AUTH_TOKEN(optional)VITE_SENTRY_DSN(optional)
- Navigate to the worker directory:
cd cloudflare-worker - Configure wrangler.toml with your account details
- Deploy the worker:
npm run deploy
- Set environment variables using Wrangler:
npx wrangler secret put SUPABASE_URL npx wrangler secret put SUPABASE_ANON_KEY
The database migrations and Edge Functions are automatically applied when you follow the installation steps above. For production:
- Create a production Supabase project
- Apply migrations:
supabase db push - Deploy Edge Functions:
supabase functions deploy - Set production secrets:
supabase secrets set DEEPSEEK_API_KEY=your_key
| Variable | Description | Example |
|---|---|---|
VITE_SUPABASE_URL |
Your Supabase project URL | https://abc123.supabase.co |
VITE_SUPABASE_ANON_KEY |
Your Supabase anonymous key | eyJhbGciOiJIUzI1NiIs... |
| Variable | Description | Example |
|---|---|---|
SENTRY_AUTH_TOKEN |
Sentry authentication token | your_token_here |
VITE_SENTRY_DSN |
Sentry project DSN | https://...@sentry.io/... |
These need to be set in your Supabase project:
| Secret | Description | Command |
|---|---|---|
DEEPSEEK_API_KEY |
DeepSeek AI API key for prompt optimization | supabase secrets set DEEPSEEK_API_KEY=your_key |
promplify-web/
βββ src/ # React frontend source code
β βββ components/ # Reusable UI components
β βββ pages/ # Page components
β βββ services/ # API service functions
β βββ lib/ # Utility libraries
β βββ types/ # TypeScript type definitions
βββ cloudflare-worker/ # Cloudflare Worker API
βββ supabase/ # Database migrations and functions
β βββ migrations/ # Database schema migrations
β βββ functions/ # Edge functions
β βββ README.md # Supabase setup guide
βββ public/ # Static assets
βββ .env.example # Environment variables template
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
Please see our Contributing Guide for more details on our code of conduct and the process for submitting pull requests to us.
- Fork the repository
- Clone your fork:
git clone https://github.com/your-username/promplify-web.git - Install dependencies:
npm install - Set up environment:
cp .env.example .envand fill in your values - Start development:
npm run dev - Make your changes and test thoroughly
- Run linting:
npm run lint:fix - Submit a pull request
For detailed setup instructions, see the Installation section above.
Distributed under the Apache License 2.0. See LICENSE for more information.
Project Link: https://github.com/Promplify/promplify-web
Live Demo: https://promplify.com
- shadcn/ui for the beautiful UI components
- Supabase for the backend infrastructure
- Cloudflare for hosting and edge computing
- All contributors who help make this project better