Github
@bixu/githubv2026.05.05.1
01README
GitHub resource models (repos, issues, PRs, members, Actions runs) using Octokit REST SDK
02Models
@bixu/github/repov2026.03.10.1github_repo.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| token | string | GitHub personal access token |
| org? | string | Default GitHub organization (can be overridden per method) |
| owner? | string | Default repository owner for repo-scoped methods |
fn list(org?: string, type: enum, sort: enum, json: boolean)
List repositories for an organization
| Argument | Type | Description |
|---|---|---|
| org? | string | GitHub organization |
| type | enum | Filter by repo type |
| sort | enum | Sort field |
| json | boolean | Output raw JSON instead of a table |
fn listForUser(username?: string, type: enum, sort: enum, json: boolean)
List repositories for the authenticated user or a specified user
| Argument | Type | Description |
|---|---|---|
| username? | string | GitHub username (omit to list repos for the authenticated user) |
| type | enum | Filter by repo relationship to user |
| sort | enum | Sort field |
| json | boolean | Output raw JSON instead of a table |
fn get(repo: string, owner?: string)
Get details for a single repository
| Argument | Type | Description |
|---|---|---|
| repo | string | Repository name |
| owner? | string | Repository owner (defaults to org or owner global arg) |
fn searchCode(query: string, org?: string, repo?: string, owner?: string, language?: string, path?: string, limit: number, json: boolean)
Search code across repositories using GitHub code search syntax
| Argument | Type | Description |
|---|---|---|
| query | string | Search query (GitHub code search syntax, e.g. 'ipv6 language:groovy') |
| org? | string | Organization to scope search to |
| repo? | string | Repository name to scope search to (requires org/owner) |
| owner? | string | Repository owner to scope search to (used with repo) |
| language? | string | Filter by programming language |
| path? | string | Filter by file path (e.g. 'Jenkinsfile' or '*.gradle') |
| limit | number | Maximum number of results to return |
| json | boolean | Output raw JSON |
Resources
repo(infinite)— GitHub repository
codeResult(infinite)— GitHub code search result
@bixu/github/issuev2026.03.10.1github_issue.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| token | string | GitHub personal access token |
| org? | string | Default GitHub organization (can be overridden per method) |
| owner? | string | Default repository owner for repo-scoped methods |
fn search(query: string, owner?: string, repo?: string, state: enum, limit: number, json: boolean)
Search issues across repositories using GitHub search syntax
| Argument | Type | Description |
|---|---|---|
| query | string | Search query (GitHub issues search syntax, e.g. 'network-helper immutable') |
| owner? | string | Repository owner to scope search to (used with repo) |
| repo? | string | Repository name to scope search to (requires owner) |
| state | enum | Filter by state |
| limit | number | Maximum number of results to return |
| json | boolean | Output raw JSON |
fn list(repo: string, owner?: string, state: enum, labels?: string, json: boolean)
List issues for a repository
| Argument | Type | Description |
|---|---|---|
| repo | string | Repository name |
| owner? | string | Repository owner |
| state | enum | Filter by state |
| labels? | string | Comma-separated list of label names to filter by |
| json | boolean | Output raw JSON |
Resources
issue(infinite)— GitHub issue
@bixu/github/pullv2026.03.09.1github_pull.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| token | string | GitHub personal access token |
| org? | string | Default GitHub organization (can be overridden per method) |
| owner? | string | Default repository owner for repo-scoped methods |
fn list(repo: string, owner?: string, state: enum, json: boolean)
List pull requests for a repository
| Argument | Type | Description |
|---|---|---|
| repo | string | Repository name |
| owner? | string | Repository owner |
| state | enum | Filter by state |
| json | boolean | Output raw JSON |
Resources
pull(infinite)— GitHub pull request
@bixu/github/memberv2026.03.09.1github_member.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| token | string | GitHub personal access token |
| org? | string | Default GitHub organization (can be overridden per method) |
fn list(org?: string, role: enum, json: boolean)
List members of an organization
| Argument | Type | Description |
|---|---|---|
| org? | string | GitHub organization |
| role | enum | Filter by role |
| json | boolean | Output raw JSON |
Resources
member(infinite)— GitHub organization member
@bixu/github/actionsv2026.05.05.1github_actions.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| token? | string | GitHub token (auto-detected from GH_TOKEN, GITHUB_TOKEN, or gh CLI config) |
| owner | string | Repository owner |
| repo | string | Repository name |
fn pr(pr: number, json: boolean)
Get the latest Actions runs for a pull request
| Argument | Type | Description |
|---|---|---|
| pr | number | Pull request number |
| json | boolean | Output raw JSON |
fn watch(pr: number, interval: number)
Poll a PR's workflow runs until all complete, printing status each interval
| Argument | Type | Description |
|---|---|---|
| pr | number | Pull request number |
| interval | number | Polling interval in seconds (default: 30) |
Resources
run(1d)— GitHub Actions workflow run
03Previous Versions
2026.04.23.2Apr 23, 2026
2026.04.23.1Apr 23, 2026
2026.03.10.1Mar 10, 2026
2026.03.09.1Mar 9, 2026
04Stats
D
58 / 100
Downloads
13
Archive size
228.5 KB
- Has README or module doc0/2missing
- README has a code example0/1missing
- README is substantive0/1pending
- Most symbols documented1/1earned
- No slow types1/1earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared0/1missing
- Verified public repository2/2earned
Repository
https://github.com/bixu/swamp-extensions05Platforms
06Labels