- Регистрация
- 1 Мар 2015
- Сообщения
- 1,481
- Баллы
- 155
Do you want your GitHub profile to update itself with your latest stats, contributions, and language usage — and actually look good doing it?
This tutorial shows you how to create a fully automated GitHub profile README using with custom SVGs and GitHub Actions.
What You’ll Build
If you don’t already have one:
Replace with your GitHub username
git init yourusername
cd yourusername
touch README.md
git remote add origin git@github.com:yourusername/yourusername.git
Step 2: Set Up GitHub Metrics
Go to lowlighter/metrics.
Create a workflow file at .github/workflows/metrics.yml and paste the following:
name: Metrics
on:
schedule: [{cron: "0 0 * * *"}] # Runs daily
workflow_dispatch:
jobs:
github-metrics:
runs-on: ubuntu-latest
steps:
- uses: lowlighter/metrics@latest
with:
filename: general.svg
token: ${{ secrets.METRICS_TOKEN }}
base: header, activity, community, repositories
config_timezone: America/Bogota
plugin_languages: yes
plugin_languages_ignored: html
plugin_lines: yes
plugin_followup: yes
(this is an example of my configuration, adjust it to your city)
Step 3: Create a Personal Access Token

Replace yourusername with your actual GitHub handle.
Step 5: Customize Your Metrics
You can change everything: layout, color scheme, plugins, transparency, and more.
Explore the full configuration options here:
?
Some cool plugin ideas:
Drop a link to your GitHub profile below ?
Let’s see what your metrics look like!
This tutorial shows you how to create a fully automated GitHub profile README using with custom SVGs and GitHub Actions.
What You’ll Build
- A SVG image with your GitHub stats (commits, PRs, languages, etc.)
- A README.md that displays those stats beautifully
- A GitHub Action that runs daily, no manual updates
- Fully customizable layout, colors, and metrics
If you don’t already have one:
Replace with your GitHub username
git init yourusername
cd yourusername
touch README.md
git remote add origin git@github.com:yourusername/yourusername.git
Step 2: Set Up GitHub Metrics
Go to lowlighter/metrics.
Create a workflow file at .github/workflows/metrics.yml and paste the following:
name: Metrics
on:
schedule: [{cron: "0 0 * * *"}] # Runs daily
workflow_dispatch:
jobs:
github-metrics:
runs-on: ubuntu-latest
steps:
- uses: lowlighter/metrics@latest
with:
filename: general.svg
token: ${{ secrets.METRICS_TOKEN }}
base: header, activity, community, repositories
config_timezone: America/Bogota
plugin_languages: yes
plugin_languages_ignored: html
plugin_lines: yes
plugin_followup: yes
(this is an example of my configuration, adjust it to your city)
Step 3: Create a Personal Access Token
- Go to Settings > Developer Settings > Personal Access Tokens > Tokens (classic)
- Generate a new token with repo and read:user permissions
- Save it as a secret in your profile repo underSettings > Secrets and variables > Actions
- Add a new secret with the name: METRICS_TOKEN

Replace yourusername with your actual GitHub handle.
Step 5: Customize Your Metrics
You can change everything: layout, color scheme, plugins, transparency, and more.
Explore the full configuration options here:
?
Some cool plugin ideas:
- plugin_music(for your Last.fm or Spotify activity)
- plugin_habits(your GitHub contribution habits)
- plugin_stargazers(who starred your repos)
- Shows your GitHub activity
- Looks clean and professional
- Requires zero maintenance
Drop a link to your GitHub profile below ?
Let’s see what your metrics look like!