Automic VaultAutomic Vault

brew

Installer watcher avec Homebrew, Nix, apt

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de watcher pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install watcher

local Homebrew formula metadata

Linux

Nixvérifié · 92%
nix profile install nixpkgs#watcher

nixpkgs package indexes · pkgs/by-name/wa/watcher/package.nix · Source: api.github.com

Debian aptvérifié · 92%
sudo apt install python3-watcher

Debian stable package indexes · python3-watcher · Source: deb.debian.org

aperçu

Résumé du paquet

Filesystem watcher, works anywhere, simple, efficient and friendly

Commandes et alias

  • wtr.watcher

historique

Historique du projet et usages

Watcher is e-dant's cross-platform filesystem event watcher, exposed both as a C++ library and as a CLI that prints filesystem events. Its niche is deliberately small and systems-oriented: a dependency-minimal watcher that can be embedded from C++ or reached through C, Python, Rust, Node.js, and Go bindings.

Historique du projet

Watcher appeared publicly as a Show HN post on October 18, 2022, where the author described it as a simple, efficient, dependency-free, header-only filesystem event watcher. In that launch discussion, the author explained the early implementation tradeoff: a baseline standard-library watcher, OS-specific support where useful, and attention to correctness on large trees rather than simply wrapping one kernel notification API.

The repository's release history shows the project maturing from the 0.9 and 0.10 series into 0.12, 0.13, and 0.14. By the 0.14.0 release, the project had added a Go package, refined Windows DLL exports for the C interface, and improved CMake behavior for subproject use. The 0.13.7 and later releases also show the kind of maintenance expected from filesystem tools: inotify rename fixes, Darwin/FSEvents fixes, pkg-config files, version flags, C++17 portability, and test/CI updates.

Historique d'adoption

Watcher remains a modest project compared with older file watching services, but its adoption signals are visible in developer packaging channels. The GitHub project page shows hundreds of stars, the README badges point to Conan, Cargo, PyPI, Go modules, Homebrew, Nix, and GNU Guix, and release artifacts are published for multiple operating systems and architectures.

Modes d'utilisation

The README presents Watcher as both a library and a program. Library users call a `watch` function or class with a path and callback, then receive event objects containing path name, path type, effect type, event time, and an associated path for rename-style events. CLI users can run the bundled watcher program and pipe the resulting JSON stream into other tools.

The project is unusually binding-heavy for its size. The README includes quick starts for C++, C, Python, Rust, Node.js, and Go, which positions Watcher less as an end-user automation command like watchexec and more as a portable event substrate for developers who want file-change events inside their own applications.

Pourquoi les passionnés de paquets s'y intéressent

Watcher is significant to package nerds because it tackles a famously awkward portability problem: every major OS exposes different filesystem event semantics, and correctness around renames, recursive trees, symlinks, and editor save patterns is full of edge cases. A small, dependency-minimal C++17 implementation with pkg-config, CMake, C ABI, and language bindings is exactly the sort of library packagers scrutinize for ABI surface, portability, testability, and platform-specific behavior.

Chronologie

  • 2022-10-18: Watcher is introduced on Hacker News as a filesystem watcher.
  • 2023-2024: 0.10 through 0.12 release tags mark early public library and CLI maturation.
  • 2025-09-01: 0.13.7 adds pkg-config files, a CLI version flag, C++17 portability fixes, and inotify rename fixes.
  • 2025-12-08: 0.14.0 adds a Go package and improves C/CMake integration.
  • 2026-02-23: 0.14.5 fixes cross-directory path-name caching and inotify/Linux reporting.

Related projects

  • Watcher sits near fsnotify-style libraries, kqueue/inotify/FSEvents/ReadDirectoryChangesW wrappers, Watchman, watchexec, entr, and language-specific file-watching packages. Its closest distinction is being an embeddable C++ library with a CLI, rather than a long-running service or a command rerunner.

posture de sécurité

Niveau de risque : vert

narrow executable package without higher-risk signals.

Classificateur de risque

risque vert · confiance faible · appliance

Pourquoi

  • narrow executable package without higher-risk signals

Signaux

  • metadata:no-higher-risk-signals

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 6 plateformes.
  • Les métadonnées de compilation listent 1 dépendances de compilation.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

exécutables

Exécutables installés

CommandeTypeExpositionNote
wtr.watchercliexécutable global

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-07-25
version du gestionnaire0.14.5
gestionnaire mis à jour
données localesOK
amontà jour
dernière version détectée0.14.5

