awesome-repositories.com
المدونة
MCP
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعخادم MCPحولكيفية ترتيب النتائجالصحافة
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
emcrisostomo avatar

emcrisostomo/fswatch

0
View on GitHub↗
5,558 نجوم·346 تفرعات·C++·GPL-3.0·4 مشاهداتemcrisostomo.github.io/fswatch↗

Fswatch

fswatch is a cross-platform file change monitor that watches files and directories for modifications using the native event API of each operating system. It functions as a multi-backend file watcher library that selects from platform-specific backends such as inotify, kqueue, and FSEvents, with a polling fallback when no native API is available. The tool groups multiple file changes into a single event batch and triggers one command per batch, while also executing user-specified commands each time monitored files or directories are modified.

The project applies include, exclude, event-type, and traversal filters to reduce noise before triggering actions, and it outputs file paths as they change with optional null-delimited output for safe piping into shell scripts. It provides C language bindings that expose file monitoring functionality to any language supporting a C foreign function interface, with thread-safe session management that maintains per-thread state so concurrent watchers operate independently. The monitor uses a callback-driven event delivery model, a conjunctive filter pipeline, and a factory pattern to instantiate the correct platform monitor implementation.

Additional capabilities include latency tuning, recursive directory watching, event type filtering, and configurable output formats with event flags and timestamps. The project supports path filtering through include/exclude patterns, extension matching, and traversal pruning to reduce noise from unwanted directories. It can be installed via package managers, built from source archives, or compiled from a repository clone using the GNU Build System or CMake.

Features

  • File Change Batch Processors - Groups multiple file changes into a single event batch and triggers one command per batch.
  • Cross-Platform File Change Monitors - Watches files and directories for modifications across macOS, Linux, BSD, Solaris, and Windows using native event APIs.
  • File System Monitor - Chooses from multiple platform-specific file change notification APIs or a polling fallback.
  • File-Change-Triggered Commands - Executes a user-specified command each time monitored files or directories are modified.
  • Event-Filtering - Applies include, exclude, event-type, and traversal filters to reduce noise before triggering actions.
  • Multi-Backend - Selects from platform-specific backends such as inotify, kqueue, and FSEvents to monitor file changes.
  • File Monitoring Bindings - Provides C bindings that expose file monitoring to any language with a C FFI.
  • File Event Filter Pipelines - Applies include, exclude, event-type, and traversal filters to reduce file change noise.
  • Path-Based View Filtering - Includes or excludes files and directories from monitoring using path-based patterns.
  • Batch Event Processors - Groups multiple file change notifications into a single batch for optimized downstream processing.
  • Platform Monitor Factories - Instantiates the correct platform-specific filesystem monitor using a factory method.
  • Event-Driven Callbacks - Delivers file change events to user-defined callback functions during monitoring sessions.
  • Recursive Directory Watchers - Monitors a directory tree recursively and captures changes to files created after the watcher starts.
  • Traversal Pruning and Event Filters - Prevents descent into noisy directories and emits only events matching application source patterns.
  • File Event Filters - Applies include, exclude, event-type, and traversal filters to suppress irrelevant file changes.
  • File System Monitors - Watches files and directories for modifications using the native event API of the host operating system.
  • File System Watchers - Uses the native event API of each operating system to report file and directory modifications.
  • Thread-Safe Monitoring Sessions - Maintains per-thread state so concurrent file watchers operate independently without interference.
  • File System Backend Abstractions - Selects the optimal native file system event API for each operating system through a unified interface.
  • File Change Batching - Groups multiple file changes into a single event batch to reduce overhead for rebuilds or test reruns.
  • Live Changed File Streams - Prints file paths as they change with null-delimited output for safe shell pipeline consumption.
  • Change-Based Path Filtering - Prints file paths as they change with optional null-delimited output for safe piping into shell scripts.
  • Filesystem Event Filters - Applies include, exclude, event-type, and traversal filters to reduce noise before triggering automated actions.
  • File System Polling Fallbacks - Provides a polling fallback using stat() calls when no native file system event API is available.
  • Null-Delimited File Path Streams - Outputs file paths with null delimiters for safe shell pipeline consumption.
  • File Monitoring C Bindings - Provides C language bindings that expose file monitoring functionality to any language supporting a C foreign function interface.
  • Per-Thread Monitoring Sessions - Maintains per-thread monitoring state so concurrent watchers operate independently.
  • Factory Method Patterns - Uses a factory method to instantiate the correct platform-specific file monitor implementation.
  • Filesystem Event Type Filters - Filters change notifications based on the type of filesystem event, such as creation, modification, or deletion.
  • File Monitoring Sessions - Starts a file system monitor that gathers change events and delivers them to a callback until the session is stopped.

