Skip to content

NF-coder/stats-badge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stats badge

Simple github profile languages stats badges.
The project automatically generates a new personal badge every 2 hours.

Quick start

To use this project you should:

  1. Fork it
  2. Go to Settings -> Github Pages and change souce to GitHub Actions
Снимок экрана от 2025-11-15 21-22-09
  1. Then go to Actions and click I understand my workflows, go ahead and enable them
Снимок экрана от 2025-11-15 21-28-24
  1. Then enable Update SVG and Deploy to Pages action and run it (you should to do this only first time)
Снимок экрана от 2025-11-15 21-28-43 Снимок экрана от 2025-11-15 21-28-55

Then you can use it with

<img src="https://your-gh-page-url/out.svg">

Configuring

Example config u can see in setting.yaml

general:
  top_k: 4                      # how many sections will be on donut-chart (including "Other" section)
  plane:
    height: 140                 # height of svg
    width: 250                  # width of svg
  coloring:
    type: "github"              # type of coloring (github or oklch available)
    other_color: "#666666"      # color of "Other" section
  # coloring:
  #   type: "oklch"             # type of coloring (github or oklch available)
  #   chroma: 0.099             # coloring oklch chroma
  #   lightness: 0.636          # coloring oklch lightness
  #   other_color: "#666666"    # color of "Other" section
  excluded_languages:           # list of languages that should be excluded
    - Jupyter Notebook          # removed because jupyter files are too large

legend:
  margin_x: 140                 # margin of legend (x-axis)
  margin_y: 30                  # margin of legend (y-axis)
  space_between_captions: 22    # space between legend options
  font_color: "#c1c1c1"         # font color

diagram:
  outer_radius: 55              # outer circle radius
  thickness: 12                 # size of donut-chart
  margin_x: 20                  # margin of diagram (x-axis)
  margin_y: 15                  # margin of diagram (y-axis)

About oklch u can read here

About

Simple languages stats budge for your profile

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published