https://github.com/e-dant/watcher

  • infoNo package-manager update timestamp was available.confiance faible

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:watcher
Version0.14.5
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/watcher
Page d'accueilhttps://github.com/e-dant/watcher
Dépôthttps://github.com/e-dant/watcher
Docs amonthttps://github.com/e-dant/watcher#readme
LicenceMIT
Archive sourcehttps://github.com/e-dant/watcher/archive/refs/tags/0.14.5.tar.gz
Dépendances de compilationcmake
Bouteilledisponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

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

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

Debian apt95%

python3-watcher 14.0.0-1+deb13u1

OpenStack Cloud Optimization as a Service - Python libraries

https://github.com/openstack/watcher

sudo apt install python3-watcher
  • Section: python
  • Architecture: all
  • Source Package: watcher
  • 32 Dépendances
  • normalized package name match
  • Correspondance par : Watcher
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-watcher from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

watcher-api 14.0.0-1+deb13u1

OpenStack Cloud Optimization as a Service - API server

https://github.com/openstack/watcher

sudo apt install watcher-api
  • Section: net
  • Architecture: all
  • Source Package: watcher
  • 7 Dépendances
  • normalized package name match
  • Correspondance par : Watcher
Debian stable package indexes · deb.debian.org · Debian stable package indexes: watcher-api from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

watcher-applier 14.0.0-1+deb13u1

OpenStack Cloud Optimization as a Service - Applier

https://github.com/openstack/watcher

sudo apt install watcher-applier
  • Section: net
  • Architecture: all
  • Source Package: watcher
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Watcher
Debian stable package indexes · deb.debian.org · Debian stable package indexes: watcher-applier from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

watcher-common 14.0.0-1+deb13u1

OpenStack Cloud Optimization as a Service - common files

https://github.com/openstack/watcher

sudo apt install watcher-common
  • Section: net
  • Architecture: all
  • Source Package: watcher
  • 6 Dépendances
  • normalized package name match
  • Correspondance par : Watcher
Debian stable package indexes · deb.debian.org · Debian stable package indexes: watcher-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

watcher-decision-engine 14.0.0-1+deb13u1

OpenStack Cloud Optimization as a Service - Decision Engine

https://github.com/openstack/watcher

sudo apt install watcher-decision-engine
  • Section: net
  • Architecture: all
  • Source Package: watcher
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Watcher
Debian stable package indexes · deb.debian.org · Debian stable package indexes: watcher-decision-engine from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

watcher-doc 14.0.0-1+deb13u1

OpenStack Cloud Optimization as a Service - doc

https://github.com/openstack/watcher

sudo apt install watcher-doc
  • Section: doc
  • Architecture: all
  • Source Package: watcher
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Watcher
Debian stable package indexes · deb.debian.org · Debian stable package indexes: watcher-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

watcher

nix profile install nixpkgs#watcher
  • normalized package name match
  • Correspondance par : Watcher
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/wa/watcher/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

python3-watcher 2:12.0.0-0ubuntu1

OpenStack Cloud Optimization as a Service - Python 3 libraries

https://opendev.org/openstack/watcher

sudo apt install python3-watcher
  • Section: universe/python
  • Architecture: all
  • Source Package: watcher
  • 32 Dépendances
  • normalized package name match
  • Correspondance par : Watcher
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-watcher from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

watcher-api 2:12.0.0-0ubuntu1

OpenStack Cloud Optimization as a Service - API server

https://opendev.org/openstack/watcher

sudo apt install watcher-api
  • Section: universe/net
  • Architecture: all
  • Source Package: watcher
  • 6 Dépendances
  • normalized package name match
  • Correspondance par : Watcher
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: watcher-api from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

watcher-applier 2:12.0.0-0ubuntu1

OpenStack Cloud Optimization as a Service - Applier

https://opendev.org/openstack/watcher

sudo apt install watcher-applier
  • Section: universe/net
  • Architecture: all
  • Source Package: watcher
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Watcher
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: watcher-applier from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

watcher-common 2:12.0.0-0ubuntu1

OpenStack Cloud Optimization as a Service - common files

https://opendev.org/openstack/watcher

sudo apt install watcher-common
  • Section: universe/net
  • Architecture: all
  • Source Package: watcher
  • 6 Dépendances
  • normalized package name match
  • Correspondance par : Watcher
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: watcher-common from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

watcher-decision-engine 2:12.0.0-0ubuntu1

OpenStack Cloud Optimization as a Service - Decision Engine

https://opendev.org/openstack/watcher

sudo apt install watcher-decision-engine
  • Section: universe/net
  • Architecture: all
  • Source Package: watcher
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Watcher
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: watcher-decision-engine from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

watcher-doc 2:12.0.0-0ubuntu1

OpenStack Cloud Optimization as a Service - doc

https://opendev.org/openstack/watcher

sudo apt install watcher-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: watcher
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Watcher
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: watcher-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

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