Skip to main content

🧹 safaai — TUI-first Developer Workstation Optimizer

     _______.     ___       _______    ___           ___       __
    /       |    /   \     |   ____|  /   \         /   \     |  |
   |   (----`   /  ^  \    |  |__    /  ^  \       /  ^  \    |  |
    \   \      /  /_\  \   |   __|  /  /_\  \     /  /_\  \   |  |
.----)   |    /  _____  \  |  |    /  _____  \   /  _____  \  |  |
|_______/    /__/     \__\ |__|   /__/     \__\ /__/     \__\ |__|

Understand your workstation. Never blindly delete. Optimize like a developer.


💡 The Motivation: AI Era vs. Developer Disk Space

We live in the golden age of AI, local LLMs, and agentic coding workflows. But with great developer power comes great disk-space responsibility.

Every single week, your workstation accumulates:

  • Gigabytes of Xcode DerivedData and archived artifacts.
  • Monstrosity-level node_modules directories hidden in old forgotten directories.
  • Orphaned Docker volumes and dangling images.
  • Caching artifacts from package managers like Homebrew.
  • Massive model weights and vector DB test logs.

Sometimes, your machine starts chugging, and you just need an instant performance boost (freeing inactive RAM, purging caches, killing rogue memory-hogging consumer apps) without launching a heavy, closed-source consumer GUI app.

While there are plenty of disk cleaning utilities for Windows, developers on macOS and Linux are often left to guess which rm -rf command will break their local databases or compilation systems.

safaai is built for devs: terminal-first, completely open-source, interactive, and transparent.


🛠️ Commands Reference

Press / inside the application to open the command palette and run slash commands:

Command Action Risk Level What it does
/clean Scan & Clean Safe (Review required) Streams live disk scans across node, docker, brew, and Xcode projects. Reclaims space interactively with individual/parallel selectors.
/doctor Compute Health Score None Audits your workstation and returns a developer health score from 0 to 100 based on bloated caches, memory leaks, and boot speed.
/optimize RAM & Process Boost Medium Instantly purges system memory pages and terminates heavy background third-party applications to recover active RAM.
/logs Browse Logs None Full searchable audit log of every operation, file path, and byte reclaimed during safaai runs.
/ignorelist Manage Exclusions None Configure directory exclusions so safaai never scans or touches sensitive paths.
/sysinfo System Dashboard None Visual real-time CPU, RAM, disk read/write, and network bandwidth meters.
/update In-App Self Update None Automatically fetches latest release assets, checks versions, and atomically replaces the binary executable.
/help Command Assistant None Displays quick command hints and keyboard binds.
/quit Exit safaai None Terminate all active scanners safely and exit the TUI.

💻 OS Support Matrix

OS Status Notes
macOS Fully Supported (11.0+) Optimized for Apple Silicon (arm64) and Intel (x86_64). Includes Apple-specific scanners (Xcode, LaunchAgents, system memory purges).
Linux Fully Supported Runs natively in standard TTY terminals. Bypasses macOS-specific routines automatically.
Windows Coming Soon 🛠️ Native command shell adapters and Windows registry/temp cleanup scanners are currently under development.

🚀 Installation & Launch

Run it instantly using uv (recommended):

uv tool install safaai
safaai

Or install via pipx / pip:

pipx install safaai
safaai

For macOS standalone binary downloads or custom Homebrew formula taps, check the Releases page.

Made with ♥ by Manu Gopinath

Metadata

Release files for safaai 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for safaai 0.1.5
File Size Uploaded
safaai-0.1.5.tar.gz 549.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for safaai 0.1.5
File Interpreter ABI Platform
safaai-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 634.6 kB

Release files / safaai-0.1.5.tar.gz

Download URL safaai-0.1.5.tar.gz
Size 549.5 kB
Tags Source
SHA-256 checksum
How to use checksums
14f6141cac4396704ddcbedd6190beb1bf2a655428a4d471a19508d985fe0ef0
BLAKE2b-256 checksum
How to use checksums
2614b39bea1ace52f52a0ff19e8ef804692736f58e7c87d38fb9014f67a8b514
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / safaai-0.1.5-py3-none-any.whl

Download URL safaai-0.1.5-py3-none-any.whl
Size 85.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
33b5face2f733c3bfbdf2fdee0ea4b297d8c6865a0489ffe39d9d81b958ed409
BLAKE2b-256 checksum
How to use checksums
62213ce56abe74a81a76d4cc4128b1139a8705aa446096aba0a40f3139ad2ceb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

0.1.13

2 release files

0.1.12

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

This release

0.1.5 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page