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.
- 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
- Github Official Developer API
- Github Unofficial Trending API
* Trending Repositories
* Trending Developers
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 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.
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
Tab 1 - Trending Repositories
Tab 2 - Trending Developers
Tab 2 - Popular Projects
- Unsplash: Jumbotron Image
- Shiny CheatSheet
- This artcile helped me Kdnuggets: Trending Top Deep Learning Repositories in building popular projects tab.
- Mastering Shiny By Hadley Wickham
- For Loading screens - John-coene R waiter package
- Shiny disconnected screen using John Coene R Sever package
Check out this Linkedin Article I wrote.
- For any comments or questions, please email me at [email protected]
- For Feature request/ improvements, Please open an issue here