From e3c89df995e92e67cdd4b2acaab9d974583dc1f7 Mon Sep 17 00:00:00 2001 From: ryo-ma Date: Sat, 25 Jul 2026 09:04:57 +0900 Subject: [PATCH] fix format --- README.md | 27 ++++++++++++++++++--------- deno.json | 2 +- main.ts | 2 +- 3 files changed, 20 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 4a0ccfd..1c6f4a0 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,8 @@ 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/) by [Adwitya](https://github.com/Adwitya) - [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) - [https://github-profile-trophy-sigma-one.vercel.app](https://github-profile-trophy-sigma-one.vercel.app/)) by [namankoolwal](https://github.com/namankoolwal) -- [https://trophy.benkou.dev/](https://trophy.benkou.dev/) by [Ben](https://github.com/0x5b62656e5d) -- [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) +- [https://trophy.benkou.dev/](https://trophy.benkou.dev/) by + [Ben](https://github.com/0x5b62656e5d) +- [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 @@ -616,17 +620,21 @@ Usage: ## 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. 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 @@ -635,7 +643,8 @@ GITHUB_TOKEN2=your_token 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: diff --git a/deno.json b/deno.json index 36a670a..2424e78 100644 --- a/deno.json +++ b/deno.json @@ -9,4 +9,4 @@ "imports": { "@std/dotenv": "jsr:@std/dotenv@^0.224.0" } -} \ No newline at end of file +} diff --git a/main.ts b/main.ts index 8546b40..0163488 100644 --- a/main.ts +++ b/main.ts @@ -1,4 +1,4 @@ import { serve } from "https://deno.land/std@0.224.0/http/server.ts"; import requestHandler from "./api/index.ts"; -serve(requestHandler, { port: Number(Deno.env.get("PORT")) || 8080 }); \ No newline at end of file +serve(requestHandler, { port: Number(Deno.env.get("PORT")) || 8080 });