项目作者: byjokese

项目描述 :
Code Stats Embedded for codestats.net
高级语言: JavaScript
项目地址: git://github.com/byjokese/code-stats-embedded.git
创建时间: 2019-04-12T11:08:09Z
项目社区:https://github.com/byjokese/code-stats-embedded

开源协议:GNU General Public License v3.0

下载


code-stats-embeded

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:

  1. <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/byjokese/code-stats-embedded@latest/dist/codestatsembedded.min.css" />
  2. <script src="https://cdn.jsdelivr.net/gh/byjokese/code-stats-embedded@latest/dist/codestatsembedded.min.js"></script>
  3. <script>
  4. CodeStatsEmbed("ContainerSelector", "username");
  5. </script>

or download the files from dist folder.

📝 Documentation

CodeStatsEmbed("ContainerSelector", "username");

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

Params

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

💖 Thanks

📜 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.