Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mbn-code/gitsearch
This script is a Python program that utilizes the Tkinter library to create a graphical user interface (GUI) for searching GitHub repositories based on a user's query. It retrieves repository data from the GitHub API, displays the results in a text widget, and allows the user to open a repository's URL in a web browser.
https://github.com/mbn-code/gitsearch
github gui macos python python3 tkinter tkinter-graphic-interface
Last synced: about 2 months ago
JSON representation
This script is a Python program that utilizes the Tkinter library to create a graphical user interface (GUI) for searching GitHub repositories based on a user's query. It retrieves repository data from the GitHub API, displays the results in a text widget, and allows the user to open a repository's URL in a web browser.
- Host: GitHub
- URL: https://github.com/mbn-code/gitsearch
- Owner: mbn-code
- Created: 2023-07-14T22:44:43.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-12T10:39:44.000Z (2 months ago)
- Last Synced: 2024-11-12T11:28:52.813Z (2 months ago)
- Topics: github, gui, macos, python, python3, tkinter, tkinter-graphic-interface
- Language: Python
- Homepage:
- Size: 9.72 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GitSearch
This script is a Python program that utilizes the Tkinter library to create a graphical user interface (GUI) for searching GitHub repositories based on a user's query. It retrieves repository data from the GitHub API, displays the results in a text widget, and allows the user to open a repository's URL in a web browser.
## Dependencies
The script requires the following dependencies:
- Python 3.x
- `tkinter` library
- `requests` library## Installation
1. Clone the repository or download the script file.
2. Install the required dependencies by running the following command:```shell
pip install requests
```## Usage
1. Run the script using the following command:
```shell
python script.py
1. Run the script using the following command:```shell
python script.py
```2. The program will open a window with a search input field.
3. Enter your search query and click the "Search" button.
4. The program will retrieve the repositories matching the query and display the results in the text widget.
5. Click on the "Open in Browser" link for any repository to open its URL in a web browser.
The script provides some customization options:- **Font settings**: You can modify the `FONT_FAMILY` and `FONT_SIZE` variables to change the font used in the GUI.
- **Color settings**: You can modify the `PRIMARY_COLOR`, `SECONDARY_COLOR`, and `LINK_COLOR` variables to change the colors used in the GUI.## License
This script is licensed under the [MIT License](LICENSE).