Skip to content

zonetecde/random-github-repo-2

Repository files navigation

Random Github Repository Generator

Source code of the Random Github Repo website A website that give you random GitHub repository to get inspired

Set up:

  • 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.


CC BY 4.0

This work is licensed under a Creative Commons Attribution 4.0 International License.

wakatime

About

Website that randomly displays githubs repositories to gain inspiration on the topics of your choice

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published