devhubapp / devhub

TweetDeck for GitHub - Filter Issues, Activities & Notifications - Web, Mobile & Desktop with 99% code sharing between them
https://devhubapp.com
GNU Affero General Public License v3.0
9.67k stars 815 forks source link

Trending repositories #48

Open WGierke opened 5 years ago

WGierke commented 5 years ago

Awesome project! IMO GitHub trending also qualifies as "something important that's going on" :)

brunolemos commented 5 years ago

It's planned! GitHub doesn't have an official api for trending repositories, so I'll have to use some alternative unofficial one or create my own.

WGierke commented 5 years ago

Cool! :) Maybe this can help you.

zhigang1992 commented 5 years ago

Another option would be to use cheerio in rn to parse trending pages html directly.

https://github.com/tappollo/Genji/blob/master/app/network/githubHTML.js#L67

I used it to build

https://itunes.apple.com/cn/app/genji-trending-repos/id1436436317?l=en&mt=8

This works perfectly for react native env, but might not work on react-native-web because of CORS. Might need to setup proxy of sort.

dekura commented 5 years ago

Awesome project! Hope the trending column will coming soon. :)