zercel
zercel copied to clipboard
Zercel is a Vercel clone that supports Fluid Compute and automatic deployments.
God's greatest Vercel clone. Made by Krish.

Checkout a blog post on the technical decisions and details!: krish.gg/blog/making-a-vercel-clone
🌟 Features
- Automatic GitHub Deployments $_1$
- Live Build Logs
- Global CDN Caching
- Free dynamic SSL Certificates
- Environment Variables
- Instant-Subdomain(s) Deployment
- Fluid Compute (Serverless Server Functions) $_2$
- [Upcoming] Instant Rollback
- [Upcoming] Preview URLs
- [Upcoming] Server Logs
- [Upcoming] Server Version Skew Protection
📦 Project Structure
zercel/
├── apps/ # Application projects
│ ├── router/ # Network router
│ ├── builder/ # Build system
│ └── web/ # Web interface
└── terraform/ # Infrastructure as code
🏗️ Infrastructure
The project uses Terraform for infrastructure management. Configuration can be found in the terraform/ directory.
This project uses the following services:
- Cloudflare CDN
- GCP Cloud Run (Webapp, Router)
- GCP Cloud Run Jobs (Static Builds)
- GCP Batch (Server builds by orchestrating isolated VMs)
- Neon Postgres (Cloud SQL is too expensive)
- Upstash Redis (Cloud Memorystore is too expensive)
- GCP Cloud Bucket (Static site builds)
- GCP Artifact Registry (Docker images for server builds)
- GCP Eventarc (Webhook triggers)
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
Footnotes:
$_1$: Currently only supports default repository branch on public (but authorized) repositories.
$_2$: Google Cloud Run configured with multiple concurrent requests with autoscaling are used to create the same behaviour as Vercel Fluid Compute
