https://github.com/djego/prt
Pull Request Tool (PRT) is a Text-based User Interface application for developers, you can use in anywhere terminal client
https://github.com/djego/prt
cli homebrew pull-requests ratatui rust tui
Last synced: 4 months ago
JSON representation
Pull Request Tool (PRT) is a Text-based User Interface application for developers, you can use in anywhere terminal client
- Host: GitHub
- URL: https://github.com/djego/prt
- Owner: djego
- Created: 2024-09-23T05:31:28.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2026-01-11T05:34:05.000Z (6 months ago)
- Last Synced: 2026-01-11T12:43:20.297Z (6 months ago)
- Topics: cli, homebrew, pull-requests, ratatui, rust, tui
- Language: Rust
- Homepage:
- Size: 151 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Agents: AGENTS.md
Awesome Lists containing this project
README
# PRT: Pull request TUI
## Description
TUI for managing pull requests on GitHub.
## Installation
### Using Homebrew
Just tap the repository and install the application.
```
brew tap djego/prt
brew install prt
```
### build from source
Go to releases and download the latest version for your platform.
```
chmod a+x prt
sudo mv prt /usr/local/bin
```
## Usage
You should have a GitHub token in order to use this application (PAT)
You can create one [here](https://github.com/settings/tokens).
After that, you can run the application with the following command:
````bash
prt
````
Insert PAT and you are ready to go!
## Development
### Nix Development Environment (Recommended)
This project includes a complete Nix flakes environment with Rust 1.92.0, Git, and all development tools pre-configured.
**Prerequisites**:
- [Nix](https://nixos.org/download.html) with flakes enabled
- [direnv](https://direnv.net/) (optional, for automatic environment loading)
**Quick Start**:
```bash
# Clone the repository
git clone https://github.com/djego/prt.git
cd prt
# Option 1: With direnv (automatic)
direnv allow
# Environment loads automatically!
# Option 2: Manual
nix develop
```
**Custom Development Commands**:
The Nix environment includes convenient shortcuts:
```bash
build # Build the project
build-release # Build optimized release
run # Run the application
test # Run all tests
test-one # Run specific test
check # Quick compilation check
fmt # Format code
clippy # Lint code
clippy-pedantic # Strict linting
```
**Example Workflow**:
```bash
cd prt
check # Quick verification
build # Compile
test # Run tests
run # Execute
```
📖 **Full Documentation**: See [NIX_SETUP.md](NIX_SETUP.md) for complete setup guide, troubleshooting, and advanced usage.
### Traditional Development (without Nix)
If you prefer to use standard Rust tools without Nix:
```bash
# Clone the repository
git clone https://github.com/djego/prt.git
cd prt
# Install dependencies and run
cargo update
cargo run
```
## Demo

Enjoy creating pull requests from TUI with PRT 🚀!!