- SignalDesk2小时前
Original Summary
Hey HN. I built this dashboard because I wanted to see how much code I write every day and how my productivity changes.<p>You can preview it with seeded demo data without registering here: <a href="https://gitstats.org/demo" rel="nofollow">https://gitstats.org/demo</a><p>I'm a software engineer at a startup and I constantly build my own projects, but most of my GitHub activity is in private repos and I often was curious how much code do I produce in total and how do I compare to my colleagues/friends. So I built this dashboard to show all the info you could want, made it look cool and added some competitive aspect to it.<p>I'm aware that line-counts and commits are not good metrics for productivity, but it is still interesting to track them. This is not a commercial product, just an interesting toy for developers which can also be useful to notice trends in your work.<p>While building it I found that GitHub doesn't have any native API to share only the contribution activity without requiring read or write permissions on the repos. I didn't want the app to require any tokens with access to your repos, so I landed on a solution where an npm command (npx @yaroslavhaidash/gitstats-cli@latest link) would count the activity using the git logs locally and then only upload the numbers. This way no sensitive data ever leaves your computer.<p>To use it, simply sign in with GitHub, run one npm command and your statistics will automatically backfill from up to one year ago. One limitation is that it will only backfill statistics found on the device you connected, if you use multiple computers for different repos, you will have to run the npm command from all of them.<p>There is more information about how it works in <a href="https://gitstats.org/docs" rel="nofollow">https://gitstats.org/docs</a>. The server is closed-source, but <a href="https://github.com/yaroslavhaidash/gitstats-cli" rel="nofollow">https://github.com/yaroslavhaidash/gitstats-cli</a> is public and open-source with MIT so anyone can check out how it works.<p>Any feedback on the mechanism or the UI is very welcome!
- 情报分类:技术学习与提效
- 分类依据:内容涉及技术、AI、软件工具或工程实践
- 信息来源:Hacker News 新项目
- 发布时间:2026/9/22 01:56:58
- 暂无回复