Codeivate – social coding RPG

By Peter Nijssen

Working with PHP 7.1? Download our FREE PHP 7.1 Cheat Sheet!

When building a web application, you are probably using more than one language to get the job done. Maybe you are wondering how much focus you are actually giving different languages? These days, you can track that through Codeivate.

Codeivate is a tool which you can integrate with several editors like PhpStorm and Sublime Text and which will track the kind of files you are working on and award you points for that. In the end, you can see a complete profile of what you have been programming in and which languages you are using the most. See my profile on Codeivate for an example.


Integration with several editors is easy. In this article we will have a look at the integration with PhpStorm and Sublime Text. Do note, however, that more editors are currently supported and coming soon.

Before we can start, we first have to register on the Codeivate website. After registration, make sure you log in and go to the page that contains your token. The website is pretty hard to understand, so here is a direct link.

Sublime Text

Before you can configure Sublime Text, make sure you installed the package control. Open up package control and choose to install a package. Search for Codeivate and install the appropriate package.

Open up preferences -> package settings -> codeivate -> settings - user. Within this file, change the user_id and token_id to the values that you found on the token page of the Codeivate website. Change the machine_name field to any name you like. If you are using multiple machines, this will be the identifier to see the difference between those machines.

Restart Sublime Text and you are good to go. In the status bar, you will see feedback from Codeivate from time to time, indicating what your current streak is and which language you are currently programming in. Do note that Codeivate checks the syntax of the file you are working on, so use the set syntax commands from Sublime Text to make sure the file is properly defined.


Open PhpStorm and click file -> preferences. Within preferences, go to the plugin section and click browse repositories . Search for codeivate and install the appropriate plugin. When installed, a new settings page named codeivate settings will appear. Open up this settings page and fill in the user ID and user token. You can also define a machine name if you prefer. By defining a machine name, you can easily distinguish multiple machines from each other. You could also use a different machine name per editor if you prefer.

In the status bar, you will now see a welcome message from Codeivate. Whenever you start typing, it will display which language you are currently using and how long your current streak is.


If you set up your editor and do your first code changes, you will be able to view your progress on the Codeivate website. For instance, on the summary page, you can see your current standings. You can see your most active languages, how much you program per machine and what your best streak is.

On the leaderboard page you can see the list of top programmers. If you search for your name, you can find on which position you currently are.

The Codeivate website has some more neat features. Unfortunately, the website is rather unclear and you really have to dig through everything to find them. For instance, on this page you can view my statistics for the last 7 days. You want to see yours? Just change your username in the URL.

There is also a battle page where you can select 2 users which then battle on various aspects of what Codeivate tracks.


Codeivate is a really nice tool to keep track of things, especially if you like achievements. I have been using it for months now and it’s really nice to see what I have been up to so far. However, most of the current plugins and pages have been in BETA for months. Next to that, the website is very unclear by having all kinds of links to new pages scattered around. I think this tool really has some potential, but there is clearly a lot of work to do for the developer to get everything going. Are you using Codeivate? What do you think of the tool? I would love to hear from you in the comments below.

  • Aleksander Koko

    Its really a nice tool for tracking your work. And the achievement is really nice thing. At least for the competitive developers.

  • Andrzej

    Oh, it’s not for free. Bummer.

    • There’s a 30 day free trial though – more than enough to see if it’s worth it for you.

    • Shame indeed. I cannot recall it was a paid service, but apparently they changed it. :(

      • Jishaal Kalyan

        The payment scheme is unclear. I have been using it for the past 2 months and it still works fine for me. It may be a “donation” model instead of subscription based, but again this is unclear.

        • Same here. I cannot recall I ever paid for it. So I guess you can just use it without paying.

          • Barchiel

            WHAT DO U DO FOR A LIVING?
            CAN’T STAND CHEAPOS.

        • Codeivate

          It is a donation based model, I will look at making that more clear on the site.

    • Barchiel


  • Codeivate

    Thanks for the article! Its free indefinitely, there is just a suggestion to pay after 30 days just to help out with the hosting costs. – Paul

  • hot_rush

    >> The service is not available. Please try again later.

    unstable, paid, useless…

    • It’s up again :)

    • Codeivate

      Sorry about the outage, Codeivate is donation-ware. It is run solely by me in my spare time. Due to an unfortunate combination of a huge spike in traffic/new users yesterday and a memory leak in one of the front end servers there was an outage this morning. This is the first actual outage lasting longer than a couple of minutes the site has had in the last year. This was compounded by the fact that it was 2am in New Zealand and the Pingdom alerts failed to wake me up :(

      I make Codeivate because I think it provides some interesting motivation and insight to myself about my programming habits and hopefully some other people find it useful to. I completely realise that the site is not for everyone.

      Thanks for pointing that out I can see I need to make the optional payment system more obvious, I will fix that up.

      – Paul

      • hot_rush

        i like the project idea and thumb up for your job. i’ll use it if it will be free :)

  • Alan Hamlett

    Check out if you like Codeivate

  • Alireza

    It’s a great idea, but what about privacy of our codes?

  • Albert Rheuschz

    I suggest for Visual Studio and Eclipse. Codealike is a more scientific approach to time-tracking and activity logging for devs.

  • Ra F

    If you want to learn Ruby on Rails quickly you should check out

    You get live help instantly from a professional mentor and you build your own custom project.

    Getting direct hands on training from a mentor is one of the fastest ways to learn Ruby.

Get the latest in PHP, once a week, for free.