{"id":48147448,"url":"https://github.com/maria-rcks/pi-github","last_synced_at":"2026-04-04T17:01:39.689Z","repository":{"id":340870641,"uuid":"1167972662","full_name":"maria-rcks/pi-github","owner":"maria-rcks","description":"GitHub extension package for Pi","archived":false,"fork":false,"pushed_at":"2026-02-26T22:20:02.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-27T04:39:40.330Z","etag":null,"topics":["github","markdown","package","pi","pi-dev","pi-package","tool"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maria-rcks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-26T22:07:14.000Z","updated_at":"2026-02-26T22:20:06.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/maria-rcks/pi-github","commit_stats":null,"previous_names":["maria-rcks/pi-github"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/maria-rcks/pi-github","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maria-rcks%2Fpi-github","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maria-rcks%2Fpi-github/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maria-rcks%2Fpi-github/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maria-rcks%2Fpi-github/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maria-rcks","download_url":"https://codeload.github.com/maria-rcks/pi-github/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maria-rcks%2Fpi-github/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31407391,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["github","markdown","package","pi","pi-dev","pi-package","tool"],"created_at":"2026-04-04T17:01:37.772Z","updated_at":"2026-04-04T17:01:39.320Z","avatar_url":"https://github.com/maria-rcks.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# pi-github\n\n[![License](https://img.shields.io/badge/license-MIT-111111?style=flat-square)](./LICENSE)\n[![Pi extension](https://img.shields.io/badge/pi-extension-111111?style=flat-square)](https://pi.dev)\n[![GitHub](https://img.shields.io/badge/github-maria--rcks%2Fpi--github-111111?style=flat-square\u0026logo=github)](https://github.com/maria-rcks/pi-github)\n\nGitHub extension package for [Pi](https://pi.dev) with thread formatting, issue/PR listing, image extraction, and PR diff inspection.\n\u003c/div\u003e\n\n## Install\n\nUse whichever source you prefer:\n\n```bash\npi install npm:pi-github\n# or\npi install git:github.com/maria-rcks/pi-github\n# or\npi install /absolute/path/to/pi-github\n```\n\n## How it works\n\n- This extension calls the GitHub CLI (`gh`) under the hood (`gh api ...`) to fetch issues, PRs, discussions, images, and diffs.\n- `gh` must be installed and available in `PATH`.\n- `gh` must be authenticated for the account you want to use (`gh auth login`).\n- If you do not pass `owner`/`repo`, the tool tries to infer them from `git remote origin`.\n\n## What this package does\n\n- Formats issues, pull requests, and discussions into chronological markdown.\n- Lists open issues and pull requests with pagination support.\n- Extracts image references and downloads a selected image by ID.\n- Lists PR changed files and fetches per-file diffs.\n- Provides PR workflow helpers (overview, checks, commits, review comments, participants).\n- Adds remote repository read/search utilities (file read, directory list, code/commit search, glob files).\n\n## Tool actions\n\nTool name: `github`\n\n- `format` (default)\n  - optional filters: `author`, `kind`, `since`, `until`, `contains`\n- `list_issues`\n- `list_prs`\n- `list_images`\n- `download_image`\n- `list_changes` (PR only)\n- `get_change` (PR only)\n- `list_participants`\n- `list_review_comments` (PR only, supports `author`/`path`/`since`/`until` filters)\n- `list_pr_commits` (PR only)\n- `get_pr_commit` (PR only, requires `commitSha`)\n- `list_pr_checks` (PR only)\n- `pr_overview` (PR only, optional `includeFiles`/`includeReviews`/`includeChecks`)\n- `read_file` (repo file content with optional `startLine`/`endLine`/`ref`)\n- `list_directory` (repo directory entries with optional `ref`)\n- `search_code` (repo code search with optional `path`)\n- `glob_files` (repo tree glob filter with `filePattern`, optional `offset`/`limit`/`ref`)\n- `search_commits` (repo commit search using `query` and optional `author`/`since`/`until`)\n\nCore params:\n\n- `owner`, `repo` (optional if `git remote origin` points to GitHub)\n- `id` (alias: `number`)\n- `entity`: `issue | pr | discussion` (optional, auto-detected)\n\n## Links\n\n- Repository: https://github.com/maria-rcks/pi-github\n- Issues: https://github.com/maria-rcks/pi-github/issues\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaria-rcks%2Fpi-github","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaria-rcks%2Fpi-github","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaria-rcks%2Fpi-github/lists"}