Ghub is a library that provides basic support for using the Github API from Emacs packages. It abstracts access to API resources using only a handful of functions that are not resource-specific.
Ghub handles the creation, storage and use of access tokens using a setup wizard to make it easier for users to get started and to reduce the support burden imposed on package maintainers. It also comes with a comprehensive manual to address the cases when things don’t just work as expected or in case you don’t want to use the wizard.
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 the Github API could be configured the same way.
This manual is for Ghub version 2.0.0 (v2.0.0-8-g7f23879+1).
Copyright (C) 2017-2018 Jonas Bernoulli <firstname.lastname@example.org>
You can redistribute this document and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This document is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|• Getting Started:|
|• Using Ghub in Personal Scripts:|
|• Using Ghub in a Package:|
|• Gitlab Support:|
— The Detailed Node Listing — Getting Started
|• Setting the Username:|
|• Interactively Creating and Storing a Token:|
|• Manually Creating and Storing a Token:|
|• How Ghub uses Auth-Source:|
|• Making Requests:|
|• Configuration Variables:|