Ratifact
November 28, 2025 · View on GitHub
Ratifact
Track and manage build artifacts from multiple programming languages.
This TUI app runs in your terminal and helps you monitor build processes, track artifacts, and clean up old builds. Built with Ratatui.
Table of Contents
- What Does This Do?
- Quick Start
- How to Use It
- What You Need
- Special Notes
- Uninstall
- Contributing
- License
What Does This Do?
- Tracks build artifacts - Monitors directories for build outputs from Rust, JavaScript, Python, Go, C/C++, Java, PHP, Ruby, Swift, Kotlin, Scala, Haskell, Elixir, and more.
- Shows artifact details - Displays size, modification time, and language type in a table.
- Selective deletion - Choose individual or bulk delete with confirmations.
- Timeframe cleanup - Set rules to auto-remove old artifacts.
- Rebuild integration - Trigger rebuilds for tracked projects.
- Works everywhere - Fully supported on Linux, macOS, and Windows with easy one-liner installation.
Quick Start (Easiest Way)
Linux
Copy and paste this into your terminal:
sudo apt update && sudo apt install -y curl git && curl -fsSL https://raw.githubusercontent.com/adolfousier/ratifact/main/src/scripts/linux/install.sh | bash
That's it! The app will build and start automatically.
macOS
- Install Docker Desktop first (or the script will install it)
- Then paste this into Terminal:
curl -fsSL https://raw.githubusercontent.com/adolfousier/ratifact/main/src/scripts/macos/install.sh | bash
Windows
Open PowerShell as Administrator and run:
powershell -Command "iwr -useb https://raw.githubusercontent.com/adolfousier/ratifact/main/src/scripts/windows/install.ps1 | iex"
Already Have Rust and Docker?
If you already have the prerequisites installed:
git clone https://github.com/adolfousier/ratifact.git && cd ratifact && cargo build && ./target/debug/ratifact
Build with Just
Use the provided justfile for common tasks:
just build # Build the project
just run # Build and run
just test # Run tests
just release # Build release version
just clean # Clean artifacts
just help # Show all targets
How to Use It
Once the app is running:
- Tab - Switch between views (artifacts, history, charts, settings, summary)
- ↑↓ - Navigate within panels
- Enter - Select/rebuild in artifacts, edit settings in settings panel
- s - Start scanning for artifacts
- d - Delete selected artifacts
- r - Rebuild a project
- h - Load history
- q - Quit
In settings panel, use Enter to open popup for editing retention days, scan path, or toggling automatic removal. For scan path, browse directories with ↑↓ and Enter.
The app detects languages automatically and tracks builds once scanned.
Settings
Customize the app behavior:
- Retention Days: Set how long to keep artifacts (default: 30 days)
- Scan Path: Choose the directory to scan for builds (default: current directory)
- Automatic Removal: Enable/disable auto-cleanup of old artifacts
Use Enter in the settings panel to edit these options via popups.
What You Need
- Computer: Linux, macOS, or Windows
- Rust: Latest stable version
- Space: Minimal, depends on your build artifacts
Special Notes
First time running: The app connects to PostgreSQL and creates tables automatically.
Permissions: Ensure read/write access to project directories and PostgreSQL access.
Uninstall
To uninstall Ratifact and remove all associated components, use the uninstall scripts:
Linux
curl -fsSL https://raw.githubusercontent.com/adolfousier/ratifact/main/src/scripts/linux/uninstall.sh | bash
Or locally:
bash src/scripts/linux/uninstall.sh
Or using Make:
make uninstall
macOS
curl -fsSL https://raw.githubusercontent.com/adolfousier/ratifact/main/src/scripts/macos/uninstall.sh | bash
Or locally:
bash src/scripts/macos/uninstall.sh
Or using Make:
make uninstall
Windows
Open PowerShell as Administrator and run:
powershell -Command "iwr -useb https://raw.githubusercontent.com/adolfousier/ratifact/main/src/scripts/windows/uninstall.ps1 | iex"
Or locally:
powershell -ExecutionPolicy Bypass -File src/scripts/windows/uninstall.ps1
What the Uninstall Script Does
The uninstall process will:
- Stop PostgreSQL container - Shuts down the running Docker container
- Remove database volume (optional) - You'll be prompted to confirm deletion of all database data
- Clean build artifacts - Removes compiled binaries and intermediate build files
- Remove installation directory (optional) - You can choose to keep the source code or remove it completely
The script logs all actions to a file (e.g., /tmp/ratifact-uninstall-*.log) for reference.
Contributing
Found a bug or want to add something? Check CONTRIBUTING.md.
License
See LICENSE file for details.