This project is a part of building a shiny app for rstudio shiny app contest. GitDiscoverer focuses on showing activity on github like top trending repositories, top trending developers in data science space and what influential data scientist are doing on github.
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
- Github Developers settings page , then Oauth Applications
- Register a new Application say
Application Name: Rstudio Shiny Contest
Homepage URL : http://github.com
Application description : Rstudio 1st shiny Contest
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.
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
Loading Screen
Tab 1 - Data Science Influencer
Please note if any of the username is invalid, app will throw an erorr, so make sure you enter a valid github username.
Tab 2 - Trending Repositories in Data Science
Tab 3 - Trending Developers in Data Science
- Shiny CheatSheet
- DeanAttali Blog
- Top 30 Data Scientist to follow on Github
- Collection of Shiny Apps
- App Logo Design
For any comments or questions, please email me at raj.k.stats@gmail.com