From c4e55b66cf9da1dbca8ba291d82f0c46196da1e5 Mon Sep 17 00:00:00 2001 From: andatoshiki Date: Mon, 5 Dec 2022 18:41:49 +0800 Subject: [PATCH] fix: update new self-hosted wakatime metrics ci --- .github/workflows/waka.yml | 26 +++----- README.md | 121 ++++++++----------------------------- 2 files changed, 35 insertions(+), 112 deletions(-) diff --git a/.github/workflows/waka.yml b/.github/workflows/waka.yml index db0c2d0..0c258b3 100644 --- a/.github/workflows/waka.yml +++ b/.github/workflows/waka.yml @@ -1,25 +1,19 @@ -name: Update wakatime metrics to README section +name: waka2readme on: + workflow_dispatch: # for manual workflow trigger schedule: - - cron: '0 */12 * * *' - workflow_dispatch: - push: + - cron: "0 0 * * *" # runs at every 12AM UTC + jobs: update-readme: - name: Update Readme with Metrics + name: Update latest wakatime metrics to README runs-on: ubuntu-latest steps: - - uses: anmol098/waka-readme-stats@master + - uses: toshikidev/waka2readme@master with: WAKATIME_API_KEY: ${{ secrets.WAKATIME_API_KEY }} - GH_TOKEN: ${{ secrets.GH_TOKEN }} - SHOW_LOC_CHART: false - SHOW_SHORT_INFO: false - SHOW_TIMEZONE: false - COMMIT_BY_ME: true - COMMIT_MESSAGE: "chore(metrics): update latest development metrics to readme" - COMMIT_USERNAME: "@andatoshiki" - COMMIT_EMAIL: "101481353+andatoshiki@users.noreply.github.com" - SHOW_LINES_OF_CODE: true - SHOW_TOTAL_CODE_TIME: true \ No newline at end of file + # following flags are required, only if this is not on + # profile readme, remove the leading `#` to use them + #GH_TOKEN: ${{ secrets.GH_TOKEN }} + #REPOSITORY: \ No newline at end of file diff --git a/README.md b/README.md index 2d68111..9e00ad5 100644 --- a/README.md +++ b/README.md @@ -1,108 +1,37 @@ - -header banner - - -# d - -logo - -> The all-in-one crawler/scraper for crunching free proxy nodes of SS, SSR, vmess, trojan! - -dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd3 - -

- andatoshiki's profile readme stats -

- -

- andatoshiki's dynamic github language stats -

- -## Development metrics - -📊 Wakatime weekly development breakdown - - -![Code Time](http://img.shields.io/badge/Code%20Time-348%20hrs%2044%20mins-blue) + +header banner + -![Profile Views](http://img.shields.io/badge/Profile%20Views-46-blue) +## d -![Lines of code](https://img.shields.io/badge/From%20Hello%20World%20I%27ve%20Written-3%20Million%20lines%20of%20code-blue) +logo -**I'm a Night 🦉** +> The all-in-one crawler/scraper for crunching free proxy nodes of SS, SSR, vmess, trojan! -```text -🌞 Morning 302 commits ██████░░░░░░░░░░░░░░░░░░░ 26.87% -🌆 Daytime 222 commits █████░░░░░░░░░░░░░░░░░░░░ 19.75% -🌃 Evening 208 commits ████░░░░░░░░░░░░░░░░░░░░░ 18.51% -🌙 Night 392 commits ████████░░░░░░░░░░░░░░░░░ 34.88% +dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd3 -``` -📅 **I'm Most Productive on Sunday** +

+ andatoshiki's profile readme stats +

-```text -Monday 148 commits ███░░░░░░░░░░░░░░░░░░░░░░ 13.17% -Tuesday 107 commits ██░░░░░░░░░░░░░░░░░░░░░░░ 9.52% -Wednesday 216 commits ████░░░░░░░░░░░░░░░░░░░░░ 19.22% -Thursday 102 commits ██░░░░░░░░░░░░░░░░░░░░░░░ 9.07% -Friday 117 commits ██░░░░░░░░░░░░░░░░░░░░░░░ 10.41% -Saturday 209 commits ████░░░░░░░░░░░░░░░░░░░░░ 18.59% -Sunday 225 commits █████░░░░░░░░░░░░░░░░░░░░ 20.02% +

+ andatoshiki's dynamic github language stats +

-``` +## Development metrics +📊 Wakatime weekly development breakdown -📊 **This Week I Spent My Time On** + + -```text -💬 Programming Languages: -YAML 6 hrs 10 mins █████████░░░░░░░░░░░░░░░░ 35.98% -NSIS 2 hrs 53 mins ████░░░░░░░░░░░░░░░░░░░░░ 16.88% -Other 1 hr 28 mins ██░░░░░░░░░░░░░░░░░░░░░░░ 8.6% -Text 59 mins █░░░░░░░░░░░░░░░░░░░░░░░░ 5.8% -Markdown 51 mins █░░░░░░░░░░░░░░░░░░░░░░░░ 4.98% + -🔥 Editors: -VS Code 17 hrs 6 mins █████████████████████████ 99.84% -Zsh 1 min ░░░░░░░░░░░░░░░░░░░░░░░░░ 0.16% + -🐱‍💻 Projects: -toshiki-qbittorrent-moefi10 hrs 1 min ██████████████░░░░░░░░░░░ 58.43% -installer 1 hr 58 mins ███░░░░░░░░░░░░░░░░░░░░░░ 11.53% -hestia 1 hr 2 mins █░░░░░░░░░░░░░░░░░░░░░░░░ 6.07% -toshiki-data-waster 47 mins █░░░░░░░░░░░░░░░░░░░░░░░░ 4.62% -PPet 45 mins █░░░░░░░░░░░░░░░░░░░░░░░░ 4.47% - -💻 Operating System: -WSL 11 hrs 36 mins █████████████████░░░░░░░░ 67.68% -Linux 3 hrs 33 mins █████░░░░░░░░░░░░░░░░░░░░ 20.79% -Windows 1 hr 58 mins ███░░░░░░░░░░░░░░░░░░░░░░ 11.53% - -``` - -**I Mostly Code in JavaScript** - -```text -JavaScript 15 repos ██████░░░░░░░░░░░░░░░░░░░ 26.79% -HTML 8 repos ███░░░░░░░░░░░░░░░░░░░░░░ 14.29% -TypeScript 8 repos ███░░░░░░░░░░░░░░░░░░░░░░ 14.29% -CSS 6 repos ██░░░░░░░░░░░░░░░░░░░░░░░ 10.71% -Shell 6 repos ██░░░░░░░░░░░░░░░░░░░░░░░ 10.71% - -``` - - - - Last Updated on 04/12/2022 10:19:28 UTC - - - - - - - -footer banner - + +footer banner +