code996是国人开源的分析工具,可以统计 Git 项目的 commit 时间分布,进而推导出项目的编码工作强度。原理是使用 git-log 对项目当前的分支进行查询,得到以小时汇总和以天汇总的 commit 统计结果,将本地脚本得到的查询结果转为 URL 参数,并打开 URL 到浏览器,然后从 URL 拿到数据,并使用一些规则处理,并将结果可视化展现。code996遵守Unlicense开源许可。



源码:https://github.com/hellodigua/code996
官网:https://hellodigua.github.io/code996/#/
发表回复