Skip to content

Instantly share code, notes, and snippets.

@casperdcl
Last active October 25, 2025 00:41
Show Gist options
  • Save casperdcl/aac90b8313a905e146459c81cabade7d to your computer and use it in GitHub Desktop.
Save casperdcl/aac90b8313a905e146459c81cabade7d 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.25108939372758" height="8" fill="#3572A5"/>
<text x="0" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(0, 0, 16)"
>Python 127k</text>
<rect mask="url(#ghstat-bar)" x="80.25108939372758" y="0"
width="79.71568274151636" height="8" fill="#ff7f0e"/>
<text x="80.25108939372758" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(0, 80.25108939372758, 16)"
>html 125k</text>
<rect mask="url(#ghstat-bar)" x="159.96677213524396" y="0"
width="56.080122257090444" height="8" fill="#f34b7d"/>
<text x="159.96677213524396" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 159.96677213524396, 16)"
>C++ 61.8k</text>
<rect mask="url(#ghstat-bar)" x="216.0468943923344" y="0"
width="42.855656780047205" height="8" fill="#083fa1"/>
<text x="216.0468943923344" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 216.0468943923344, 16)"
>Markdown 36.1k</text>
<rect mask="url(#ghstat-bar)" x="258.9025511723816" y="0"
width="40.90415352551969" height="8" fill="#1f77b4"/>
<text x="258.9025511723816" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 258.9025511723816, 16)"
>json 32.9k</text>
<rect mask="url(#ghstat-bar)" x="299.8067046979013" y="0"
width="39.96781183205317" height="8" fill="#17becf"/>
<text x="299.8067046979013" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 299.8067046979013, 16)"
>Text 31.4k</text>
<rect mask="url(#ghstat-bar)" x="339.77451652995444" y="0"
width="34.59733168318672" height="8" fill="#bcbd22"/>
<text x="339.77451652995444" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 339.77451652995444, 16)"
>yml 23.5k</text>
<rect mask="url(#ghstat-bar)" x="374.37184821314116" y="0"
width="34.292985077329845" height="8" fill="#DA5B0B"/>
<text x="374.37184821314116" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 374.37184821314116, 16)"
>Jupyter Notebook 23.1k</text>
<rect mask="url(#ghstat-bar)" x="408.664833290471" y="0"
width="32.214787713662474" height="8" fill="#7f7f7f"/>
<text x="408.664833290471" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 408.664833290471, 16)"
>Matlab 20.4k</text>
<rect mask="url(#ghstat-bar)" x="440.87962100413347" y="0"
width="21.297403909720575" height="8" fill="#141414"/>
<text x="440.87962100413347" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 440.87962100413347, 16)"
>reStructuredText 8.91k</text>
<rect mask="url(#ghstat-bar)" x="462.17702491385404" y="0"
width="21.05589215591929" height="8" fill="#89e051"/>
<text x="462.17702491385404" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 462.17702491385404, 16)"
>Shell 8.71k</text>
<rect mask="url(#ghstat-bar)" x="483.23291706977335" y="0"
width="20.05444766141007" height="8" fill="#3A4E3A"/>
<text x="483.23291706977335" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 483.23291706977335, 16)"
>Cuda 7.90k</text>
<rect mask="url(#ghstat-bar)" x="503.2873647311834" y="0"
width="18.986896825665216" height="8" fill="#3D6117"/>
<text x="503.2873647311834" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 503.2873647311834, 16)"
>TeX 7.08k</text>
<rect mask="url(#ghstat-bar)" x="522.2742615568486" y="0"
width="17.912543564941448" height="8" fill="#DA3434"/>
<text x="522.2742615568486" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 522.2742615568486, 16)"
>CMake 6.30k</text>
<rect mask="url(#ghstat-bar)" x="540.1868051217901" y="0"
width="17.446230874220532" height="8" fill="#d1dbe0"/>
<text x="540.1868051217901" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 540.1868051217901, 16)"
>INI 5.98k</text>
<rect mask="url(#ghstat-bar)" x="557.6330359960107" y="0"
width="15.072205511822913" height="8" fill="#663399"/>
<text x="557.6330359960107" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 557.6330359960107, 16)"
>CSS 4.46k</text>
<rect mask="url(#ghstat-bar)" x="572.7052415078335" y="0"
width="14.206629979226982" height="8" fill="#f1e05a"/>
<text x="572.7052415078335" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 572.7052415078335, 16)"
>JavaScript 3.97k</text>
<rect mask="url(#ghstat-bar)" x="586.9118714870605" y="0"
width="13.03340468890061" height="8" fill="#e377c2"/>
<text x="586.9118714870605" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 586.9118714870605, 16)"
>yaml 3.34k</text>
<rect mask="url(#ghstat-bar)" x="599.9452761759611" y="0"
width="12.769119987034" height="8" fill="#384d54"/>
<text x="599.9452761759611" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 599.9452761759611, 16)"
>Dockerfile 3.20k</text>
<rect mask="url(#ghstat-bar)" x="612.7143961629952" y="0"
width="12.353867728281225" height="8" fill="#427819"/>
<text x="612.7143961629952" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 612.7143961629952, 16)"
>Makefile 3.00k</text>
<rect mask="url(#ghstat-bar)" x="625.0682638912764" y="0"
width="11.90066739087863" height="8" fill="#555555"/>
<text x="625.0682638912764" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 625.0682638912764, 16)"
>C 2.78k</text>
<rect mask="url(#ghstat-bar)" x="636.9689312821549" y="0"
width="10.858697407652876" height="8" fill="#778899"/>
<text x="636.9689312821549" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 636.9689312821549, 16)"
>BibTeX 2.32k</text>
<rect mask="url(#ghstat-bar)" x="647.8276286898079" y="0"
width="10.477068581333711" height="8" fill="#9c4221"/>
<text x="647.8276286898079" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 647.8276286898079, 16)"
>TOML 2.16k</text>
<rect mask="url(#ghstat-bar)" x="658.3046972711415" y="0"
width="9.339424658657174" height="8" fill="#5686a5"/>
<text x="658.3046972711415" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 658.3046972711415, 16)"
>GLSL 1.71k</text>
<rect mask="url(#ghstat-bar)" x="667.6441219297988" y="0"
width="8.121144069481726" height="8" fill="#8c564b"/>
<text x="667.6441219297988" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 667.6441219297988, 16)"
>DVC 1.30k</text>
<rect mask="url(#ghstat-bar)" x="675.7652659992805" y="0"
width="8.111739151364798" height="8" fill="#000000"/>
<text x="675.7652659992805" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 675.7652659992805, 16)"
>Ignore List 1.29k</text>
<rect mask="url(#ghstat-bar)" x="683.8770051506452" y="0"
width="7.801539361828208" height="8" fill="#2596be"/>
<text x="683.8770051506452" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 683.8770051506452, 16)"
>Graphviz (DOT) 1.20k</text>
<rect mask="url(#ghstat-bar)" x="691.6785445124734" y="0"
width="7.795013606305792" height="8" fill="#9467bd"/>
<text x="691.6785445124734" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 691.6785445124734, 16)"
>frag 1.19k</text>
<rect mask="url(#ghstat-bar)" x="699.4735581187792" y="0"
width="7.593284449221378" height="8" fill="#c6538c"/>
<text x="699.4735581187792" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 699.4735581187792, 16)"
>SCSS 1.13k</text>
<rect mask="url(#ghstat-bar)" x="707.0668425680007" y="0"
width="7.204681724258043" height="8" fill="#d62728"/>
<text x="707.0668425680007" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 707.0668425680007, 16)"
>csl 1.02k</text>
<rect mask="url(#ghstat-bar)" x="714.2715242922587" y="0"
width="6.534249218724722" height="8" fill="#ecdebe"/>
<text x="714.2715242922587" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 714.2715242922587, 16)"
>Roff 839</text>
<rect mask="url(#ghstat-bar)" x="720.8057735109834" y="0"
width="5.702498021582998" height="8" fill="#0060ac"/>
<text x="720.8057735109834" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 720.8057735109834, 16)"
>XML 639</text>
<rect mask="url(#ghstat-bar)" x="726.5082715325664" y="0"
width="5.689096127564054" height="8" fill="#2ca02c"/>
<text x="726.5082715325664" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 726.5082715325664, 16)"
>Unknown 636</text>
<rect mask="url(#ghstat-bar)" x="732.1973676601305" y="0"
width="4.937219901235988" height="8" fill="#ff7f0e"/>
<text x="732.1973676601305" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 732.1973676601305, 16)"
>tsx 479</text>
<rect mask="url(#ghstat-bar)" x="737.1345875613664" y="0"
width="4.584476385400987" height="8" fill="#b07219"/>
<text x="737.1345875613664" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 737.1345875613664, 16)"
>Java 413</text>
<rect mask="url(#ghstat-bar)" x="741.7190639467674" y="0"
width="4.003778020425015" height="8" fill="#1f77b4"/>
<text x="741.7190639467674" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 741.7190639467674, 16)"
>Interfile 315</text>
<rect mask="url(#ghstat-bar)" x="745.7228419671925" y="0"
width="3.8349846994774817" height="8" fill="#844FBA"/>
<text x="745.7228419671925" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 745.7228419671925, 16)"
>HCL 289</text>
<rect mask="url(#ghstat-bar)" x="749.5578266666699" y="0"
width="3.7545215268062577" height="8" fill="#17becf"/>
<text x="749.5578266666699" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 749.5578266666699, 16)"
>SWIG 277</text>
<rect mask="url(#ghstat-bar)" x="753.3123481934762" y="0"
width="3.5881862263965614" height="8" fill="#02303a"/>
<text x="753.3123481934762" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 753.3123481934762, 16)"
>Gradle 253</text>
<rect mask="url(#ghstat-bar)" x="756.9005344198728" y="0"
width="3.58108792819595" height="8" fill="#fedf5b"/>
<text x="756.9005344198728" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 756.9005344198728, 16)"
>Cython 252</text>
<rect mask="url(#ghstat-bar)" x="760.4816223480688" y="0"
width="3.237787368131829" height="8" fill="#C1F12E"/>
<text x="760.4816223480688" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 760.4816223480688, 16)"
>Batchfile 206</text>
<rect mask="url(#ghstat-bar)" x="763.7194097162005" y="0"
width="3.0848604134450888" height="8" fill="#cb171e"/>
<text x="763.7194097162005" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 763.7194097162005, 16)"
>YAML 187</text>
<rect mask="url(#ghstat-bar)" x="766.8042701296456" y="0"
width="2.8801062949986775" height="8" fill="#F44D27"/>
<text x="766.8042701296456" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 766.8042701296456, 16)"
>Git Config 163</text>
<rect mask="url(#ghstat-bar)" x="769.6843764246443" y="0"
width="2.826601209138567" height="8" fill="#bcbd22"/>
<text x="769.6843764246443" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 769.6843764246443, 16)"
>spec 157</text>
<rect mask="url(#ghstat-bar)" x="772.5109776337829" y="0"
width="2.8085396746069202" height="8" fill="#7f7f7f"/>
<text x="772.5109776337829" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 772.5109776337829, 16)"
>submodule 155</text>
<rect mask="url(#ghstat-bar)" x="775.3195173083898" y="0"
width="2.7628693191472116" height="8" fill="#F44D27"/>
<text x="775.3195173083898" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 775.3195173083898, 16)"
>Git Attributes 150</text>
<rect mask="url(#ghstat-bar)" x="778.082386627537" y="0"
width="2.5018845771221505" height="8" fill="#5e5086"/>
<text x="778.082386627537" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 778.082386627537, 16)"
>Haskell 123</text>
<rect mask="url(#ghstat-bar)" x="780.5842712046591" y="0"
width="2.440100113162221" height="8" fill="#fcb32c"/>
<text x="780.5842712046591" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 780.5842712046591, 16)"
>MDX 117</text>
<rect mask="url(#ghstat-bar)" x="783.0243713178214" y="0"
width="2.2558733526338126" height="8" fill="#292929"/>
<text x="783.0243713178214" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 783.0243713178214, 16)"
>JSON with Comments 100</text>
<rect mask="url(#ghstat-bar)" x="785.2802446704552" y="0"
width="2.221777586895146" height="8" fill="#4F5D95"/>
<text x="785.2802446704552" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 785.2802446704552, 16)"
>PHP 97</text>
<rect mask="url(#ghstat-bar)" x="787.5020222573503" y="0"
width="2.042780203096046" height="8" fill="#00ADD8"/>
<text x="787.5020222573503" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 787.5020222573503, 16)"
>Go 82</text>
<rect mask="url(#ghstat-bar)" x="789.5448024604464" y="0"
width="1.7762764541412064" height="8" fill="#e377c2"/>
<text x="789.5448024604464" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 789.5448024604464, 16)"
>t 62</text>
<rect mask="url(#ghstat-bar)" x="791.3210789145876" y="0"
width="1.4444637340828466" height="8" fill="#8c564b"/>
<text x="791.3210789145876" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 791.3210789145876, 16)"
>MD5Sum 41</text>
<rect mask="url(#ghstat-bar)" x="792.7655426486705" y="0"
width="1.1502742245273787" height="8" fill="#9467bd"/>
<text x="792.7655426486705" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 792.7655426486705, 16)"
>CODEOWNERS 26</text>
<rect mask="url(#ghstat-bar)" x="793.9158168731979" y="0"
width="1.081878853716239" height="8" fill="#d62728"/>
<text x="793.9158168731979" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 793.9158168731979, 16)"
>VTC 23</text>
<rect mask="url(#ghstat-bar)" x="794.997695726914" y="0"
width="1.081878853716239" height="8" fill="#2ca02c"/>
<text x="794.997695726914" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 794.997695726914, 16)"
>properties 23</text>
<rect mask="url(#ghstat-bar)" x="796.0795745806303" y="0"
width="0.9301204110925446" height="8" fill="#ff7f0e"/>
<text x="796.0795745806303" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 796.0795745806303, 16)"
>pro 17</text>
<rect mask="url(#ghstat-bar)" x="797.0096949917229" y="0"
width="0.8440705193508802" height="8" fill="#012456"/>
<text x="797.0096949917229" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 797.0096949917229, 16)"
>PowerShell 14</text>
<rect mask="url(#ghstat-bar)" x="797.8537655110737" y="0"
width="0.5525738638294423" height="8" fill="#009a00"/>
<text x="797.8537655110737" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 797.8537655110737, 16)"
>Regular Expression 6</text>
<rect mask="url(#ghstat-bar)" x="798.4063393749032" y="0"
width="0.5044286165119559" height="8" fill="#e5d559"/>
<text x="798.4063393749032" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 798.4063393749032, 16)"
>Dotenv 5</text>
<rect mask="url(#ghstat-bar)" x="798.9107679914151" y="0"
width="0.4511746705267626" height="8" fill="#F44D27"/>
<text x="798.9107679914151" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 798.9107679914151, 16)"
>Git Revision List 4</text>
<rect mask="url(#ghstat-bar)" x="799.3619426619418" y="0"
width="0.31902866902908017" height="8" fill="#a52a22"/>
<text x="799.3619426619418" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 799.3619426619418, 16)"
>Jinja 2</text>
<rect mask="url(#ghstat-bar)" x="799.6809713309709" y="0"
width="0.31902866902908017" height="8" fill="#1f77b4"/>
<text x="799.6809713309709" y="16" font-family="Monospace" font-size="8" fill="black"
transform="rotate(25, 799.6809713309709, 16)"
>ts 2</text>
</svg>
@casperdcl
Copy link
Author

  • 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

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