Quick Start
Get your Pixelflare instance running in approximately 30 minutes using our automated setup.
Step 1: Fork the Repository
Fork the Pixelflare repository to your GitHub account:
Step 2: Clone and Install
bash
git clone https://github.com/YOUR-USERNAME/pixelflare.git
cd pixelflare
pnpm installStep 3: Configure Environment
Copy the example environment file:
bash
cp .env.example .envEdit .env with your Cloudflare details:
See the Environment Variables guide for all options.
Step 4: Deploy Infrastructure
bash
cd terraform
terraform init
terraform plan
terraform applyStep 5: Configure Secrets
bash
# Generate secrets
API_SECRET=$(openssl rand -hex 32)
UPLOAD_SECRET=$(openssl rand -hex 32)
# Set in Workers
echo $API_SECRET | wrangler secret put API_HASH_SECRET
echo $UPLOAD_SECRET | wrangler secret put UPLOAD_TOKEN_SECRETStep 6: Deploy Application
bash
pnpm deployStep 7: Verify
Visit your deployed instance:
- App:
https://app.yourdomain.com - API:
https://api.yourdomain.com/health
Next Steps
- Configure Turnstile - Add bot protection
- Set up Analytics - Track usage
- Enable Custom Domains - User subdomains
Troubleshooting
Having issues? Check the Troubleshooting Guide.