GitHub Viewer is a CLI tool built to explore public repositories hosted on GitHub. With GitHub Viewer, you can browse and view code hosted on GitHub repositories directly from your terminal using GitHub API.
Make sure you have the following dependencies installed in your environment:
jqghfzfbatbash
For easier access, consider adding the ghv script to your $PATH so you can call it directly without specifying the script's location.
wget https://raw.githubusercontent.com/Creator54/ghv/main/ghv
chmod +x ghv
If you want to just test it out and have the dependencies installed you can use the following command:
curl -s https://raw.githubusercontent.com/Creator54/ghv/main/ghv | bash -s creator54/ghvAuthenticate with github once using gh auth login to use the GitHub API
./ghv <username>
./ghv <username>/<repository>
./ghv <username>/<repository>/<path>
./ghv <repository-url>
./ghv <file-url>preview.mp4
- shows only 100 repositories(max) present for the username
- files except text/markdown is not properly handled
This project is licensed under the Unlicense.