Turn your upstream pull requests into an automated, visual open-source portfolio directly inside your GitHub Profile README.
- 🚀 Single-Query GraphQL Engine: Collapses all PR, repository, star count, and owner avatar lookups into a single network roundtrip with automated REST fallback.
- 🎨 Visual Portfolio: Renders upstream organization avatars (
github.com/<owner>.png), repository descriptions, and Shields.io live star counts. - 📂 Interactive Drawers: Features recent high-impact merged PRs while gracefully tucking older and in-review contributions into collapsible
<details>accordions. - 🛡️ Zero Dependencies: Pure Python standard library (
urllib,json,re,argparse). Nopip installrequired for CI runners, zero supply-chain risk. - 📦 Dual Modality: Usable both as a drop-in GitHub Action (
uses: Aayushyaash/pr-showcase@v1) and as a standalone CLI tool (python scripts/update_contributions.py).
In your profile repository (<username>/<username>), create .github/workflows/update-contributions.yml:
name: Update Open Source Contributions
on:
schedule:
- cron: '17 2 * * *' # Nightly off-peak run
workflow_dispatch: # Manual trigger
permissions:
contents: write
jobs:
showcase:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Update Showcase
uses: Aayushyaash/pr-showcase@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
username: ${{ github.repository_owner }}
- name: Commit and push changes
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add README.md
git diff --quiet && git diff --staged --quiet || (git commit -m "chore(readme): auto-update open-source showcase" && git push)Important: Ensure your repository workflow permissions are set to "Read and write permissions" under Settings → Actions → General. See the Setup Guide for details.
# Preview without modifying files
python scripts/update_contributions.py --username <USERNAME> --dry-run
# Update target file directly
python scripts/update_contributions.py --username <USERNAME> --target-file README.mdDetailed documentation and technical specifications are available in the docs/ directory:
- 🛠️ Setup & Deployment Guide: Step-by-step setup, workflow permissions, and GitHub Actions cron guidance.
- ⚙️ Configuration Reference: Full parameters table, visibility flags, modular sub-markers, and conflict resolution rules.
- 🏗️ Technical Architecture: Single-query GraphQL engine, claimed section injection, and atomic marker replacement.
Below is an example of the standard full showcase rendered by pr-showcase:
astral-sh/uv
An extremely fast Python package and project manager, written in Rust.
- #4120 feat(resolver): optimize dependency resolution with parallel SAT solver
- #4098 fix(cli): preserve custom index credentials on lockfile sync
neovim/neovim
Vim-fork focused on extensibility and usability.
- #28410 feat(lsp): support dynamic registration for workspace folders
BurntSushi/ripgrep
ripgrep recursively searches directories for a regex pattern while respecting your gitignore.
- #2650 fix(search): handle utf-16 surrogate pairs in binary detection
4 open pull requests across 2 repositories
- #4215 feat(build): add wheel tag validation for musllinux targets
- #28550 fix(ui): prevent cursor flicker during fast terminal redraw
This project is licensed under the MIT License.
- Concept Inspiration: Original profile PR tracking pattern inspired by @SajalDevX (SajalDevX/SajalDevX).
- Architecture & Tooling: Re-engineered by @Aayushyaash into
pr-showcase, a zero-config, single-query GraphQL engine with automated repository description fetching, organization avatars, interactive drawers, and live star counts. - Badges: Powered by Shields.io.