01README
Query GitHub data using the gh CLI for repository, PR, issue, release, and workflow visibility.
Authentication
Uses the gh CLI's built-in authentication. Run gh auth login to configure.
Required Tools
ghCLI (https://cli.github.com/) installed and authenticated
Usage
# Create github model
swamp model create @webframp/github github
# List your repos
swamp model method run github list_repos
# Get detailed repo info
swamp model method run github get_repo_info --input repo=owner/repo
# List open PRs
swamp model method run github list_prs --input repo=owner/repo
# List closed issues
swamp model method run github list_issues --input repo=owner/repo --input state=closed
# List releases
swamp model method run github list_releases --input repo=owner/repo
# List recent workflow runs
swamp model method run github list_workflows --input repo=owner/repoMethods
- list_repos - List repositories for the authenticated user
- get_repo_info - Get detailed information about a specific repository
- list_prs - List pull requests for a repository
- list_issues - List issues for a repository
- list_releases - List releases for a repository
- list_workflows - List recent workflow runs for a repository
02Models
@webframp/githubv2026.04.12.1github/repos.ts
fn list_repos()
List repositories for the authenticated user with basic metadata
fn get_repo_info()
Get detailed information about a specific repository including stats and metadata
fn list_prs()
List pull requests for a repository with optional state filter
fn list_issues()
List issues for a repository with optional state filter
fn list_releases()
List releases for a repository
fn list_workflows()
List recent workflow runs for a repository
Resources
repos(30m)— List of repositories for the authenticated user
repo_info(30m)— Detailed information about a specific repository
pull_requests(15m)— List of pull requests for a repository
issues(15m)— List of issues for a repository
releases(1h)— List of releases for a repository
workflow_runs(10m)— List of recent workflow runs for a repository
03Previous Versions
2026.04.13.1Apr 13, 2026
2026.04.12.1Apr 13, 2026
04Stats
A
100 / 100
Downloads
4
Archive size
8.8 KB
- 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
05Platforms
06Labels