SkillAgentSearch skills...

Ghub

Client libraries for the APIs of various Git forges

Install / Use

/learn @magit/Ghub
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

** Ghub — Client libraries for the APIs of various Git forges

Ghub provides basic support for using the APIs of various Git forges from Emacs packages. Originally it only supported the Github REST API, but now it also supports the Github GraphQL API as well as the REST APIs of Gitlab, Gitea, Gogs and Bitbucket.

Ghub abstracts access to API resources using only a handful of basic functions such as ~ghub-get~. These are convenience wrappers around ~ghub-request~. Additional forge-specific wrappers like ~glab-put~, ~gtea-put~, ~gogs-post~ and ~buck-delete~ are also available. Ghub does not provide any resource-specific functions, with the exception of ~FORGE-repository-id~.

When accessing Github, then Ghub handles the creation and storage of access tokens using a setup wizard to make it easier for users to get started. The tokens for other forges have to be created manually.

Ghub is intentionally limited to only provide these two essential features — basic request functions and guided setup — to avoid being too opinionated, which would hinder wide adoption. It is assumed that wide adoption would make life easier for users and maintainers alike, because then all packages that talk to forge APIs could be configured the same way.

Please consult the [[https://docs.magit.vc/ghub][manual]] for more information.

#+html: <br><br> #+html: <a href="https://github.com/magit/ghub/actions/workflows/compile.yml"><img alt="Compile" src="https://github.com/magit/ghub/actions/workflows/compile.yml/badge.svg"/></a> #+html: <a href="https://github.com/magit/ghub/actions/workflows/manual.yml"><img alt="Manual" src="https://github.com/magit/ghub/actions/workflows/manual.yml/badge.svg"/></a> #+html: <a href="https://stable.melpa.org/#/ghub"><img alt="MELPA Stable" src="https://stable.melpa.org/packages/ghub-badge.svg"/></a> #+html: <a href="https://melpa.org/#/ghub"><img alt="MELPA" src="https://melpa.org/packages/ghub-badge.svg"/></a>

View on GitHub
GitHub Stars175
CategoryDevelopment
Updated7d ago
Forks69

Languages

Emacs Lisp

Security Score

95/100

Audited on Apr 1, 2026

No findings