Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
172 views
in Technique[技术] by (71.8m points)

Where can I see a list of GitHub's newest repositories?

I'm interested to see what other people publish on GitHub. From personal experience, I know how valuable the first few watchers of a new project can be.

However, I can't seem to find a way to actually discover new repositories on GitHub. Here's what I've tried:

  • https://github.com/trending - Shows "trending" repositories; not what I want.
  • https://github.com/topics/TAG?o=desc&s=updated - Show a list of repositories tagged with TAG, sorted by "recently updated". Closer, but still not what I want.

Where can I find a list of recently created GitHub repositories?

question from:https://stackoverflow.com/questions/65858835/where-can-i-see-a-list-of-githubs-newest-repositories

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

The solution is to use GitHub's List public events API endpoint:

#!/bin/sh

curl -sH "Accept: application/vnd.github.v3+json" https://api.github.com/events |
jq -rc '.[] | select(.type == "CreateEvent") | ("https://github.com/" + .repo.name)'

Example output:

$ ./gittok.sh
https://github.com/AriefAbdullah/3rd-assignment
https://github.com/geometricpanda/geometricpanda
https://github.com/kamalarieff/portfolio
https://github.com/g1nus/Twapp

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...