GitHub Search is a command-line tool that allows users to search for GitHub repositories based on a keyword. The tool uses the GitHub API to fetch and display repository URLs that match the search criteria.
- Keyword Search: Users can enter a keyword to search across GitHub repositories.
- Interactive Interface: Easy-to-use command-line interface for initiating searches.
- Immediate Results: Displays URLs of matching GitHub repositories directly in the console.
Ensure that you have Python installed on your system before you proceed. Python 3.x is recommended. You will also need to install a couple of Python libraries, which can be installed using pip.
pip install requests colorama
- USAGE To use the GitHub Search tool, follow these steps:
1-Clone this repository to your local machine or download the 'GitHubSearch.py' file.
2-Open a terminal or command prompt.
3-Navigate to the directory where 'GitHubSearch.py' is located.
4-Run the script with the following command:
python GitHubSearch.py
- EXAMPLE -Enter 'search' to search for GitHub repositories or 'exit' to quit: search -Enter a keyword to search for in GitHub repositories: machine learning -Searching... -Matching GitHub Repository URLs: -https://github.com/user/repository1 -https://github.com/user/repository2