Skip to content

felipe-software/pr-run

Repository files navigation

PR-run (Work in progress)

The app made for people who review multiple Pull Requests every day. Publish npm package image

Run

PR-run requires Bun.

bunx pr-run

This starts the local backend, serves the browser UI, and opens it in your default browser. Use bunx pr-run --no-open to print the URL without opening a browser. Press Ctrl+C to stop the local servers.

Git, GitHub CLI (gh), Docker, and editor CLIs are optional and are only needed for the workflows that use them.

When reading diffs on github isn't enough, you may need to run a PR in your local machine. So you have to:

  • Manually create a worktree.
  • Manually set up a .env
  • Manually start/stop docker containers.
    And when testing PRs e2e (like a web app pointing to an API) you have to make sure everything is working right.

    I don't know if someone already solved this problem, but I lost so much time doing this manually that I decided to create my own solution.

General View (Create worktree, commits history, overall activity)

general

Scripts

Typescript files that can be manually or automatically executed. You can also use it for shell commands, like "npm install", "rm -r node_modules"
image scripts

Diffs

A standard diff view that doesn't crash your computer if the PR is too big (yeah, github diff view sucks) diffs

This project copies a lot of things from t3code Feel free to open PRs :)

About

Don't waste your time trying to run a Pull Request. Just PR-run-it

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors