@3mr5aled/rtb
v0.13.7
Published
Unified workspace & project manager CLI
Maintainers
Readme
@3mr5aled/rtb
RTB — رتّب (Repository & Tooling Base)
Unified developer workspace manager, modern CLI UX cockpit, AI launcher, and project telemetry engine.
⠀⠀⢸⣿⣿⣿⣿⣿⣿⣷⡄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⢸⣿⣿⣿⣿⣿⣿⣿⣷⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⠀
⠀⠀⢸⣿⣿⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠀⠀⠀⠀⠀
⠀⠀⢸⣿⡏⢠⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡟
⠀ ⢸⣿⠃⣼⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿ ⣿ ⣿⣿⣿⣿⣿⣿⣿⣿⣿⠃⠀⠀
⠀⠀⢸⡟⢀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠃⠀⠀
⠀⠀⢸⡇⢸⣿⣿⣿⣿⣿⣿ ⣿⣿⣿⣿ ⣿⣿⣿ ⣿⣿⣿⣿ ⣿⣿⣿⡟⠀⠀⠀
⠀⠀⢸⠁⣿⣿⣿⣿⣿⣿⣿ ⣿⣿⣿ ⣿⣿⣿⡟⠀⠀⠀
⠀⠀⢸⢀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿ ⣿⣿⣿⡟⠀⠀⠀⠀
⠀⠀⠘⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿ ⣿⣿⣿⣿⣿⣿⣿ ⣿⣿⣿⣿⡿⠀⠀⠀⠀
⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠇⠀⠀⠀⠀
⠀ ⠈⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⚡ Quick Start
1-Line Setup & Install (Recommended)
Run the guided installation setup directly with npx. It configures your workspace roots, lifecycle folders, terminal hooks, downloads the native TUI (or lets you defer it), and installs the rtb CLI launcher directly into your PATH:
npx @3mr5aled/rtb installGlobal Installation via npm
Install globally with npm to have rtb available across your terminal:
npm install -g @3mr5aled/rtbInstant Execution with npx
Run commands directly on demand without permanent installation:
# Full interactive setup & launcher install
npx @3mr5aled/rtb install
# Launch the interactive prompt launcher
npx @3mr5aled/rtb menu
# Initialize your workspace
npx @3mr5aled/rtb init
# Open native Ratatui TUI
npx @3mr5aled/rtb ui✨ Features
- ⚡ Interactive Command Menu (
rtb menu): Arrow-navigable command cockpit powered by@clack/promptsto run scripts, switch directories, and launch agents with zero memorization. - 🧙 Modern Onboarding Wizard (
rtb init): Guided setup with workspace root discovery, 8 lifecycle multi-select folders (01-Active,02-Backlog, etc.), automated shell hook integration, and interactive choice to download or defer the native Terminal UI. - 🧭 Context-Aware Hero Banner: Golden Braille brand logo, current workspace metrics, and local project environment detection on bare
rtborrtb --help. - 🔄 Unified Ora Task Spinners: Custom animated golden braille spinner frames with elapsed time diagnostics across long-running async tasks.
- 🚀 Multi-Runtime Project Operations: Auto-detects and runs dev/build/test scripts across Node.js (
npm,pnpm,yarn,bun), Rust (cargo), Python (pytest,poetry,uv), and Go. - 🔍 Fuzzy Directory Navigation (
rtb goto): Fast fuzzy scoring to jump straight into any project directory across all configured roots. - 🤖 AI Agent Orchestration: Launch Google Antigravity (
rtb agy), Claude (rtb claude), Gemini (rtb gemini), or Cursor (rtb cursor) with auto-generated project context (.rtb_context.md). - 🩺 System Diagnostics (
rtb doctor&rtb health): Verify toolchain requirements and scan Git repositories across all roots for uncommitted changes or missing remotes. - 🖥️ Native Terminal UI (
rtb ui): Interactive Rust Ratatui dashboard with multi-pane project browsing, Git telemetry, and dependency cleanup. - ⌨️ Cross-Shell Autocompletion: Tab completion for project names and subcommands across PowerShell, Bash, Zsh, and Fish.
🎮 Interactive CLI Experience
1. Interactive Command Menu (rtb menu)
rtb menuNavigate with arrow keys and press Enter:
- Run / Build / Test: Select a project and execute its detected start, build, or test scripts.
- Quick Goto: Interactive project picker to switch directories.
- Launch TUI: Start the full Ratatui interactive operations dashboard (
rtbtui). - Health Doctor: Run toolchain diagnostics or Git telemetry health scans.
- AI Agent Cockpit: Launch Google Antigravity, Claude, Gemini, or Cursor with context.
- Configuration: Edit
rtb.config.jsonin your favorite editor.
2. Guided Workspace Setup (rtb init)
rtb init- Brand Intro: Welcomes you with the Golden Braille emblem.
- Project Root Selection: Auto-detects workspace directory or prompts for custom path.
- Lifecycle Scaffolding: Checkbox multi-select for lifecycle folders (
01-Active,04-Paused,05-Archive, etc.). - Automated Shell Integration: Detects active shell (
PowerShell,Bash,Zsh,Fish) and installs directory switching wrappers. - Verification: Displays saved configuration path and immediate next steps.
🛠️ Command Reference
| Command | Description |
| :-------------------------------------- | :---------------------------------------------------- |
| rtb menu | Launch interactive prompt command cockpit |
| rtb init [--force] | Run interactive 5-step onboarding wizard |
| rtb goto <name> [--<agent>] | Fuzzy project search & fast directory jump |
| rtb run [project] | Auto-detect and run dev/start scripts |
| rtb build [project] | Auto-detect and run project build pipelines |
| rtb test [project] | Auto-detect and run project test suites |
| rtb list [--active\|--paused\|--json] | List managed projects with status & timestamps |
| rtb status [--json] | Fast one-line prompt status segment |
| rtb doctor | System health check (roots, git, runtimes, agents) |
| rtb health | Git repository health scan across project roots |
| rtb deps [project] | Audit declared project dependencies |
| rtb new <name> [--stack <type>] | Scaffold a new project in 01-Active |
| rtb pause <name> [--prune] | Move project to 04-Paused |
| rtb resume <name> [--install] | Move project back to 01-Active |
| rtb ui | Launch native interactive Rust Terminal UI (rtbtui) |
| rtb agy\|claude\|gemini [project] | Launch AI agent with auto-generated context |
| rtb config | Open rtb.config.json in default editor |
| rtb completion <shell> | Output autocompletion script (pwsh, bash, zsh, fish) |
| rtb shell-init <shell> | Output directory changing wrapper function |
⌨️ Shell Integration
To enable directory changes on rtb goto and tab autocompletion in your shell:
PowerShell ($PROFILE)
# Directory switching function
Invoke-Expression (& rtb shell-init pwsh)
# Autocompletion
rtb completion pwsh | Out-String | Invoke-ExpressionBash (~/.bashrc)
eval "$(rtb shell-init bash)"
eval "$(rtb completion bash)"Zsh (~/.zshrc)
eval "$(rtb shell-init zsh)"
eval "$(rtb completion zsh)"Fish (~/.config/fish/config.fish)
rtb shell-init fish | source
rtb completion fish | source⚙️ Configuration
Configuration is stored at ~/.config/rtb/rtb.config.json (%USERPROFILE%\.config\rtb\rtb.config.json on Windows):
{
"version": "1.0.0",
"projectRoots": {
"active": {
"path": "D:\\Projects\\01-Active",
"label": "Active Projects",
"emoji": "⚡"
},
"paused": {
"path": "D:\\Projects\\04-Paused",
"label": "On Hold",
"emoji": "⏸️"
}
}
}Run rtb config anytime to edit your configuration.
📄 License
Distributed under the MIT License.
Copyright © 2026 Amr Khaled (@3mr-5aled).
