Skip to content

rajkstats/git_discoverer_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quick Overview

This project is re-work of gitdiscoverer.com which is the first shiny web app I built as part of Rstudio Shiny Contest 2019. Idea of re-building this to try out skills I learned over past year. I have improved my front-end skills which I'm putting in to use here and added few features which might be useful for end users.

What's new?

  • Browse Popular Machine Learning and Deep Learning (ML/DL) Projects on Github
  • Topic Tags (Available in Trending Repositories, Popular Projects tabs)
  • Dynamically Rendering Info in Bootstrap cards component
  • Sort By Trend, Stars, and Forks
  • Disconnect screen for Shiny Server

Architecture

REST APIs

Instructions

In order to run this app, Github provides REST API access to get variety of the data of your projects at Github. Since we are only interested in publicly available data. We will Authenticate with OAuth 2.0 which is the most secure option.

In order to use OAuth option, you need Client ID and Client Secret. If you don’t have them yet, go to

  1. Github Developers settings page , then Oauth Applications
  2. Register a new Application say

Application Name: Rstudio Shiny Contest 2020
Homepage URL : http://github.com
Application description : Rstudio Shiny Contest 2020
Authorization callback URL : http://localhost:1410

On this page, you should be able to see Client key and Client Secret. Once you have the keys put them in global.R of this Shiny App and make sure you have active internet connection and you're all set to run GitDiscoverer.

More Detailed Explanation to Generate Keys at this Link

Reproducibility at RstudioCloud Server

In order to reproduce this app at rstudio cloud server, you will need to generate oauth tokens. In my case, I was getting an error which says bad credentials and error in callback url was error in uri redirect mismatch. Please follow the instructions at rstudio support link

There are few steps to try on the ticket, but the one which worked for me on rstudio cloud server:

Create the .httr-oauth token on your desktop and then copy the file to a server

App Workflow

 

Tab 1 - Trending Repositories

 

Tab 2 - Trending Developers

 

Tab 2 - Popular Projects

 

Credits

Learn More

Check out this Linkedin Article I wrote.

Contact

  • For any comments or questions, please email me at raj.k.stats@gmail.com
  • For Feature request/ improvements, Please open an issue here