JSPM

@arielton/shippr

0.1.5
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 6
  • Score
    100M100P100Q42259F
  • License MIT

GitHub PR shipper TUI/CLI (Go) with npm installer shim

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@arielton/shippr) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    shippr 🚢

    Interactive CLI for finding and merging GitHub PRs quickly.

    shippr

    Features

    • Interactive TUI for listing and filtering open PRs
    • View, merge, and manage PRs right from your terminal
    • Merge options: squash (default), rebase, or merge commit
    • Option to delete branches after merging
    • Support for listing PRs across an entire organization
    • Lightweight Go app that wraps the GitHub CLI

    Requirements

    • Go 1.21+ (if building from source)
    • GitHub CLI (gh) installed and authenticated:
      gh auth login

    Installation

    # Install globally
    npm install -g @arielton/shippr
    
    # Or run directly
    npx @arielton/shippr --help

    Note: This builds the Go binary using a postinstall script. You'll need Go installed and in your PATH.

    Option B: Build from Source

    git clone https://github.com/arioberek/shippr
    cd shippr
    go build -o shippr ./cmd/git-shippr

    This creates a shippr binary in the current directory.

    Usage

    Basic Commands

    # Browse PRs for a specific repo
    shippr --org <org> --repo <repo>
    
    # Shorthand slug format
    shippr <org/repo>
    
    # List open PRs across an organization
    shippr list --org <org>
    
    # Disable alt screen (if your terminal clears on exit)
    shippr --no-alt --org <org> --repo <repo>

    Examples

    # Browse PRs in microsoft/vscode
    shippr microsoft/vscode
    
    # List PRs in your org
    shippr list --org mycompany
    
    # With flags
    shippr --org facebook --repo react

    Keyboard Shortcuts

    Key Action
    Enter Select or confirm
    q / Esc / Ctrl+C Quit
    Typing Filter the list
    / Navigate

    How It Works

    shippr wraps the GitHub CLI (gh) to keep things simple:

    1. Lists PRs with gh pr list
    2. Shows details via gh pr view
    3. Merges using gh pr merge and your chosen method
    4. Deletes branches with the --delete-branch flag if you want

    Project Structure

    shippr/
    ├─ cmd/
    │  └─ git-shippr/
    │     └─ main.go          # Main entry point with Bubble Tea TUI
    ├─ internal/
    │  └─ gh/
    │     └─ gh.go            # GitHub CLI wrappers
    ├─ package.json           # npm config
    └─ README.md

    Contributing

    1. Fork the repo
    2. Create a feature branch (git checkout -b feature/something-cool)
    3. Commit your changes (git commit -m 'Add something cool')
    4. Push it (git push origin feature/something-cool)
    5. Open a PR

    Support

    If you encounter any issues or have questions:

    • Open an issue on GitHub
    • Check existing issues for solutions
    • Make sure gh is properly authenticated: gh auth status

    Made with ❤️ for developers who love shipping code fast! 🚀