fix: update new self-hosted wakatime metrics ci

This commit is contained in:
andatoshiki 2022-12-05 18:41:49 +08:00
parent be279cea31
commit c4e55b66cf
2 changed files with 35 additions and 112 deletions

View File

@ -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
# following flags are required, only if this is not on
# profile readme, remove the leading `#` to use them
#GH_TOKEN: ${{ secrets.GH_TOKEN }}
#REPOSITORY: <gh_username/gh_username>

121
README.md
View File

@ -1,108 +1,37 @@
<!-- header sine wave svg with name centered starts-->
<img width=100% src="https://cdn.jsdelivr.net/gh/andatoshiki/andatoshiki@master/assets/header-pink.svg" alt="header banner" />
<!-- header sine wave ends -->
# d
<img src="https://cdn.jsdelivr.net/gh/andatoshiki/andatoshiki@master/assets/avatar.png" alt="logo" width="140" height="140" align="left" />
> The all-in-one crawler/scraper for crunching free proxy nodes of SS, SSR, vmess, trojan!
dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd3
<p align="center">
<img src="https://stats.toshiki.top/api?show_bg=1&username=andatoshiki&include_all_commits=true" alt="andatoshiki's profile readme stats"></img>
</p>
<p align="center">
<img src="https://cdn.jsdelivr.net/gh/andatoshiki/toshiki-github-stats@master/generated/languages.svg" alt="andatoshiki's dynamic github language stats"></img>
</p>
## Development metrics
📊 Wakatime weekly development breakdown
<!--START_SECTION:waka-->
![Code Time](http://img.shields.io/badge/Code%20Time-348%20hrs%2044%20mins-blue)
<!-- header sine wave svg with name centered starts-->
<img width=100% src="https://cdn.jsdelivr.net/gh/andatoshiki/andatoshiki@master/assets/header-pink.svg" alt="header banner" />
<!-- header sine wave ends -->
![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)
<img src="https://cdn.jsdelivr.net/gh/andatoshiki/andatoshiki@master/assets/avatar.png" alt="logo" width="140" height="140" align="left" />
**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**
<p align="center">
<img src="https://stats.toshiki.top/api?show_bg=1&username=andatoshiki&include_all_commits=true" alt="andatoshiki's profile readme stats"></img>
</p>
```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%
<p align="center">
<img src="https://cdn.jsdelivr.net/gh/andatoshiki/toshiki-github-stats@master/generated/languages.svg" alt="andatoshiki's dynamic github language stats"></img>
</p>
```
## Development metrics
📊 Wakatime weekly development breakdown
📊 **This Week I Spent My Time On**
<!--START_SECTION:waka2readme-->
<!--END_SECTION:waka2readme-->
```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%
<!--
andatoshiki/andatoshiki is a ✨ special ✨ repository because its `README.md` (this file) appears on your GitHub profile.
You can click the Preview link to take a look at your changes.
-->
🔥 Editors:
VS Code 17 hrs 6 mins █████████████████████████ 99.84%
Zsh 1 min ░░░░░░░░░░░░░░░░░░░░░░░░░ 0.16%
<!-- test -->
🐱‍💻 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
<!--END_SECTION:waka-->
<!--
andatoshiki/andatoshiki is a ✨ special ✨ repository because its `README.md` (this file) appears on your GitHub profile.
You can click the Preview link to take a look at your changes.
-->
<!-- test -->
<!-- footer sine wave svg centered starts-->
<img width=100% src="https://cdn.jsdelivr.net/gh/andatoshiki/andatoshiki@master/assets/footer-pink.svg" alt="footer banner" />
<!-- footer sine wave ends -->
<!-- footer sine wave svg centered starts-->
<img width=100% src="https://cdn.jsdelivr.net/gh/andatoshiki/andatoshiki@master/assets/footer-pink.svg" alt="footer banner" />
<!-- footer sine wave ends -->