Find obscure GitHub repositories π
MIT License
Explore the hidden gems of GitHub with PetitHub!
This project is an adaptation of the Petit Tube concept to GitHub: it allows users to discover random, obscure GitHub repositories that have no stars. Whether you're looking to find an undiscovered masterpiece or just satisfy your curiosity, PetitHub is here to take you on a journey through the lesser-known corners of GitHub.
PetitHub uses the Octokit package to interact with the GitHub API. It browses the public repositories looking for unique, not starred repositories. You can use the app without a GitHub account, but signing in with GitHub App provides a more seamless experience without rate limiting and unlocks extra features.
PetitHub is built with Hono over a Vite server for a fast user and easy developer experience. It fully integrates most of the features from Hono.
The main page displays a random GitHub repository with all its relevant details. You can quickly star the repository or visit its GitHub page.
Clone the repository:
git clone https://github.com/cletqui/petithub.git
cd petithub
Install dependencies:
npm install
Start the development server:
npm run dev
Open your browser and navigate to http://localhost:5173
to start exploring obscure GitHub repositories.
For an enhanced experience, connect your GitHub account. This will allow you to bypass rate limits and access special features like starring repositories directly from PetitHub.
Contributions are welcome! Feel free to open an issue or submit a pull request.
Fork the repository.
Create your feature branch:
git checkout -b feature/AmazingFeature
Commit your changes:
git commit -m 'Add some AmazingFeature'
Push to the branch:
git push origin feature/AmazingFeature
Open a pull request.
Distributed under the MIT License. See LICENSE
for more information.
X / Twitter - @cletqui
Project Link: https://github.com/cletqui/petithub
If you like this project, you can support me by buying my next coffee on BuyMeACoffee.
Happy exploring! π
full_name
& use GitHub link in header like GitHub pageSuspense
)useRequestContext
to have conditional rendertests
filesaccess_token
in c.var and access it through octokit.auth
instead${string}
README.md
MAX_ID
dynamically and store in Cookies/api/*
requestsaccess_token
is not defined (go back to authentication or use default token)access_token
/refresh_token
cookie storage issuestate
verificationaccess_token
refresh with refresh_token
access_token
is defined)