Skip to content
Code Stats Embedded for
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Embed your Code::Stats profile anywhere

Everybody loves stats. So why not to share them where ever you want?

☁️ Installation

Add the following code to your html:

<link rel="stylesheet" href="" />
<script src=""></script>
  CodeStatsEmbed("ContainerSelector", "username");

or download the files from dist folder.

📝 Documentation

CodeStatsEmbed("ContainerSelector", "username");

Brings the stadistics from Code::Stats (provided username) into your page.


  • String|HTMLElement container: The calendar container (query selector or the element itself).
  • String username: The Code::Stats username.

💖 Thanks

  • Part of the CSS and JS code was taken from the offical project of Code::Stats in GitLab (
  • To Mikko Ahlroth from Code::Stats for creating such great service.

📜 License

Permissions of this strong copyleft license are conditioned on making available complete source code of licensed works and modifications, which include larger works using a licensed work, under the same license. Copyright and license notices must be preserved. Contributors provide an express grant of patent rights.

You can’t perform that action at this time.