Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rajkstats/git_discoverer_app
What's trending in data science space
https://github.com/rajkstats/git_discoverer_app
github-api rshiny shiny-apps topics trending-developers trending-repositories
Last synced: about 1 month ago
JSON representation
What's trending in data science space
- Host: GitHub
- URL: https://github.com/rajkstats/git_discoverer_app
- Owner: rajkstats
- Created: 2020-02-10T06:07:38.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-02T04:59:03.000Z (almost 5 years ago)
- Last Synced: 2024-08-13T07:13:51.696Z (5 months ago)
- Topics: github-api, rshiny, shiny-apps, topics, trending-developers, trending-repositories
- Language: R
- Homepage: http://gitdiscoverer.com
- Size: 4.53 MB
- Stars: 15
- Watchers: 2
- Forks: 6
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - rajkstats/git_discoverer_app - What's trending in data science space (R)
README
### Quick Overview
This project is re-work of [gitdiscoverer.com](https://rajkstats.shinyapps.io/rstudio-shiny-contest/) 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
* [Github Official Developer API](https://developer.github.com/v3/)
* [Github Unofficial Trending API](https://github.com/huchenme/github-trending-api)
* [Trending Repositories](https://github-trending-api.now.sh/repositories?language=R&since=weekly)
* [Trending Developers](https://github-trending-api.now.sh/developers?language=R&since=weekly)### 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](https://github.com/settings/developers) , 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:1410On 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](https://blog.exploratory.io/extract-data-from-private-github-repository-with-rest-api-db804fa43d84)
#### **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](https://support.rstudio.com/hc/en-us/articles/217952868-Generating-OAuth-tokens-from-a-server)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* [Unsplash: Jumbotron Image](https://unsplash.com/photos/842ofHC6MaI)
* [Shiny CheatSheet](https://shiny.rstudio.com/images/shiny-cheatsheet.pdf)
* This artcile helped me [Kdnuggets: Trending Top Deep Learning Repositories](https://www.kdnuggets.com/2019/02/trending-top-deep-learning-github-repositories.html) in building popular projects tab.
* [Mastering Shiny By Hadley Wickham](https://mastering-shiny.org/)
* For Loading screens - John-coene R [waiter package](https://waiter.john-coene.com/#/waitress)
* Shiny disconnected screen using John Coene R [Sever package](https://github.com/JohnCoene/sever)### Learn More
Check out this [Linkedin Article](https://www.linkedin.com/pulse/rshiny-contest-2020-re-work-gitdiscoverercom-raj-kumar/) I wrote.
### Contact
- For any comments or questions, please email me at [email protected]
- For Feature request/ improvements, Please open an issue [here](https://github.com/rajkstats/git_discoverer_app/issues)