Github repository: https://github.com/byjokese/code-stats-embedded/
Embed your Code::Stats profile anywhere
Everybody loves stats. So why not to share them where ever you want?
Add the following code to your html:
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/byjokese/code-stats-embedded@latest/dist/codestatsembedded.min.css" /> <script src="https://cdn.jsdelivr.net/gh/byjokese/code-stats-embedded@latest/dist/codestatsembedded.min.js"></script> <script> CodeStatsEmbed("ContainerSelector", "username"); </script>
or download the files from
Brings the stadistics from Code::Stats (provided username) into your page.
container: The calendar container (query selector or the element itself).
username: The Code::Stats username.
- Part of the CSS and JS code was taken from the offical project of Code::Stats in GitLab (https://gitlab.com/code-stats/code-stats).
- To Mikko Ahlroth from Code::Stats for creating such great service.
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.