Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 945 Bytes

README.md

File metadata and controls

46 lines (29 loc) · 945 Bytes

Vercel Source Fetcher

Vercel

Instructions

1 - Install the dependencies.

npm install

or use recommended package manager Bun

bun install

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.

node index.js <VERCEL DEPLOYMENT URL or ID> <DESTINATION>

For example, node index.js example-5ik51k4n7.vercel.app ../example.

Or using the id directly, node index.js dpl_6CR1uw9hBdpWgrMvPkncsTGRC18A ../example.

Colophon 📜

Acknowledgement

This is an updated version of