fix format

This commit is contained in:
ryo-ma 2026-07-25 09:04:57 +09:00
parent 0dbd570fb3
commit e3c89df995
3 changed files with 20 additions and 11 deletions

View file

@ -45,7 +45,8 @@
These are endpoints provided by volunteers. Please use these in moderation. These are endpoints provided by volunteers. Please use these in moderation.
- [https://trophygithubreadmelang.cybee.dpdns.org/](https://trophygithubreadmelang.cybee.dpdns.org/) by [Cyberbee-pro](https://github.com/Cyberbee-pro) - [https://trophygithubreadmelang.cybee.dpdns.org/](https://trophygithubreadmelang.cybee.dpdns.org/)
by [Cyberbee-pro](https://github.com/Cyberbee-pro)
- [https://github-profile-trophy-liard-delta.vercel.app](https://github-profile-trophy-liard-delta.vercel.app/) - [https://github-profile-trophy-liard-delta.vercel.app](https://github-profile-trophy-liard-delta.vercel.app/)
by [Adwitya](https://github.com/Adwitya) by [Adwitya](https://github.com/Adwitya)
- [https://github-profile-trophy-fork-two.vercel.app](https://github-profile-trophy-fork-two.vercel.app) - [https://github-profile-trophy-fork-two.vercel.app](https://github-profile-trophy-fork-two.vercel.app)
@ -70,9 +71,12 @@ These are endpoints provided by volunteers. Please use these in moderation.
by [reiyua](https://github.com/reiyua) by [reiyua](https://github.com/reiyua)
- [https://github-profile-trophy-sigma-one.vercel.app](https://github-profile-trophy-sigma-one.vercel.app/)) - [https://github-profile-trophy-sigma-one.vercel.app](https://github-profile-trophy-sigma-one.vercel.app/))
by [namankoolwal](https://github.com/namankoolwal) by [namankoolwal](https://github.com/namankoolwal)
- [https://trophy.benkou.dev/](https://trophy.benkou.dev/) by [Ben](https://github.com/0x5b62656e5d) - [https://trophy.benkou.dev/](https://trophy.benkou.dev/) by
- [https://github-trophies.devomb.com/](https://github-trophies.devomb.com/) by [DevomB](https://github.com/DevomB/Github-Trophies) [Ben](https://github.com/0x5b62656e5d)
- [https://github-profile-trophy-unserori.vercel.app/](https://github-profile-trophy-unserori.vercel.app/) by [unSerori](https://github.com/unSerori) - [https://github-trophies.devomb.com/](https://github-trophies.devomb.com/) by
[DevomB](https://github.com/DevomB/Github-Trophies)
- [https://github-profile-trophy-unserori.vercel.app/](https://github-profile-trophy-unserori.vercel.app/)
by [unSerori](https://github.com/unSerori)
# Quick Start # Quick Start
@ -616,17 +620,21 @@ Usage:
## Self-hosting on Vercel ## Self-hosting on Vercel
By self-hosting you avoid rate-limits, instances getting paused and you bypass the #439 issue. By self-hosting you avoid rate-limits, instances getting paused and you bypass
the #439 issue.
1. For people who do not have this repo forked, you need to do that before you can deploy anything. 1. For people who do not have this repo forked, you need to do that before you
can deploy anything.
2. Make an account, connect your GitHub account to Vercel, and import your repo. 2. Make an account, connect your GitHub account to Vercel, and import your repo.
3. Go back to GitHub, generate a token, and copy it. 3. Go back to GitHub, generate a token, and copy it.
4. Set your token scopes to `read:user` + `public_repo` (only use `repo` if you want private contributions counted). 4. Set your token scopes to `read:user` + `public_repo` (only use `repo` if you
want private contributions counted).
5. On Vercel's configure screen, add two environment variables and paste the token as the value of each — you can use the same token for both: 5. On Vercel's configure screen, add two environment variables and paste the
token as the value of each — you can use the same token for both:
``` ```
GITHUB_TOKEN1=your_token GITHUB_TOKEN1=your_token
@ -635,7 +643,8 @@ GITHUB_TOKEN2=your_token
6. After that you can deploy it. 6. After that you can deploy it.
7. Set Vercel Authentication -> Only Preview Deployments, or your card shows blank. 7. Set Vercel Authentication -> Only Preview Deployments, or your card shows
blank.
8. You get a domain which you can use/test, it looks something like this: 8. You get a domain which you can use/test, it looks something like this:

View file

@ -9,4 +9,4 @@
"imports": { "imports": {
"@std/dotenv": "jsr:@std/dotenv@^0.224.0" "@std/dotenv": "jsr:@std/dotenv@^0.224.0"
} }
} }

View file

@ -1,4 +1,4 @@
import { serve } from "https://deno.land/std@0.224.0/http/server.ts"; import { serve } from "https://deno.land/std@0.224.0/http/server.ts";
import requestHandler from "./api/index.ts"; import requestHandler from "./api/index.ts";
serve(requestHandler, { port: Number(Deno.env.get("PORT")) || 8080 }); serve(requestHandler, { port: Number(Deno.env.get("PORT")) || 8080 });