Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zehfernandes/get-vercel-source-code

Get source code hosted at vercel
https://github.com/zehfernandes/get-vercel-source-code

backup vercel

Last synced: 2 days ago
JSON representation

Get source code hosted at vercel

Awesome Lists containing this project

README

        

# Get Vercel Source Code

Screen Shot 2021-04-08 at 12 33 31

## Instructions

1 - Install the dependecies.

```
npm i
```

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
```

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

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