tpt-w-purge

Go

Open-source bulk software uninstaller for Windows, Linux & Archon — deep leftover cleanup and real-time install snapshotting

0 stars0 forks0 watchersApache License 2.0

Languages

Go73.4%Rust12.1%JavaScript8.7%HTML2.4%CSS1.9%Shell1.6%
README

tpt-purge

A bulk software uninstaller: a deep-cleaning alternative to Revo Uninstaller and BCUninstaller that does not paywall forced uninstalls or install monitoring.

  • Core: Go, for fast concurrent registry and filesystem scanning.
  • System hooks: Rust, for privileged operations, linked over a C ABI.
  • Platforms: Windows and Linux first. Archon support is planned.

Status: early development. The CLI can scan Windows (registry) and Linux (dpkg, rpm, pacman, Flatpak, Snap, AppImage), uninstall with native tools or from install snapshots, sweep and restore leftovers through quarantine, and watch for installs. There is no GUI yet, and privileged operations are not wired up. See todo.md for the phased plan.

Build and test

Requires Go (version in go.mod) and a stable Rust toolchain.

go test ./...
go build -o tpt-purge ./cmd/cli
./tpt-purge list --format table

cd ffi && cargo test

Usage

tpt-purge list [--format table|json]
tpt-purge uninstall [--dry-run] [--quiet] [--sweep] [--yes] <app>...
tpt-purge clean [--dry-run] [--yes] [--publisher NAME] <name>
tpt-purge watch [--interval 30s] [--count N]
tpt-purge snapshot begin <name>
tpt-purge snapshot end <name> [--app-id ID] [--app-name NAME]
tpt-purge quarantine list | restore <batch-id> | purge [--yes] <batch-id>

Exit codes: 0 success, 1 a runtime failure or a refused or failed operation, 2 usage error. Partial scan failures are printed to stderr as warnings.

See docs/usage.md for a walkthrough.

Documentation

Licence

Dual-licensed under MIT or Apache-2.0, at your option. Copyright © TPT Solutions.