Show HN: Code::Stats – Free programming stats service
codestats.net
codestats.net
The point of the service is that it integrates into your editor and sends typing amounts (e.g. "C++ 50 XP") to the service so you can see which languages you have written code in (and you get to level up). The service and all the editor plugins are open source and most of the repos can be found in our GitLab [1].
I'll be happy to answer any questions you might have. :) In general I've had a lot of fun working with Elixir, though I'm far from a pro.
The inspiration for C::S was a service called Codeivate that disappeared at the time I started working on this and never came back. There is also WakaTime[2] which I haven't used myself, but I believe it is more professional oriented (whereas C::S is more "for fun" in my eyes), and it tracks time instead of points, so it's worth checking out as well I think.
I'd be more interested in this if it could work as a native application, on my machine, and I could still see and export these insights, without the need of being connected to an external service.
This code base won't convert easily into a native application, but if you don't mind installing some dependencies, you can run your own version on your own computer. All the plugins have the possibility of changing the API URL, so you can point them at localhost or your own instance if you wish. The instructions to do that might not be the best, though, and there's a few different things to install that are required to run it.
Or you could run a local instance. It's all open source and plugins support specifying your own endpoint so you're not tied to the server provided by the author.
Disclosure: I'm the author of two plugins: code-stats-vim and code-stats-zsh.
This is a very important aspect. It's quite interesting to see how much I've written in each language and compare that to how much functionality I think I've produced which would give me some sense of how effective I am with each.
This perspective also avoids Goodhart's law:
When a measure becomes a target, it ceases to be a good measure.
It seems to find a point enabling gamification for motivation without motivating gaming in itself.