{"id":20974724,"url":"https://github.com/thatconference/that-vercel-cli","last_synced_at":"2026-04-21T08:05:58.341Z","repository":{"id":213197709,"uuid":"733288342","full_name":"ThatConference/that-vercel-cli","owner":"ThatConference","description":"Simple cli for running batch processes against Vercel's cli","archived":false,"fork":false,"pushed_at":"2023-12-20T16:02:59.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-27T18:27:54.900Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ThatConference.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-19T01:52:31.000Z","updated_at":"2023-12-19T01:52:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"ebc6929d-9b5f-4b01-8c00-605b9c02da52","html_url":"https://github.com/ThatConference/that-vercel-cli","commit_stats":null,"previous_names":["thatconference/that-vercel-cli"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ThatConference/that-vercel-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThatConference%2Fthat-vercel-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThatConference%2Fthat-vercel-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThatConference%2Fthat-vercel-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThatConference%2Fthat-vercel-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ThatConference","download_url":"https://codeload.github.com/ThatConference/that-vercel-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThatConference%2Fthat-vercel-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32082790,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T06:27:27.065Z","status":"ssl_error","status_checked_at":"2026-04-21T06:27:21.250Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T04:32:43.665Z","updated_at":"2026-04-21T08:05:58.297Z","avatar_url":"https://github.com/ThatConference.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# that-vercel-cli\n\n**beta** version software.  \nThis basic cli will delete old deployments from a vercel account.\n\n## Setup\n\nThere are two places to configure the application\n\n1. `.env`, two keys are needed in the .env file.\n    1. VERCEL_TOKEN, Bearer token for accessing the Vercel API.\n    1. VERCEL_TEAM_ID, required for team accounts. If the API is not authorizing you it's probably due to a missing team id.\n\n1. `appConfig.js` file. This file reads in environment variables and contains other needed values.\n    - `vercel.baseUrl`, Vercel API's base url.\n    - `vercel.deployMonthsToKeep`, int, number of months of deployments to keep around. Any deployments older than this term will be deleted.\n    - `vercel.fetchDeploymentLimit`, int, number of deployment records to fetch per request.\n    - `vercel.nextDeploymentFetchDelay`, int, milliseconds, how long to wait before fetching the next set of deployments for deletion.\n    - `vercel.deleteRequestDelay`, int, milliseconds, delay added to each delete request.\n    - `logDirectoryName`, default, 'logs'. This folder is part of .gitconfig to keep logs out of the repo.\n\n### Vercel Rate Limiting\n\nVercel rate limit information can be found here, [https://vercel.com/docs/limits/overview#rate-limits](https://vercel.com/docs/limits/overview#rate-limits). Vercel doesn't explicitly list a limit for deployment deletes, but, through testing, it appears to be similar to Domain Deletion, which is 60 ever 60 seconds. It also seems a rate limit is activated after 200 deletes regardless of request rate 😞.\n\nTo avoid hitting the limit the setting should be around:\n\n- `appConfig.vercel.fetchDeploymentLimit`: 30\n- `appConfig.vercel.deleteRequestDelay`: 1000\n- `appConfig.vercel.nextDeploymentFetchDelay`: 3000\n  \n## Executing the script\n\nRun the script in one of two ways:\n\n1. `node src/index.js`\n1. `npm run start`\n\n## Requirements\n\nnode 20+  \nwritten as node esm, no transpiler.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthatconference%2Fthat-vercel-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthatconference%2Fthat-vercel-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthatconference%2Fthat-vercel-cli/lists"}