https://github.com/zhanba/pji
Git repos, organized
https://github.com/zhanba/pji
cli git worktree
Last synced: about 2 months ago
JSON representation
Git repos, organized
- Host: GitHub
- URL: https://github.com/zhanba/pji
- Owner: zhanba
- License: mit
- Created: 2025-01-29T11:55:59.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2026-01-28T02:10:14.000Z (3 months ago)
- Last Synced: 2026-02-24T23:42:33.920Z (2 months ago)
- Topics: cli, git, worktree
- Language: Rust
- Homepage:
- Size: 111 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pji
[](https://crates.io/crates/pji)
[](https://opensource.org/licenses/MIT)
Git repos, organized
## Install
```sh
cargo install pji
```
or
```sh
brew install zhanba/tap/pji
```
## Usage
### Commands
| Command | Description |
|---------|-------------|
| `pji [QUERY]` | Fuzzy find and cd into a repository (default) |
| `pji add ` | Clone and register a repository |
| `pji remove ` | Remove a repository |
| `pji list [-l]` | List repositories (`-l` for detailed view) |
| `pji scan` | Discover and add existing repositories |
| `pji config` | Configure root directories |
| `pji clean` | Remove pji metadata and config |
### Open in Browser
| Command | Description |
|---------|-------------|
| `pji open [REPO]` | Open repository homepage |
| `pji open pr [NUMBER]` | Open pull request page |
| `pji open issue [NUMBER]` | Open issue page |
### Worktree Management (`pji wt`)
| Command | Description |
|---------|-------------|
| `pji wt` | Switch between worktrees (default) |
| `pji wt add` | Create worktree interactively |
| `pji wt list` | List all worktrees |
| `pji wt remove` | Remove a worktree |
| `pji wt prune` | Clean up stale worktree info |
### Directory Structure
```
$ROOT/
├── github.com/
│ └── user/
│ └── repo/
└── gitlab.com/
└── user/
└── repo/
```
## Inspired By
- [projj](https://github.com/popomore/projj)
## License
MIT