[READ-ONLY] Mirror of https://github.com/flo-bit/edge-function-github-contribution. edge-function-github-contribution.vercel.app
0

Configure Feed

Select the types of activity you want to include in your feed.

update readme

+5 -1
+5 -1
Readme.md
··· 22 22 23 23 ## Usage 24 24 25 - 1. create a personal access token on github, go to `settings` -> `developer settings` -> `personal access tokens (classic)` -> `generate new token (classic)`, set expiration date to "No expiration" and add the `public_repo`, `read:user` and `repo:status` scopes. 25 + 1. create a personal access token on github, go to `settings` -> `developer settings` -> `personal access tokens (classic)` -> `generate new token (classic)`, set expiration date to "No expiration" and add the `public_repo` scope. 26 26 27 27 2. deploy to vercel 28 28 ··· 198 198 (a, b) => b.size - a.size 199 199 ); 200 200 ``` 201 + 202 + ## add private repositories 203 + 204 + if you want to include private repositories, add the `repo:status` scope to your personal access token and remove line 33 in `api/github-data.ts`: `privacy: PUBLIC` (obviously at your own risk). 201 205 202 206 ## license 203 207