Automic VaultAutomic Vault

brew

xdg-ninja mit Homebrew, apk, Nix installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für xdg-ninja in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install xdg-ninja

local Homebrew formula metadata

Linux

Alpine Linux apkverifiziert · 92%
sudo apk add xdg-ninja

Alpine Linux edge package indexes · xdg-ninja · Quelle: dl-cdn.alpinelinux.org

Nixverifiziert · 92%
nix profile install nixpkgs#xdg-ninja

nixpkgs package indexes · pkgs/by-name/xd/xdg-ninja/package.nix · Quelle: api.github.com

Überblick

Paketzusammenfassung

Check your $HOME for unwanted files and directories

Befehle und Aliase

  • xdg-ninja

Verlauf

Projektgeschichte und Nutzung

xdg-ninja is a shell-based checker for users who want a cleaner home directory and better XDG Base Directory compliance. It scans for known dotfiles and directories in $HOME, then reports whether each one can be moved and how to do it.

Projektgeschichte

The project began in May 2022 with an initial shell implementation and an early import of supported-program data from the Arch Wiki XDG Base Directory page. The README still describes the configuration corpus as coming from the Arch Wiki, antidot, and user contributions.

The tool deliberately keeps the main checker simple: a POSIX-like shell script, jq, and find are enough to run the tests. Later work added a Haskell helper, xdgnj, for generating and editing the JSON program configurations, while the README emphasizes that the shell script remains the core checker.

Adoptionsgeschichte

xdg-ninja grew with dotfiles culture and the recurring frustration that many command-line programs still create legacy ~/.name files even after the freedesktop.org XDG Base Directory Specification defined preferred locations for config, data, state, cache, and runtime files.

The README documents Nix and Homebrew usage, but also warns that because upstream does not cut regular releases, Homebrew users should install and upgrade from HEAD. That is an unusually transparent adoption note and explains why package-manager versions may lag behind the living configuration database.

Wie es verwendet wird

Users run xdg-ninja in their home environment. The script checks known paths, prints warnings for unwanted files or directories, and renders Markdown help explaining whether the item is movable and what setting or migration step can relocate it.

Contributors add JSON files under programs/. Each file names a program and the $HOME paths it creates, plus Markdown help for movable or unsupported cases. The XN_PROGRAMS_DIR environment variable can point the checker at an alternate configuration directory.

Warum Paket-Nerds sich dafür interessieren

xdg-ninja is important to package nerds because it turns the messy social problem of XDG compliance into a testable, crowd-maintained catalog. It is half lint tool, half living index of which CLI programs respect modern Unix home-directory conventions.

It also exposes a subtle packaging issue: data freshness matters more than binary freshness. A stale packaged xdg-ninja can miss newly documented offenders even if the shell code itself still works.

Zeitleiste

  • 2021-05-08: XDG Base Directory Specification 0.8 publication date.
  • 2022-05-12: xdg-ninja initial commit and first implementation.
  • 2022-05-12: Early supported-program data imported from the Arch Wiki article.
  • 2022-06-06: v0.2.0.0 tag.
  • 2024-02-03: v0.2.0.2 tag for the xdgnj helper release line.

Related projects

  • XDG Base Directory Specification: defines the directory conventions xdg-ninja checks against.
  • Arch Wiki XDG Base Directory page: one of the configuration-data sources named by upstream.
  • antidot: another source of XDG migration knowledge credited by the README.
  • xdgnj: upstream helper for creating and previewing xdg-ninja program configuration files.

Quellen

  • Git history and tags: https://github.com/b3nj5m1n/xdg-ninja
  • README, b3nj5m1n/xdg-ninja: https://github.com/b3nj5m1n/xdg-ninja#readme
  • XDG Base Directory Specification: https://specifications.freedesktop.org/basedir-spec/latest/
  • xdg-ninja shell script: https://github.com/b3nj5m1n/xdg-ninja/blob/main/xdg-ninja.sh

Sicherheitslage

Risikostufe: grün

narrow executable package without higher-risk signals.

Risikoklassifikator

grün Risiko · niedrig Konfidenz · appliance

Warum

  • narrow executable package without higher-risk signals

Signale

  • metadata:no-higher-risk-signals

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 1 Plattformziele verfügbar.
  • Installiert mit 1 Laufzeitabhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
./programs/

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
xdg-ninjacliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-25
Manager-Version0.2.0.2
Manager aktualisiert
lokale DatenOK
Upstreamnot checked
neueste erkannte Versionnicht erkannt

https://github.com/b3nj5m1n/xdg-ninja

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:xdg-ninja
Version0.2.0.2
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/xdg-ninja
Homepagehttps://github.com/b3nj5m1n/xdg-ninja
Repositoryhttps://github.com/b3nj5m1n/xdg-ninja
Upstream-Dokumentationhttps://github.com/b3nj5m1n/xdg-ninja#readme
LizenzMIT
Quellarchivhttps://github.com/b3nj5m1n/xdg-ninja/archive/refs/tags/v0.2.0.2.tar.gz
Abhängigkeitenglow
Von macOS bereitgestellte Bibliothekenjq
Bottleverfügbar (auf all)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namexdg-ninja
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Nix95%

xdg-ninja

nix profile install nixpkgs#xdg-ninja
  • normalized package name match
  • Abgeglichen nach: Xdg Ninja
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/xd/xdg-ninja/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

xdg-ninja 0.2.0.2-r0

Shell script which checks your home directory for unwanted files and directories

https://github.com/b3nj5m1n/xdg-ninja

sudo apk add xdg-ninja
  • License: MIT
  • Architecture: x86_64
  • Source Package: xdg-ninja
  • 1 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Xdg Ninja
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: xdg-ninja from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment