A client for the GitHub REST and GraphQL API: repositories, issues, pull requests, releases with assets, branches, tags, files, Actions and gists
githubgitissuespull-requestsreleases
[decks]
"@deckyard/github" = "^0.6.0"| Version | Status | Kind | Pin | Requires | Engines | Capabilities |
|---|---|---|---|---|---|---|
| 0.6.0 | live | git | 13c0d42d357b | - | jennifer >=0.28.0 | net |
| 0.5.0 | live | git | 95c5daaeeda2 | - | jennifer >=0.27.0 | net |
| 0.4.0 | live | git | 5f01deb887ed | - | jennifer >=0.26.0 | net |
| 0.3.0 | live | git | 92f0d275d175 | - | jennifer >=0.26.0 | net |
| 0.2.0 | live | git | 368d757e2ec5 | - | jennifer >=0.26.0 | net |
| 0.1.0 | live | git | 3d8cf0c76071 | - | jennifer >=0.26.0 | net |
LGPL-3.0-only
0.6.0Times a client asked this registry where to find this deck. Not downloads: the registry only stores metadata, and the code is fetched from its repository directly, so we never see an install and cannot count one. Repeated builds inflate these numbers; installs from an existing lockfile do not appear at all. Counted in UTC.
A client for the GitHub™ REST and GraphQL™ API, for Jennifer programs: github.com or GitHub Enterprise Server. Repositories with their collaborators and webhooks; issues, comments, labels and milestones; pull requests, reviews and merging; releases with their assets; branches, tags and files; commits, commit statuses, check runs and Actions; gists. call, getAll and graphql reach everything else. Actions secrets are sealed on the machine before they are sent.
This deck is part of Deckyard, community decks for Jennifer.
jvc add @deckyard/githubThis vendors the deck to vendor/<scope>/github/. Without jvc, unpack the src/ subtree of a release archive (<scope>-github-<version>.tar.gz) there.
import "@deckyard/github/" as github;
def c as github.Client init github.client("github.com");
$c = github.withToken($c, os.getEnv("GITHUB_TOKEN"));
for (def i in github.issues($c, "me/app", "open")) {
io.printf("#%d %s\n", $i.number, $i.title);
}
def rel as github.Release init github.createRelease($c, "me/app", "1.2.0", "", "", "Notes", false);
github.uploadAsset($c, "me/app", $rel.id, "app.tar.gz", "application/gzip", fs.readBytes("dist/app.tar.gz"));Jennifer 0.28.0 or newer, the default jennifer binary (not jennifer-tiny), and the net capability.
tools/check-all.sh # the full gate, as CI runs it
jennifer test src/github_test.j # the test overlay
tools/check-docs.sh # docs against the code
tools/pack.sh dist # build the release archiveGitHub™ is a trademark of GitHub, Inc. GraphQL™ is a trademark of LF Projects, LLC. Other product and company names may be trademarks of their respective owners. They are used only to identify the products this deck works with. This deck is an independent project, not affiliated with, sponsored or endorsed by GitHub, Inc.
LGPL-3.0-only, see LICENSE. Copyright (C) 2026 mplx <[email protected]>.
tools/check-headers.sh checks every source file's SPDX header against deck.toml.