سجل النجوم

مخطط تاريخ النجوم لـ emcrisostomo/fswatchمخطط تاريخ النجوم لـ emcrisostomo/fswatch

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

الأسئلة الشائعة

ما هي وظيفة emcrisostomo/fswatch؟

fswatch is a cross-platform file change monitor that watches files and directories for modifications using the native event API of each operating system. It functions as a multi-backend file watcher library that selects from platform-specific backends such as inotify, kqueue, and FSEvents, with a polling fallback when no native API is available. The tool groups multiple file changes into a single event batch and triggers one command per batch, while also executing…

ما هي الميزات الرئيسية لـ emcrisostomo/fswatch؟

الميزات الرئيسية لـ emcrisostomo/fswatch هي: File Change Batch Processors, Cross-Platform File Change Monitors, File System Monitor, File-Change-Triggered Commands, Event-Filtering, Multi-Backend, File Monitoring Bindings, File Event Filter Pipelines.

ما هي البدائل مفتوحة المصدر لـ emcrisostomo/fswatch؟

تشمل البدائل مفتوحة المصدر لـ emcrisostomo/fswatch: alandipert/fswatch — fswatch is a cross-platform file change monitor and event automation tool. It tracks file system modifications across… eradman/entr — entr is a command-line tool and shell command orchestrator that executes arbitrary terminal commands automatically… paulmillr/chokidar — Chokidar is a cross-platform file system monitoring library designed to provide a unified interface for tracking disk… fsnotify/fsnotify — fsnotify is a cross-platform filesystem notification library that provides a programming interface for tracking file… gitui-org/gitui — GitUI is a terminal-based interface for managing Git repositories, providing an interactive environment for executing… oxequa/realize — Realize is a developer workflow orchestrator that monitors the filesystem for changes and automatically restarts…

بدائل مفتوحة المصدر لـ Fswatch

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع Fswatch.
  • alandipert/fswatchالصورة الرمزية لـ alandipert

    alandipert/fswatch

    5,553عرض على GitHub↗

    fswatch is a cross-platform file change monitor and event automation tool. It tracks file system modifications across different operating systems using native kernel event APIs or a portable polling fallback. The project implements specific wrappers for Linux systems using inotify and fanotify, as well as a watcher for BSD and macOS using kqueue. It translates these platform-specific APIs into a unified event format to provide consistent monitoring behavior. The tool allows for the automatic execution of external programs or scripts in response to detected changes. It includes capabilities f

    C++
    عرض على GitHub↗5,553
  • eradman/entrالصورة الرمزية لـ eradman

    eradman/entr

    5,608عرض على GitHub↗

    entr is a command-line tool and shell command orchestrator that executes arbitrary terminal commands automatically whenever monitored files are modified. It serves as a Unix file system monitor that maps filesystem events to the execution of user-defined shell commands. The utility functions as a development workflow automator by restarting background processes and refreshing console output to provide immediate feedback during coding. It can terminate and restart long-running services when configuration or source code is updated. The project covers automated task execution and continuous int

    Cinotifykqueuetest-automation
    عرض على GitHub↗5,608
  • paulmillr/chokidarالصورة الرمزية لـ paulmillr

    paulmillr/chokidar

    12,143عرض على GitHub↗

    Chokidar is a cross-platform file system monitoring library designed to provide a unified interface for tracking disk activity. It functions as a foundational utility for Node.js development environments, enabling applications to detect file additions, modifications, and deletions across diverse operating systems through a consistent event stream. The library distinguishes itself by normalizing inconsistent event signatures from various operating system kernels and implementing robust event debouncing logic. By buffering rapid sequences of file system events and waiting for a quiet period, it

    TypeScriptchokidarfilesystemfsevents
    عرض على GitHub↗12,143
  • fsnotify/fsnotifyالصورة الرمزية لـ fsnotify

    fsnotify/fsnotify

    10,551عرض على GitHub↗

    fsnotify is a cross-platform filesystem notification library that provides a programming interface for tracking file and directory changes within Go applications. It utilizes native kernel notification interfaces to detect events such as file creation, deletion, and attribute updates, allowing developers to integrate real-time monitoring into their software. The library distinguishes itself by providing a unified abstraction layer that normalizes disparate kernel APIs into a consistent event stream. It manages high-volume activity through non-blocking event polling and internal memory bufferi

    Go
    عرض على GitHub↗10,551
  • عرض جميع البدائل الـ 30 لـ Fswatch→