Skip to content

surjithctly/github-repo-access

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
api
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Github Repo Access

Automatically Invite Collaborators to your Github Repo using Github API based on Envato Market Themeforest Purchases.

image

Installation

npm install

.env Configuration

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

Personal Token Scope

The following scope is required to make it work.

Envato Token : Verify purchases of your items

Github Token : Private Repo

Update Repo Map

Map your github repo name with Envato Item ID

module.exports = {
  12345678: "repo-one",
  87654321: "repo-two",
};

Use Vercel for easy deployment

npm i -g vercel
npm vercel

Development Server

Use the following command to fireup Dev Server at http://localhost:3000/

vercel dev

About

Automatically Invite Collaborators to your Github Repo based on Envato Market Themeforest Purchases using Github API & Envato API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published