Automatically Invite Collaborators to your Github Repo using Github API based on Envato Market Themeforest Purchases.
npm install
Add a .env
file in your root folder and then add your github token.
ENVATO_TOKEN=YOUR_ENVATO_PEROSNAL_TOKEN
GITHUB_TOKEN=YOUR_GITHUB_PEROSNAL_TOKEN
The following scope is required to make it work.
Envato Token : Verify purchases of your items
Github Token : Private Repo
Map your github repo name with Envato Item ID
module.exports = {
12345678: "repo-one",
87654321: "repo-two",
};
npm i -g vercel
npm vercel
Use the following command to fireup Dev Server at http://localhost:3000/
vercel dev