An open API service indexing awesome lists of open source software.

https://github.com/zonetecde/random-github-repo-2

Website that randomly displays githubs repositories to gain inspiration on the topics of your choice
https://github.com/zonetecde/random-github-repo-2

github inspiration random repo repositories svelte website

Last synced: 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# Random Github Repository Generator

A website that give you random GitHub repository to get inspired

### Set up:

- Clone the repo
- Add an `ApiKeys.ts` file to `src/lib/server/ApiKeys.ts` containing your tokens to use GitHub's API, like this :
```ts
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.

You can use this database, which already contains more than a million GitHub repositories: [Download here](https://mega.nz/file/qawDQTgZ#85zEcD86AQ5MUKDPNJGT2kVQ4evmKymGXqaFRd3wgnU). If you'd like to use it, download it and move it to `database/database.db`.

---

[![CC BY 4.0][cc-by-shield]][cc-by]

This work is licensed under a
[Creative Commons Attribution 4.0 International License][cc-by].

[cc-by]: http://creativecommons.org/licenses/by/4.0/
[cc-by-shield]: https://img.shields.io/badge/License-CC%20BY%204.0-lightgrey.svg

[![wakatime](https://wakatime.com/badge/user/b8ecff52-7743-4a1e-8b28-93fcce7c9b7d/project/018bcf08-82f6-4b73-97f5-b730e3ffbdef.svg)](https://wakatime.com/badge/user/b8ecff52-7743-4a1e-8b28-93fcce7c9b7d/project/018bcf08-82f6-4b73-97f5-b730e3ffbdef)