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.
This project is built with modern, scalable technologies:
To get a local copy up and running, follow these simple steps.
Clone the repository
sh
git clone https://github.com/Promplify/promplify-web.git
cd promplify-web
Install dependencies
sh
npm install
Set up Environment Variables
sh
cp .env.example .env
Set up Supabase project:
Go to Supabase Dashboard
Copy your Project URL and anon/public key
Fill in your .env file:
```env
# 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
sh
npm install -g supabasesh
supabase login
supabase link --project-ref YOUR_PROJECT_ID
supabase db pushsh
supabase functions deploy
supabase secrets set DEEPSEEK_API_KEY=your_deepseek_api_keySet up Cloudflare Worker (Optional)
sh
cd cloudflare-workercloudflare-worker/README.md to deploy the workerRun the Development Server
sh
cd ..
npm run devnpm run builddist18 or laterVITE_SUPABASE_URLVITE_SUPABASE_ANON_KEYSENTRY_AUTH_TOKEN (optional)VITE_SENTRY_DSN (optional)sh
cd cloudflare-workersh
npm run deploysh
npx wrangler secret put SUPABASE_URL
npx wrangler secret put SUPABASE_ANON_KEYThe database migrations and Edge Functions are automatically applied when you follow the installation steps above. For production:
supabase db pushsupabase functions deploysupabase 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.
git clone https://github.com/your-username/promplify-web.gitnpm installcp .env.example .env and fill in your valuesnpm run devnpm run lint:fixFor 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