Skip to main content

Stylish TUI to browse GitHub repositories, issues, and pull requests.

Project description

GHpeek - the easy Github repository viewer

GHpeek screenshot

GHpeek is a friendly terminal UI for keeping tabs on your GitHub repositories. Add the repos you care about and get a clean, readable list of open issues and pull requests with unread items highlighted. Each repo also shows a quick summary of stars, forks, and open counts so you can spot activity at a glance.

Dependencies

  • textual
  • PyGithub
  • rich
  • markdown
  • python-dotenv

Installation

GHpeek can be installed via pip. Simply run the following command:

pip install ghpeek

Or, even better with pipx:

pipx install ghpeek

Usage

To start GHpeek, simply run the following command:

ghpeek

Press a to add a repository. If a GitHub token is configured, you can choose from your own repositories, filter forks, organizations, and public/private repos, or enter a repo manually in owner/repo format. Without a token, manual entry still works.

Once added, repositories appear on the left. Use the arrow keys to switch between them, and you will see a summary of stars, forks, and open counts. The main panel lists issues and pull requests; press Enter to open a preview, then Enter again to open it in your browser. The preview includes the issue or PR description plus the latest comments, with a "Load older" option when more are available.

Quick keys:

  • i / p: jump between Issues and Pull Requests
  • c: show or hide closed issues/PRs
  • r: refresh the selected repo
  • q: quit

GitHub token

To enable repository picking and higher API limits, set a personal access token in GITHUB_TOKEN (recommended via a .env file in ~/.config/ghpeek/.env). For private repositories, the token needs the repo scope. For public repos only, public_repo (or no scopes) is sufficient.

License

The project is licensed under the MIT License. See the LICENSE file for details.

Contributing

I would love to see contributions to GHpeek! If you have any ideas for new features or improvements, please feel free to open an issue or submit a pull request.

Acknowledgements

This project uses the following open source libraries:

GHpeek was inspired by other terminal-based tools and was originally written by Kim Schulz.

Roadmap

  • Add search and filtering by label, author, and assignee
  • Add notifications or a background refresh mode
  • Add quick actions (close/reopen, comment) directly from the TUI

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ghpeek-0.2.0.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ghpeek-0.2.0-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file ghpeek-0.2.0.tar.gz.

File metadata

  • Download URL: ghpeek-0.2.0.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for ghpeek-0.2.0.tar.gz
Algorithm Hash digest
SHA256 aa00faa2530bc51458e3d1f729f7923791a316a668e16d1111c5246febce9747
MD5 ec277cb2dcd4ce0b83318e930318b2ba
BLAKE2b-256 0b342fcf6c5b2cba8a96ffd0d48e966f4d4e12e69b532444cc5476009ebfdc76

See more details on using hashes here.

File details

Details for the file ghpeek-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: ghpeek-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 10.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for ghpeek-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 799893b077e80074562b147a98b9d309e23426698563bf4546d46cb2a3824d31
MD5 027b5108e64d4affc66d7f3930dfbc27
BLAKE2b-256 929789aff9f72f9a0f11fd01668f5d4d9269d972731f855dd57e11176ffbbd18

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page