V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
benjycui
V2EX  ›  程序员

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

  •  
  •   benjycui ·
    benjycui · 2017-03-15 18:36:07 +08:00 · 2123 次点击
    这是一个创建于 2599 天前的主题,其中的信息可能已经有所发展或是发生改变。

    为了熟悉 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 条回复    2017-03-16 09:00:57 +08:00
    zsx
        1
    zsx  
       2017-03-15 18:53:14 +08:00
    试了一下,我自己名字和自己组织的没收集全,倒是收集到了一堆别人 clone 我项目 / 我贡献过的项目后直接 remote add 传到 GitHub 的项目……我竟然还看到了在 OSChina 上我给 DiscuzX 提交的代码……
    zsx
        2
    zsx  
       2017-03-15 18:56:18 +08:00
    @zsx #1 原来原理是 GitHub Search 啊,这锅得给 GitHub 背
    byfar
        4
    byfar  
       2017-03-16 09:00:57 +08:00
    github api 吗
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2598 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 15:44 · PVG 23:44 · LAX 08:44 · JFK 11:44
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.