-
Notifications
You must be signed in to change notification settings - Fork 0
wanna update #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wanna update #1
Changes from all commits
a1c2c9d
d983a16
5cc9b86
cc6947e
7b6da5d
d9e5b3e
5b90817
9561b70
5d093da
d4b62d8
b94874a
fe11abe
7224588
20908af
f88e075
135c24e
70619a1
4047b37
805065c
90b4f13
c27aed8
f385d20
092a0e8
72fc640
ccde669
ef66daa
c1d8c00
67889b9
eb5e82f
fb3d78c
7e17b59
b5e158a
452c95c
eec37fc
aea2a37
c163294
5361d88
8b64539
eddad2b
5dc8d73
233988d
1183dbf
f2b0ae1
7893727
6425427
97e9fad
2ba2fe6
c1ecb50
d77f551
56fb08c
1c90f65
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| name: Test GitHub Profile Trophy Action | ||
| on: [push, pull_request, workflow_dispatch] | ||
|
|
||
| jobs: | ||
| test-trophy: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout this repo | ||
| uses: actions/checkout@v4 | ||
| - name: Test Action | ||
| id: trophy | ||
| uses: ./. | ||
| with: | ||
| username: ${{ github.repository_owner }} | ||
| output_path: ./trophy.svg | ||
| token: ${{ secrets.GITHUB_TOKEN }} | ||
|
|
||
| - name: Verify SVG generated | ||
| run: | | ||
| if [ -f trophy.svg ]; then | ||
| echo "SVG exsists ($(wc -c < trophy.svg) Bytes)" | ||
| file trophy.svg | ||
| else | ||
| echo "SVG failed to generate" | ||
| exit 1 | ||
| fi | ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -8,23 +8,39 @@ on: | |||||
| branches: | ||||||
| - master | ||||||
| workflow_dispatch: | ||||||
|
|
||||||
| jobs: | ||||||
| install-dependencies: | ||||||
| runs-on: ubuntu-latest | ||||||
|
|
||||||
| strategy: | ||||||
| matrix: | ||||||
| deno-version: [1.43.6] | ||||||
| deno-version: ["1.44.4"] | ||||||
|
||||||
| deno-version: ["1.44.4"] | |
| deno-version: ["1.43.6", "1.44.4"] |
Copilot
AI
Feb 14, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The lint check is set to always pass with '|| true', which means linting errors won't fail the workflow. While this might be intentional to prevent blocking builds, it defeats the purpose of having a linter. Consider either fixing the linting issues or removing the '|| true' to ensure code quality standards are enforced.
| run: deno lint || true | |
| run: deno lint |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| FROM denoland/deno:latest | ||
|
|
||
| # Create working directory | ||
| WORKDIR /app | ||
|
|
||
| # Copy source | ||
| COPY . . | ||
|
|
||
| # Compile the main app | ||
| RUN deno cache main.ts | ||
|
|
||
| # Run the app | ||
| CMD ["deno", "run", "-A", "main.ts"] |
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -21,6 +21,43 @@ | |||||||||||||||||||||||||||||
| </a> | ||||||||||||||||||||||||||||||
| </div> | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| > ⚠️ **Notice from the Project Owner** | ||||||||||||||||||||||||||||||
| > | ||||||||||||||||||||||||||||||
| > Hello everyone,\ | ||||||||||||||||||||||||||||||
| > I am the owner of this project. | ||||||||||||||||||||||||||||||
| > | ||||||||||||||||||||||||||||||
| > Currently, due to the increase in users and traffic, the cost of maintaining | ||||||||||||||||||||||||||||||
| > this service has become quite high, and it is becoming financially difficult | ||||||||||||||||||||||||||||||
| > to sustain.\ | ||||||||||||||||||||||||||||||
| > As costs continue to rise, there is a possibility that the service may have to | ||||||||||||||||||||||||||||||
| > be discontinued.\ | ||||||||||||||||||||||||||||||
| > We are now at a stage where monetization and financial support are essential. | ||||||||||||||||||||||||||||||
| > | ||||||||||||||||||||||||||||||
| > Your support in the following ways would be greatly appreciated: | ||||||||||||||||||||||||||||||
| > | ||||||||||||||||||||||||||||||
| > 1. Financial support: [GitHub Sponsors](https://github.com/sponsors/ryo-ma) | ||||||||||||||||||||||||||||||
| > 2. Reducing server load through self-hosting (by forking on GitHub and | ||||||||||||||||||||||||||||||
| > deploying to Vercel) | ||||||||||||||||||||||||||||||
| > 3. Share your github-profile-trophy URL deployed to Vercel for load balancing | ||||||||||||||||||||||||||||||
| > (Send email: saka_ro@yahoo.co.jp or Pull Request) | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| # Load balancing endpoints | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| These are endpoints provided by volunteers. Please use these in moderation. | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| - [https://github-profile-trophy-liard-delta.vercel.app](https://github-profile-trophy-liard-delta.vercel.app/) | ||||||||||||||||||||||||||||||
| by [Adwitya](https://github.com/Adwitya) | ||||||||||||||||||||||||||||||
| - [https://github-profile-trophy-fork-two.vercel.app](https://github-profile-trophy-fork-two.vercel.app) | ||||||||||||||||||||||||||||||
| by [hesreallyhim](https://github.com/hesreallyhim) | ||||||||||||||||||||||||||||||
| - [https://github-profile-trophy-winning.vercel.app](https://github-profile-trophy-winning.vercel.app) | ||||||||||||||||||||||||||||||
| by [hongbo-wei](https://github.com/hongbo-wei) | ||||||||||||||||||||||||||||||
| - [https://github-profile-trophy-kannan.vercel.app](https://github-profile-trophy-kannan.vercel.app) | ||||||||||||||||||||||||||||||
| by [kann4n](https://github.com/kann4n) | ||||||||||||||||||||||||||||||
| - [https://trophy.ryglcloud.net](https://trophy.ryglcloud.net) | ||||||||||||||||||||||||||||||
| by [PracticalRyan](https://github.com/PracticalRyan) | ||||||||||||||||||||||||||||||
| - [https://github-profile-trophy-tawny.vercel.app](https://github-profile-trophy-tawny.vercel.app) | ||||||||||||||||||||||||||||||
| by [vijaypurohit322](https://github.com/vijaypurohit322) | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| # Quick Start | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| Add the following code to your readme. When pasting the code into your profile's | ||||||||||||||||||||||||||||||
|
|
@@ -533,6 +570,34 @@ https://github-profile-trophy.vercel.app/?username=ryo-ma&no-frame=true | |||||||||||||||||||||||||||||
| <img width="936" src="https://github.com/user-attachments/assets/54de15a3-d907-4a50-8117-170aae74d1cd"> | ||||||||||||||||||||||||||||||
| </p> | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| ## Generate an svg file localy | ||||||||||||||||||||||||||||||
|
xploitoverload marked this conversation as resolved.
|
||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| Using the render_svg.ts script you can generate your trophys as an svg file | ||||||||||||||||||||||||||||||
|
xploitoverload marked this conversation as resolved.
|
||||||||||||||||||||||||||||||
| given your username, (Enviroment Vars: See [env-example](env-example)). | ||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||
| given your username, (Enviroment Vars: See [env-example](env-example)). | |
| given your username, (Environment Vars: See [env-example](env-example)). |
Copilot
AI
Feb 14, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spelling error: "easly" should be "easily"
| Using the provided github action you can easly generate the trophy inside an | |
| Using the provided github action you can easily generate the trophy inside an |
Copilot
AI
Feb 14, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The action references a specific branch 'feature/generate-svg' in the README usage example (line 594), but the action.yml doesn't specify which branch or version tag should be used. When this gets merged to main, users following the README will reference the wrong branch. The README should use a proper version tag or '@main' instead of '@feature/generate-svg'.
Copilot
AI
Feb 14, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The one-time sponsors list appears to have inconsistent date ordering. The dates jump from Feb 8, 2026 to Jan 11, 2026, then to Jan 4, 2026, December 17, 2025, and so on. While not critical, sponsors are typically listed in chronological order (either newest-first or oldest-first) for clarity.
| - [@JoqarSabon](https://github.com/JoqarSabon) — $5 (May 24, 2024) | |
| - [@syaghoubi00](https://github.com/syaghoubi00) — $5 (Jan 28, 2024) | |
| - [@pylapp](https://github.com/pylapp) — $20 (Jan 15, 2024) | |
| - [@Dobefu](https://github.com/Dobefu) — $10 (Dec 22, 2024) | |
| - [@michele-lorenzoni](https://github.com/michele-lorenzoni) — $10 (Nov | |
| 26, 2024) | |
| - [@skillerious](https://github.com/skillerious) — $10 (Aug 17, 2024) | |
| - [@Dobefu](https://github.com/Dobefu) — $10 (Dec 22, 2024) | |
| - [@michele-lorenzoni](https://github.com/michele-lorenzoni) — $10 (Nov | |
| 26, 2024) | |
| - [@skillerious](https://github.com/skillerious) — $10 (Aug 17, 2024) | |
| - [@JoqarSabon](https://github.com/JoqarSabon) — $5 (May 24, 2024) | |
| - [@syaghoubi00](https://github.com/syaghoubi00) — $5 (Jan 28, 2024) | |
| - [@pylapp](https://github.com/pylapp) — $20 (Jan 15, 2024) |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,27 @@ | ||||||
| name: Generate GitHub Profile Trophy SVG | ||||||
| description: Run the local generator script to produce an SVG. | ||||||
| inputs: | ||||||
| username: | ||||||
| description: "GitHub username to generate the trophy for" | ||||||
| required: true | ||||||
| output_path: | ||||||
| description: "Output path to write the SVG" | ||||||
| required: true | ||||||
| default: "trophy.svg" | ||||||
| token: | ||||||
| description: "PAT or token to use for GitHub API" | ||||||
| required: true | ||||||
| runs: | ||||||
| using: "composite" | ||||||
| steps: | ||||||
| - name: Setup Deno | ||||||
| uses: denoland/setup-deno@v1 | ||||||
| with: | ||||||
| deno-version: v1.x | ||||||
|
|
||||||
| - name: Generate trophy | ||||||
| shell: bash | ||||||
| env: | ||||||
| GITHUB_TOKEN1: ${{ inputs.token }} | ||||||
| run: | | ||||||
| deno run --allow-net --allow-env --allow-read --allow-write $GITHUB_ACTION_PATH/render_svg.ts "${{ inputs.username }}" "${{ inputs.output_path }}" | ||||||
|
||||||
| deno run --allow-net --allow-env --allow-read --allow-write $GITHUB_ACTION_PATH/render_svg.ts "${{ inputs.username }}" "${{ inputs.output_path }}" | |
| deno run --allow-net --allow-env --allow-read --allow-write "${{ github.action_path }}/render_svg.ts" "${{ inputs.username }}" "${{ inputs.output_path }}" |
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -5,3 +5,12 @@ services: | |||||||||
| image: redis:latest | ||||||||||
| ports: | ||||||||||
| - "6379:6379" | ||||||||||
| deno-app: | ||||||||||
| build: . | ||||||||||
| volumes: | ||||||||||
| - .:/app | ||||||||||
| ports: | ||||||||||
| - "80:8080" | ||||||||||
| environment: | ||||||||||
| - DENO_ENV=development | ||||||||||
| command: ["deno", "run", "--watch", "-A", "main.ts"] | ||||||||||
|
Comment on lines
+15
to
+16
|
||||||||||
| - DENO_ENV=development | |
| command: ["deno", "run", "--watch", "-A", "main.ts"] | |
| - DENO_ENV=development # Application environment (e.g., development) | |
| command: ["sh", "-c", "test -f main.ts && deno run --watch -A main.ts"] |
Uh oh!
There was an error while loading. Please reload this page.