Skip to content

Commit 81f71b8

Browse files
committed
feat: update README to use local metrics images and add GitHub metrics workflow
1 parent c9ccd33 commit 81f71b8

2 files changed

Lines changed: 39 additions & 2 deletions

File tree

.github/workflows/metrics.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: GitHub Metrics
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * *"
6+
workflow_dispatch:
7+
push:
8+
branches:
9+
- main
10+
11+
jobs:
12+
github-metrics:
13+
runs-on: ubuntu-latest
14+
permissions:
15+
contents: write
16+
steps:
17+
- name: General Stats
18+
uses: lowlighter/metrics@latest
19+
with:
20+
filename: metrics/github-stats.svg
21+
token: ${{ secrets.GITHUB_TOKEN }}
22+
user: hmmhmmhm
23+
base: header, activity, community, repositories
24+
config_timezone: Asia/Seoul
25+
config_display: large
26+
27+
- name: Most Used Languages
28+
uses: lowlighter/metrics@latest
29+
with:
30+
filename: metrics/languages.svg
31+
token: ${{ secrets.GITHUB_TOKEN }}
32+
user: hmmhmmhm
33+
base: ""
34+
plugin_languages: yes
35+
plugin_languages_layout: compact
36+
plugin_languages_threshold: 2%
37+
config_timezone: Asia/Seoul

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
### Self-introduction
66

7-
<img align='right' src="https://github-readme-stats.vercel.app/api?username=hmmhmmhm&show_icons=true&theme=dracula&hide_border=true" width="400px">
7+
<img align='right' src="./metrics/github-stats.svg" width="400px">
88

99
- 🌐 I'm currently working as a Web Frontend Developer and I'm aiming to a full stack. (I also like Prisma and mysql.)
1010
- 🧳 I am currently using React and Next.js at work.
@@ -18,7 +18,7 @@
1818
- 🍡 Supabase and Upstash based Prisma, MySQL, Redis
1919
- 🍧 Figma based MUI, Rive, Blueprint.js, Figjam, Spline
2020

21-
<img align='right' src="https://github-readme-stats.vercel.app/api/top-langs/?username=hmmhmmhm&show_icons=true&theme=dracula&layout=compact&hide_border=true" width="400px">
21+
<img align='right' src="./metrics/languages.svg" width="400px">
2222

2323
### Hobby list
2424

0 commit comments

Comments
 (0)