Deploy on Vercel
The easiest way to deploy, all from the web UI.
Prerequisites
Step 1: One-click Deploy
Click the button below to import and deploy this repo with your GitHub account:
Or manually:
- Fork https://github.com/LegspCpd/vscode-web
- In Vercel → Add New Project → import your fork
- Keep Framework Preset as Other and click Deploy
The repo already contains
vercel.json, no extra build config needed.
Step 2: Create a GitHub OAuth App
- Go to https://github.com/settings/developers → New OAuth App
- Fill in:
- Application name: e.g.
VS Code Web - Homepage URL: your domain, e.g.
https://vscode.legspcpd.top - Authorization callback URL:
https://your-domain/api/auth/callback
- Application name: e.g.
- Register and copy the Client ID and Client Secret
Step 3: Configure Environment Variables
In Vercel → Settings → Environment Variables:
| Name | Required | Purpose |
|---|---|---|
GITHUB_CLIENT_ID | ✅ | GitHub OAuth Client ID |
GITHUB_CLIENT_SECRET | ✅ | GitHub OAuth Client Secret |
Step 4: Redeploy
After adding variables, go to Deployments → latest deployment → Redeploy.
Done
Open your Vercel domain, click the GitHub icon in the sidebar and Login to start editing your remote repos.
