• 请不要在回答技术问题时复制粘贴 AI 生成的内容
benjycui
V2EX  ›  程序员

写了个可以计算某一用户在 GitHub 上面贡献了多少个项目的玩具

  •  
  •   benjycui ·
    benjycui · Mar 15, 2017 · 3016 views
    This topic created in 3384 days ago, the information mentioned may be changed or developed.

    为了熟悉 GitHub API 而写的一个小玩具: https://github.com/benjycui/open-source-hero

    $ open-source-hero benjycui
    benjycui had contributed to 47 repositories.
    1. ant-design/ant-design
    2. react-component/calendar
    3. benjycui/open-source-hero
    4. ant-design/bisheng-plugin-antd
    5. benjycui/bisheng
    ...
    

    其实这个东西并不精确,但是就玩具而言,还可以吧。

    4 replies    2017-03-16 09:00:57 +08:00
    zsx
        1
    zsx  
       Mar 15, 2017
    试了一下,我自己名字和自己组织的没收集全,倒是收集到了一堆别人 clone 我项目 / 我贡献过的项目后直接 remote add 传到 GitHub 的项目……我竟然还看到了在 OSChina 上我给 DiscuzX 提交的代码……
    zsx
        2
    zsx  
       Mar 15, 2017
    @zsx #1 原来原理是 GitHub Search 啊,这锅得给 GitHub 背
    byfar
        4
    byfar  
       Mar 16, 2017
    github api 吗
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   865 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 22:10 · PVG 06:10 · LAX 15:10 · JFK 18:10
    ♥ Do have faith in what you're doing.