DEV Community

YOGESHWARAN R
YOGESHWARAN R

Posted on • Edited on

Dynamically Generate GitHub Stats SVG like Terminal for your Readme

GitHub Stats Terminal Style

Dynamically Generate GitHub Stats as like Terminal Interface

Usage

  1. Create a New Repository using by click here to create.
  2. Create the personal Access token. Check this link to create personal access token.
  3. Add a New Repository secret to your repo. Name of the secret is must be GHT and valve is your personal access token. Checkout this link to add new repository secret.

The File github_stats.svg is svg image of your github stats. you can copy the link of the image and use it any where. By default it update daily at 2:47 UTC you can also can this by change the cron in /.github/workflows/main.yml by using Cron Generator.

Themes

Now only Nine themes are only available.

By default it ubuntu theme.

you can change the theme by change the command in file /.github/workflows/main.yml

change

node updater.js ${{ github.repository_owner }}
Enter fullscreen mode Exit fullscreen mode

to this

node updater.js ${{ github.repository_owner }} <themeName>
Enter fullscreen mode Exit fullscreen mode

Github Link

Contributions, issue and pull requests are welcome

Made With Javascript ❤️

Top comments (0)