How to find the created date of a repository project on GitHub?

后端 未结 8 1789
心在旅途
心在旅途 2021-01-29 19:41

How can I find the created date of a project on GitHub?

Basically, I have to find the first commit to see the created date, however, some projects have 500 commits, whi

相关标签:
8条回答
  • 2021-01-29 19:57

    If you are not interested in the exact creation date, and just would like to know how old a repo roughly is. You can go to Insights, then Contributors. For example, first commit for react was pushed on May 26 2013.

    0 讨论(0)
  • 2021-01-29 19:57

    Syntax:

    curl -s https://api.github.com/repos/{:owner}/{:repository} | jq '.created_at'
    

    Example:

    curl -s https://api.github.com/repos/NabiKAZ/video2gif | jq '.created_at'
    

    Result:

    "2017-04-22T22:58:47Z"
    
    0 讨论(0)
  • 2021-01-29 19:57

    I created a user script that shows the creation date directly on the GitHub page of the repo: https://openuserjs.org/scripts/cosenal/GitHub_Repo_Dates

    0 讨论(0)
  • 2021-01-29 19:58

    You can also use Github's new GraphQL API:

    query { 
      repository(owner: "graphql", name: "graphql-js") {
        name
        createdAt
      }
    }
    
    0 讨论(0)
  • 2021-01-29 20:03

    I've written a bookmarklet for this, It may come in handy. You can even know the details of private or private - organization repositories with a simple workaround.

    GitHub repository size, creation date bookmarklet | Source Code

    0 讨论(0)
  • 2021-01-29 20:11

    This question is old, but i was trying to get the date from Github without any external plugins. After went online and digging deeper and trying to find soemthing else and came across this solution. Here's the answer.

    • Right-click on your Profile and select Settings
    • In your 'Settings' page, Sidebar on the left click Security
    • You should see all the details under the 'Security history'
    • You can hover on the date to display the full date and time. Or you can click repo.create and till popup with more detailed information about the repository.

    0 讨论(0)
提交回复
热议问题