查看 GitHub 仓库的创建时间
- [1. `https://api.github.com/repos/{owner}/{repository}\`](#1.
https://api.github.com/repos/{owner}/{repository}
) - [2. `curl -s https://api.github.com/repos/{owner}/{repository} | jq '.created_at'`](#2.
curl -s https://api.github.com/repos/{owner}/{repository} | jq '.created_at'
) - References
1. https://api.github.com/repos/{owner}/{repository}
REST API endpoints for repositories
https://docs.github.com/en/rest/repos
-
Syntax
-
Example
https://github.com/ggerganov/ggml
https://api.github.com/repos/ggerganov/ggmlhttps://github.com/ggerganov/llama.cpp
https://api.github.com/repos/ggerganov/llama.cpphttps://github.com/ggerganov/whisper.cpp
https://api.github.com/repos/ggerganov/whisper.cpp
查找 created_at
关键字,获取 GitHub 仓库的创建时间。

2. curl -s https://api.github.com/repos/{owner}/{repository} | jq '.created_at'
-
Syntax
curl -s https://api.github.com/repos/{owner}/{repository} | jq '.created_at'
-
Example
https://github.com/ggerganov/ggml
curl -s https://api.github.com/repos/ggerganov/ggml | jq '.created_at'(base) yongqiang@yongqiang:~ curl -s https://api.github.com/repos/ggerganov/ggml | jq '.created_at' "2022-09-18T17:07:19Z" (base) yongqiang@yongqiang:~
https://github.com/ggerganov/llama.cpp
curl -s https://api.github.com/repos/ggerganov/llama.cpp | jq '.created_at'(base) yongqiang@yongqiang:~ curl -s https://api.github.com/repos/ggerganov/llama.cpp | jq '.created_at' "2023-03-10T18:58:00Z" (base) yongqiang@yongqiang:~
https://github.com/ggerganov/whisper.cpp
curl -s https://api.github.com/repos/ggerganov/whisper.cpp | jq '.created_at'(base) yongqiang@yongqiang:~ curl -s https://api.github.com/repos/ggerganov/whisper.cpp | jq '.created_at' "2022-09-25T18:26:37Z" (base) yongqiang@yongqiang:~
References
1\] Yongqiang Cheng,