guofei9987 / star_counter

Count a GitHub user's stars and forks(在线统计账号star数量)

Home Page:http://www.guofei.site/star_counter/main.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

star_counter

Count a GitHub user's total stars and forks

demo

input the github id you want to count, and click the Calculate button

Use on your website

paste this on your website

<script>
    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);
    }
</script>


Input github id: <input name="user" value="guofei9987" type="text" id="user">
<input name="Button" type="button" value="Calculate" onClick="func_1()">

<p id="star_counter"></p>

About

Count a GitHub user's stars and forks(在线统计账号star数量)

http://www.guofei.site/star_counter/main.html

License:MIT License


Languages

Language:JavaScript 77.0%Language:HTML 23.0%