Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Notifications You must be signed in to change notification settings

surjithctly/github-repo-access

Repository files navigation

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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.