Skip to content

rdwz/vercel-source-fetcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vercel Source Fetcher

Screenshot

Instructions

1 - Install the dependencies.

bun install
npm install
pnpm install
yarn install

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

VERCEL_TOKEN = ""
# Optionally if using a team account
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.

Languages

  • JavaScript 64.7%
  • HTML 35.3%