/vscdl

Get source code hosted at vercel🔻

Primary LanguageJavaScript

Vercel Source Fetcher

Vercel

Instructions

1 - Install with recommended package manager Bun or any other like npm, pnpm or Yarn

bun install --global vscdl

Or just kickstart it without installation to your system, use npx, pnpx or yarn dlx accordingly

bunx vscdl --help

2 - Get your Vercel token at https://vercel.com/account/tokens, copy .env.sample as .env and insert token:

# .env
VERCEL_TOKEN=
VERCEL_TEAM=

3 - Run the script and wait until complete.

vscdl <vercel deployment URL or ID> [<destination path>]

Examples

  • Use prod url vscdl getsource.vercel.app
  • Or deployment id, vscdl dpl_id0wn104d ../example.

Colophon 📜

This is an updated version of