Skip to content

armgit / Pake

Public Imported from GitHub
0

Turn any website into a lightweight desktop app with one command, on macOS, Windows and Linux.

fix: optimize contributors layout to match mole

Tw931a5a6c6fe359
diff --git a/.github/workflows/update-contributors.yml b/.github/workflows/update-contributors.yml
index 09aef664..29fd9b7d 100644
--- a/.github/workflows/update-contributors.yml
+++ b/.github/workflows/update-contributors.yml
@@ -25,19 +25,29 @@ jobs:
fetch-depth: 0
- name: Generate contributors SVG
- uses: wow-actions/contributors-list@v1
+ uses: tw93/contributors-list@master
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
svgPath: CONTRIBUTORS.svg
- svgWidth: 1200
- avatarMargin: 12
+ svgWidth: 1000
+ avatarSize: 72
+ avatarMargin: 45
userNameHeight: 20
+ noFetch: false
noCommit: true
+ truncate: 0
+ includeBots: false
+ excludeUsers: "github-actions web-flow dependabot claude"
itemTemplate: |
<g transform="translate({{ x }}, {{ y }})">
- <a xlink:href="{{{ url }}}" class="contributor-link" target="_blank" rel="nofollow sponsored" title="{{{ name }}}" id="{{{ name }}}">
- <image width="{{ width }}" height="{{ height }}" xlink:href="{{{ avatar }}}" />
- <text x="32" y="74" text-anchor="middle" alignment-baseline="middle" font-size="10">{{{ name }}}</text>
+ <defs>
+ <clipPath id="cp-{{ login }}">
+ <circle cx="36" cy="36" r="36" />
+ </clipPath>
+ </defs>
+ <a xlink:href="{{{ url }}}" href="{{{ url }}}" class="contributor-link" target="_blank" rel="nofollow sponsored" title="{{{ name }}}">
+ <image width="72" height="72" xlink:href="{{{ avatar }}}" href="{{{ avatar }}}" clip-path="url(#cp-{{ login }})" />
+ <text x="36" y="86" text-anchor="middle" alignment-baseline="middle" font-size="10" fill="#666" font-family="-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial,sans-serif">{{{ name }}}</text>
</a>
</g>
@@ -46,3 +56,7 @@ jobs:
with:
commit_message: "chore: update contributors [skip ci]"
file_pattern: CONTRIBUTORS.svg
+ commit_user_name: github-actions[bot]
+ commit_user_email: 41898282+github-actions[bot]@users.noreply.github.com
+ commit_author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
+ push_options: '--force'
diff --git a/README.md b/README.md
index 6f6379d5..bd9e78eb 100644
--- a/README.md
+++ b/README.md
@@ -196,7 +196,7 @@ For style customization, feature enhancement, container communication and other
Pake's development can not be without these Hackers. They contributed a lot of capabilities for Pake. Also, welcome to follow them! ❤️
<a href="https://github.com/tw93/Pake/graphs/contributors">
- <img src="https://raw.githubusercontent.com/tw93/Pake/main/CONTRIBUTORS.svg?sanitize=true" alt="Contributors" width="1000" />
+ <img src="./CONTRIBUTORS.svg?v=2" alt="Contributors" width="1000" />
</a>
## Support