Skip to main content

@bixu/github

v2026.04.23.2

GitHub resource models (repos, issues, PRs, members) using Octokit REST SDK

Repository

https://github.com/bixu/swamp-extensions

Quality score

How well-documented and verifiable this extension is.

100%

Grade A

  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Has description1/1earned
  • At least one platform tag (or universal)1/1earned
  • Two or more platform tags (or universal)1/1earned
  • License declared1/1earned
  • Verified public repository2/2earned

Install

$ swamp extension pull @bixu/github

@bixu/github/repov2026.03.10.1github_repo.ts

Global Arguments

ArgumentTypeDescription
tokenstringGitHub personal access token
org?stringDefault GitHub organization (can be overridden per method)
owner?stringDefault repository owner for repo-scoped methods
listList repositories for an organization
ArgumentTypeDescription
org?stringGitHub organization
typeenumFilter by repo type
sortenumSort field
jsonbooleanOutput raw JSON instead of a table
listForUserList repositories for the authenticated user or a specified user
ArgumentTypeDescription
username?stringGitHub username (omit to list repos for the authenticated user)
typeenumFilter by repo relationship to user
sortenumSort field
jsonbooleanOutput raw JSON instead of a table
getGet details for a single repository
ArgumentTypeDescription
repostringRepository name
owner?stringRepository owner (defaults to org or owner global arg)
searchCodeSearch code across repositories using GitHub code search syntax
ArgumentTypeDescription
querystringSearch query (GitHub code search syntax, e.g. 'ipv6 language:groovy')
org?stringOrganization to scope search to
repo?stringRepository name to scope search to (requires org/owner)
owner?stringRepository owner to scope search to (used with repo)
language?stringFilter by programming language
path?stringFilter by file path (e.g. 'Jenkinsfile' or '*.gradle')
limitnumberMaximum number of results to return
jsonbooleanOutput raw JSON

Resources

repo(infinite)— GitHub repository
codeResult(infinite)— GitHub code search result
@bixu/github/issuev2026.03.10.1github_issue.ts

Global Arguments

ArgumentTypeDescription
tokenstringGitHub personal access token
org?stringDefault GitHub organization (can be overridden per method)
owner?stringDefault repository owner for repo-scoped methods
searchSearch issues across repositories using GitHub search syntax
ArgumentTypeDescription
querystringSearch query (GitHub issues search syntax, e.g. 'network-helper immutable')
owner?stringRepository owner to scope search to (used with repo)
repo?stringRepository name to scope search to (requires owner)
stateenumFilter by state
limitnumberMaximum number of results to return
jsonbooleanOutput raw JSON
listList issues for a repository
ArgumentTypeDescription
repostringRepository name
owner?stringRepository owner
stateenumFilter by state
labels?stringComma-separated list of label names to filter by
jsonbooleanOutput raw JSON

Resources

issue(infinite)— GitHub issue
@bixu/github/pullv2026.03.09.1github_pull.ts

Global Arguments

ArgumentTypeDescription
tokenstringGitHub personal access token
org?stringDefault GitHub organization (can be overridden per method)
owner?stringDefault repository owner for repo-scoped methods
listList pull requests for a repository
ArgumentTypeDescription
repostringRepository name
owner?stringRepository owner
stateenumFilter by state
jsonbooleanOutput raw JSON

Resources

pull(infinite)— GitHub pull request
@bixu/github/memberv2026.03.09.1github_member.ts

Global Arguments

ArgumentTypeDescription
tokenstringGitHub personal access token
org?stringDefault GitHub organization (can be overridden per method)
listList members of an organization
ArgumentTypeDescription
org?stringGitHub organization
roleenumFilter by role
jsonbooleanOutput raw JSON

Resources

member(infinite)— GitHub organization member