Skip to content

Instantly share code, notes, and snippets.

@casperdcl
Last active October 23, 2025 08:36
Show Gist options
  • Save casperdcl/7f351ce61f01cfcfb5cfa53097954435 to your computer and use it in GitHub Desktop.
Save casperdcl/7f351ce61f01cfcfb5cfa53097954435 to your computer and use it in GitHub Desktop.
lines of code written stats
Display the source blob
Display the rendered blob
Raw
<svg class="bar" xmlns="http://www.w3.org/2000/svg"
width="800" height="66.66666666666666">
<mask id="ghstat-bar">
<rect x="0" y="0" width="800" height="8" fill="white" rx="5"/>
</mask>
<rect x="0" y="0" width="800" height="66.66666666666666"
fill="white" fill-opacity="0.5" rx="5"/>
<rect mask="url(#ghstat-bar)" x="0" y="0"
width="80.25957644465683" height="8" fill="#3572A5"/>
<text x="0" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(0, 0, 16)"
>Python 126k</text>
<rect mask="url(#ghstat-bar)" x="80.25957644465683" y="0"
width="79.77834555078879" height="8" fill="#ff7f0e"/>
<text x="80.25957644465683" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(0, 80.25957644465683, 16)"
>html 125k</text>
<rect mask="url(#ghstat-bar)" x="160.03792199544563" y="0"
width="56.12420565303106" height="8" fill="#f34b7d"/>
<text x="160.03792199544563" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 160.03792199544563, 16)"
>C++ 61.8k</text>
<rect mask="url(#ghstat-bar)" x="216.16212764847668" y="0"
width="42.85902979830271" height="8" fill="#083fa1"/>
<text x="216.16212764847668" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 216.16212764847668, 16)"
>Markdown 36.0k</text>
<rect mask="url(#ghstat-bar)" x="259.0211574467794" y="0"
width="40.93630741397262" height="8" fill="#1f77b4"/>
<text x="259.0211574467794" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 259.0211574467794, 16)"
>json 32.9k</text>
<rect mask="url(#ghstat-bar)" x="299.957464860752" y="0"
width="39.999229682139074" height="8" fill="#17becf"/>
<text x="299.957464860752" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 299.957464860752, 16)"
>Text 31.4k</text>
<rect mask="url(#ghstat-bar)" x="339.95669454289106" y="0"
width="34.45778264235099" height="8" fill="#bcbd22"/>
<text x="339.95669454289106" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 339.95669454289106, 16)"
>yml 23.3k</text>
<rect mask="url(#ghstat-bar)" x="374.41447718524205" y="0"
width="34.319942066336026" height="8" fill="#DA5B0B"/>
<text x="374.41447718524205" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 374.41447718524205, 16)"
>Jupyter Notebook 23.1k</text>
<rect mask="url(#ghstat-bar)" x="408.7344192515781" y="0"
width="32.2401110757517" height="8" fill="#7f7f7f"/>
<text x="408.7344192515781" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 408.7344192515781, 16)"
>Matlab 20.4k</text>
<rect mask="url(#ghstat-bar)" x="440.9745303273298" y="0"
width="21.312949636767186" height="8" fill="#141414"/>
<text x="440.9745303273298" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 440.9745303273298, 16)"
>reStructuredText 8.91k</text>
<rect mask="url(#ghstat-bar)" x="462.287479964097" y="0"
width="21.0615564073653" height="8" fill="#89e051"/>
<text x="462.287479964097" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 462.287479964097, 16)"
>Shell 8.70k</text>
<rect mask="url(#ghstat-bar)" x="483.34903637146226" y="0"
width="20.070212037824504" height="8" fill="#3A4E3A"/>
<text x="483.34903637146226" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 483.34903637146226, 16)"
>Cuda 7.90k</text>
<rect mask="url(#ghstat-bar)" x="503.4192484092868" y="0"
width="19.0018220229858" height="8" fill="#3D6117"/>
<text x="503.4192484092868" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 503.4192484092868, 16)"
>TeX 7.08k</text>
<rect mask="url(#ghstat-bar)" x="522.4210704322726" y="0"
width="17.84683597173663" height="8" fill="#DA3434"/>
<text x="522.4210704322726" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 522.4210704322726, 16)"
>CMake 6.25k</text>
<rect mask="url(#ghstat-bar)" x="540.2679064040092" y="0"
width="17.459944986678668" height="8" fill="#d1dbe0"/>
<text x="540.2679064040092" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 540.2679064040092, 16)"
>INI 5.98k</text>
<rect mask="url(#ghstat-bar)" x="557.7278513906879" y="0"
width="15.084053453241978" height="8" fill="#663399"/>
<text x="557.7278513906879" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 557.7278513906879, 16)"
>CSS 4.46k</text>
<rect mask="url(#ghstat-bar)" x="572.8119048439298" y="0"
width="14.217797510058762" height="8" fill="#f1e05a"/>
<text x="572.8119048439298" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 572.8119048439298, 16)"
>JavaScript 3.97k</text>
<rect mask="url(#ghstat-bar)" x="587.0297023539886" y="0"
width="12.854715669749023" height="8" fill="#e377c2"/>
<text x="587.0297023539886" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 587.0297023539886, 16)"
>yaml 3.24k</text>
<rect mask="url(#ghstat-bar)" x="599.8844180237377" y="0"
width="12.779157521717341" height="8" fill="#384d54"/>
<text x="599.8844180237377" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 599.8844180237377, 16)"
>Dockerfile 3.20k</text>
<rect mask="url(#ghstat-bar)" x="612.6635755454549" y="0"
width="12.363578841961884" height="8" fill="#427819"/>
<text x="612.6635755454549" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 612.6635755454549, 16)"
>Makefile 3.00k</text>
<rect mask="url(#ghstat-bar)" x="625.0271543874169" y="0"
width="11.91002225337598" height="8" fill="#555555"/>
<text x="625.0271543874169" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 625.0271543874169, 16)"
>C 2.78k</text>
<rect mask="url(#ghstat-bar)" x="636.9371766407928" y="0"
width="10.867233199622557" height="8" fill="#778899"/>
<text x="636.9371766407928" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 636.9371766407928, 16)"
>BibTeX 2.32k</text>
<rect mask="url(#ghstat-bar)" x="647.8044098404154" y="0"
width="10.478010257297646" height="8" fill="#9c4221"/>
<text x="647.8044098404154" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 647.8044098404154, 16)"
>TOML 2.15k</text>
<rect mask="url(#ghstat-bar)" x="658.282420097713" y="0"
width="9.346766182507599" height="8" fill="#5686a5"/>
<text x="658.282420097713" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 658.282420097713, 16)"
>GLSL 1.71k</text>
<rect mask="url(#ghstat-bar)" x="667.6291862802207" y="0"
width="8.127527928772626" height="8" fill="#8c564b"/>
<text x="667.6291862802207" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 667.6291862802207, 16)"
>DVC 1.30k</text>
<rect mask="url(#ghstat-bar)" x="675.7567142089932" y="0"
width="8.114975754596689" height="8" fill="#000000"/>
<text x="675.7567142089932" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 675.7567142089932, 16)"
>Ignore List 1.29k</text>
<rect mask="url(#ghstat-bar)" x="683.8716899635899" y="0"
width="7.807671986629865" height="8" fill="#2596be"/>
<text x="683.8716899635899" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 683.8716899635899, 16)"
>Graphviz (DOT) 1.20k</text>
<rect mask="url(#ghstat-bar)" x="691.6793619502198" y="0"
width="7.801141101349293" height="8" fill="#9467bd"/>
<text x="691.6793619502198" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 691.6793619502198, 16)"
>frag 1.19k</text>
<rect mask="url(#ghstat-bar)" x="699.4805030515691" y="0"
width="7.599253369248517" height="8" fill="#c6538c"/>
<text x="699.4805030515691" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 699.4805030515691, 16)"
>SCSS 1.13k</text>
<rect mask="url(#ghstat-bar)" x="707.0797564208176" y="0"
width="7.210345171916387" height="8" fill="#d62728"/>
<text x="707.0797564208176" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 707.0797564208176, 16)"
>csl 1.02k</text>
<rect mask="url(#ghstat-bar)" x="714.290101592734" y="0"
width="6.539385653594874" height="8" fill="#ecdebe"/>
<text x="714.290101592734" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 714.290101592734, 16)"
>Roff 839</text>
<rect mask="url(#ghstat-bar)" x="720.8294872463289" y="0"
width="5.706980634459332" height="8" fill="#0060ac"/>
<text x="720.8294872463289" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 720.8294872463289, 16)"
>XML 639</text>
<rect mask="url(#ghstat-bar)" x="726.5364678807882" y="0"
width="5.671143666979342" height="8" fill="#2ca02c"/>
<text x="726.5364678807882" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 726.5364678807882, 16)"
>Unknown 631</text>
<rect mask="url(#ghstat-bar)" x="732.2076115477676" y="0"
width="4.941100945195812" height="8" fill="#ff7f0e"/>
<text x="732.2076115477676" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 732.2076115477676, 16)"
>tsx 479</text>
<rect mask="url(#ghstat-bar)" x="737.1487124929633" y="0"
width="4.5880801451565665" height="8" fill="#b07219"/>
<text x="737.1487124929633" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 737.1487124929633, 16)"
>Java 413</text>
<rect mask="url(#ghstat-bar)" x="741.7367926381199" y="0"
width="4.006925305499102" height="8" fill="#1f77b4"/>
<text x="741.7367926381199" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 741.7367926381199, 16)"
>Interfile 315</text>
<rect mask="url(#ghstat-bar)" x="745.743717943619" y="0"
width="3.8379992996981844" height="8" fill="#844FBA"/>
<text x="745.743717943619" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 745.743717943619, 16)"
>HCL 289</text>
<rect mask="url(#ghstat-bar)" x="749.5817172433173" y="0"
width="3.7574728766316916" height="8" fill="#17becf"/>
<text x="749.5817172433173" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 749.5817172433173, 16)"
>SWIG 277</text>
<rect mask="url(#ghstat-bar)" x="753.339190119949" y="0"
width="3.591006823566478" height="8" fill="#02303a"/>
<text x="753.339190119949" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 753.339190119949, 16)"
>Gradle 253</text>
<rect mask="url(#ghstat-bar)" x="756.9301969435154" y="0"
width="3.583902945544042" height="8" fill="#fedf5b"/>
<text x="756.9301969435154" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 756.9301969435154, 16)"
>Cython 252</text>
<rect mask="url(#ghstat-bar)" x="760.5140998890595" y="0"
width="3.1767904237933497" height="8" fill="#C1F12E"/>
<text x="760.5140998890595" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 760.5140998890595, 16)"
>Batchfile 198</text>
<rect mask="url(#ghstat-bar)" x="763.6908903128528" y="0"
width="3.0872853568573735" height="8" fill="#cb171e"/>
<text x="763.6908903128528" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 763.6908903128528, 16)"
>YAML 187</text>
<rect mask="url(#ghstat-bar)" x="766.7781756697102" y="0"
width="2.8823702855365623" height="8" fill="#F44D27"/>
<text x="766.7781756697102" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 766.7781756697102, 16)"
>Git Config 163</text>
<rect mask="url(#ghstat-bar)" x="769.6605459552468" y="0"
width="2.828823140462066" height="8" fill="#bcbd22"/>
<text x="769.6605459552468" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 769.6605459552468, 16)"
>spec 157</text>
<rect mask="url(#ghstat-bar)" x="772.4893690957088" y="0"
width="2.8107474081407924" height="8" fill="#7f7f7f"/>
<text x="772.4893690957088" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 772.4893690957088, 16)"
>submodule 155</text>
<rect mask="url(#ghstat-bar)" x="775.3001165038496" y="0"
width="2.7650411521822713" height="8" fill="#F44D27"/>
<text x="775.3001165038496" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 775.3001165038496, 16)"
>Git Attributes 150</text>
<rect mask="url(#ghstat-bar)" x="778.0651576560318" y="0"
width="2.50385125558097" height="8" fill="#5e5086"/>
<text x="778.0651576560318" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 778.0651576560318, 16)"
>Haskell 123</text>
<rect mask="url(#ghstat-bar)" x="780.5690089116129" y="0"
width="2.442018224162945" height="8" fill="#fcb32c"/>
<text x="780.5690089116129" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 780.5690089116129, 16)"
>MDX 117</text>
<rect mask="url(#ghstat-bar)" x="783.0110271357757" y="0"
width="2.257646646881285" height="8" fill="#292929"/>
<text x="783.0110271357757" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 783.0110271357757, 16)"
>JSON with Comments 100</text>
<rect mask="url(#ghstat-bar)" x="785.2686737826571" y="0"
width="2.2235240791835555" height="8" fill="#4F5D95"/>
<text x="785.2686737826571" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 785.2686737826571, 16)"
>PHP 97</text>
<rect mask="url(#ghstat-bar)" x="787.4921978618406" y="0"
width="2.044385989333456" height="8" fill="#00ADD8"/>
<text x="787.4921978618406" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 787.4921978618406, 16)"
>Go 82</text>
<rect mask="url(#ghstat-bar)" x="789.5365838511741" y="0"
width="1.77767274742796" height="8" fill="#e377c2"/>
<text x="789.5365838511741" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 789.5365838511741, 16)"
>t 62</text>
<rect mask="url(#ghstat-bar)" x="791.314256598602" y="0"
width="1.4455991964204555" height="8" fill="#8c564b"/>
<text x="791.314256598602" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 791.314256598602, 16)"
>MD5Sum 41</text>
<rect mask="url(#ghstat-bar)" x="792.7598557950225" y="0"
width="1.151178430724499" height="8" fill="#9467bd"/>
<text x="792.7598557950225" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 792.7598557950225, 16)"
>CODEOWNERS 26</text>
<rect mask="url(#ghstat-bar)" x="793.911034225747" y="0"
width="1.0827292957614525" height="8" fill="#d62728"/>
<text x="793.911034225747" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 793.911034225747, 16)"
>VTC 23</text>
<rect mask="url(#ghstat-bar)" x="794.9937635215084" y="0"
width="1.0827292957614525" height="8" fill="#2ca02c"/>
<text x="794.9937635215084" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 794.9937635215084, 16)"
>properties 23</text>
<rect mask="url(#ghstat-bar)" x="796.0764928172699" y="0"
width="0.9308515590413075" height="8" fill="#ff7f0e"/>
<text x="796.0764928172699" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 796.0764928172699, 16)"
>pro 17</text>
<rect mask="url(#ghstat-bar)" x="797.0073443763112" y="0"
width="0.844734025302878" height="8" fill="#012456"/>
<text x="797.0073443763112" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 797.0073443763112, 16)"
>PowerShell 14</text>
<rect mask="url(#ghstat-bar)" x="797.8520784016141" y="0"
width="0.5530082304364543" height="8" fill="#009a00"/>
<text x="797.8520784016141" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 797.8520784016141, 16)"
>Regular Expression 6</text>
<rect mask="url(#ghstat-bar)" x="798.4050866320505" y="0"
width="0.5048251371601017" height="8" fill="#e5d559"/>
<text x="798.4050866320505" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 798.4050866320505, 16)"
>Dotenv 5</text>
<rect mask="url(#ghstat-bar)" x="798.9099117692107" y="0"
width="0.451529329376257" height="8" fill="#F44D27"/>
<text x="798.9099117692107" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 798.9099117692107, 16)"
>Git Revision List 4</text>
<rect mask="url(#ghstat-bar)" x="799.3614410985869" y="0"
width="0.3192794507065655" height="8" fill="#a52a22"/>
<text x="799.3614410985869" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 799.3614410985869, 16)"
>Jinja 2</text>
<rect mask="url(#ghstat-bar)" x="799.6807205492935" y="0"
width="0.3192794507065655" height="8" fill="#1f77b4"/>
<text x="799.6807205492935" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 799.6807205492935, 16)"
>ts 2</text>
</svg>
@casperdcl
Copy link
Author

casperdcl commented Dec 16, 2020

  • Only includes FOSS contributions on GitHub default branches
    • no unmerged branches
    • no closed source
    • no other Git hosts
  • A lot of the HTML would've been procedurally generated but the rest of the stats are underestimates
  • Updated daily
  • Created mostly due to sourcerer-io/sourcerer-app#632
  • Updated daily via casperdcl/ghstat

@casperdcl
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment