Source code of the Random Github Repo website A website that give you random GitHub repository to get inspired
- Clone the repo
- Add an
ApiKeys.ts
file to the/src/api/
folder containing your tokens to use GitHub's API, like this :
export default class ApiKeys {
static apiKeys: string[] = [
'ghp_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
'ghp_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
'ghp_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' // add as much tokens as you want
];
}
Tokens can be generated by visiting the following link: https://github.com/settings/tokens. To create a new token, navigate to "Generate new token (classic)," choose an expiration period, and exclusively select the public_repo permission before generating the token.
This work is licensed under a Creative Commons Attribution 4.0 International License.