macOS
brew install watcherlocal Homebrew formula metadata
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de watcher pour les workflows d'agents IA.
installation
brew install watcherlocal Homebrew formula metadata
nix profile install nixpkgs#watchernixpkgs package indexes · pkgs/by-name/wa/watcher/package.nix · Source: api.github.com
sudo apt install python3-watcherDebian stable package indexes · python3-watcher · Source: deb.debian.org
aperçu
Filesystem watcher, works anywhere, simple, efficient and friendly
historique
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.
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.
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.
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.
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.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
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
| Commande | Type | Exposition | Note |
|---|---|---|---|
wtr.watcher | cli | exécutable global |
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.
https://github.com/e-dant/watcher
métadonnées d'installation
| Clé du paquet | brew:watcher |
|---|---|
| Version | 0.14.5 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/watcher |
| Page d'accueil | https://github.com/e-dant/watcher |
| Dépôt | https://github.com/e-dant/watcher |
| Docs amont | https://github.com/e-dant/watcher#readme |
| Licence | MIT |
| Archive source | https://github.com/e-dant/watcher/archive/refs/tags/0.14.5.tar.gz |
| Dépendances de compilation | cmake |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | watcher |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Conflicts With |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
python3-watcher 14.0.0-1+deb13u1
OpenStack Cloud Optimization as a Service - Python libraries
https://github.com/openstack/watcher
sudo apt install python3-watcherwatcher-api 14.0.0-1+deb13u1
OpenStack Cloud Optimization as a Service - API server
https://github.com/openstack/watcher
sudo apt install watcher-apiwatcher-applier 14.0.0-1+deb13u1
OpenStack Cloud Optimization as a Service - Applier
https://github.com/openstack/watcher
sudo apt install watcher-applierwatcher-common 14.0.0-1+deb13u1
OpenStack Cloud Optimization as a Service - common files
https://github.com/openstack/watcher
sudo apt install watcher-commonwatcher-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-enginewatcher-doc 14.0.0-1+deb13u1
OpenStack Cloud Optimization as a Service - doc
https://github.com/openstack/watcher
sudo apt install watcher-docwatcher
nix profile install nixpkgs#watcherpython3-watcher 2:12.0.0-0ubuntu1
OpenStack Cloud Optimization as a Service - Python 3 libraries
https://opendev.org/openstack/watcher
sudo apt install python3-watcherwatcher-api 2:12.0.0-0ubuntu1
OpenStack Cloud Optimization as a Service - API server
https://opendev.org/openstack/watcher
sudo apt install watcher-apiwatcher-applier 2:12.0.0-0ubuntu1
OpenStack Cloud Optimization as a Service - Applier
https://opendev.org/openstack/watcher
sudo apt install watcher-applierwatcher-common 2:12.0.0-0ubuntu1
OpenStack Cloud Optimization as a Service - common files
https://opendev.org/openstack/watcher
sudo apt install watcher-commonwatcher-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-enginewatcher-doc 2:12.0.0-0ubuntu1
OpenStack Cloud Optimization as a Service - doc
https://opendev.org/openstack/watcher
sudo apt install watcher-docpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.