https://github.com/guofei9987/star_counter
Count a GitHub user's stars and forks(在线统计账号star数量)
https://github.com/guofei9987/star_counter
github github-api number star
Last synced: 5 months ago
JSON representation
Count a GitHub user's stars and forks(在线统计账号star数量)
- Host: GitHub
- URL: https://github.com/guofei9987/star_counter
- Owner: guofei9987
- License: mit
- Created: 2019-08-26T10:39:50.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-03T13:52:52.000Z (about 6 years ago)
- Last Synced: 2025-06-01T14:56:26.859Z (6 months ago)
- Topics: github, github-api, number, star
- Language: JavaScript
- Homepage: https://www.guofei.site/os/github_star_counter.html
- Size: 74.2 KB
- Stars: 23
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# star_counter
Count a GitHub user's total stars and forks
input the github id you want to count, and click the `Calculate` button
## Use on your website
paste this on your website
```html
function func_1() {
document.getElementById("star_counter").innerHTML = 'If not print for seconds, please refresh';
github_id = document.getElementById("user").value;
document.getElementById("star_counter").innerHTML = cal_github_star(github_id);
}
Input github id:
```