devhub icon indicating copy to clipboard operation
devhub copied to clipboard

Trending repositories

Open WGierke opened this issue 7 years ago • 4 comments

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

WGierke avatar Dec 17 '18 12:12 WGierke

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.

brunolemos avatar Dec 17 '18 18:12 brunolemos

Cool! :) Maybe this can help you.

WGierke avatar Dec 17 '18 18:12 WGierke

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.

zhigang1992 avatar Dec 21 '18 15:12 zhigang1992

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

dekura avatar Apr 05 '19 12:04 dekura