/git-connect

A Github App which will monitor the pull requests of a Github account and make a post to the user’s Linkedin account.

Primary LanguageJavaScript

Git Connect

App Logo

Table of Contents

Introduction

A Github App for posting the open source contributions on Linkedin for every pull request. The main goal of this project is to boost the motivation of the contributors. It will also help in creating awareness among students regarding the Open source software development.

Features

  • Provides the diff of the pull requests opened.
  • Provides the Organization Url, where the PR was opened.
  • Response time for publishing post is negligible.

Theme

Online Educational System and it's Advancements

Technology Stack

  • NodeJS
  • Python3
  • HTML/CSS
  • EJS
  • Probot

Installation

  1. Clone this Repository.
  2. Setup the NodeJS environment for Linkedin Sign in page by moving to its directory (git-connect/linkedin-signin) and then running the following instructions:-
    npm i
  3. Create the linkedin app for your profile and get client the id and secret from the Auth section and enter it in the config.js (git-connect/linkedin-signin/config.js)
     node index
  4. Open localhost:3000 on your browser.
  5. Sign in with your linkedin account and get the access token from the terminal.
  6. Put the value of the access token in API.js (git-connect/linkedin-signin/lib/API.js) and then click on sign in to get the profile id from the terminal.
  7. Put the values of access token and profile id in the server.py (git-connect/Post-to-Linkedin/server.py)
  8. Install the requests from Pypi:-
    pip install requests
  9. Run the probot app locally by using :-
    npm start
  10. Install the github app and choose all repositories option when prompted.
  11. Make a PR and then check the linkedin post on your profile.

Contributors:

Team Name: Teleporters