gofsnotify

gofsnotify / fsnotify

Public

Cross-platform file system notifications for Go.

36
1
100% credibility
Found May 06, 2026 at 37 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Go
AI Summary

A cross-platform Go library that enables programs to receive notifications for file system events like creations, modifications, removals, renames, and permission changes.

How It Works

1
đź’ˇ Discover file watching

You realize you need a way for your program to automatically notice when files in a folder are created, changed, or deleted.

2
📦 Add the watcher

You simply include this reliable file watcher tool into your project with one easy step.

3
đź‘€ Start monitoring a folder

You pick a folder and tell the watcher to keep an eye on it for the changes that matter to you.

4
đź”” Receive instant alerts

Whenever a file is added, edited, removed, renamed, or its settings change, you get a clear notification right away.

5
⚡ Respond automatically

Your program can now react immediately, like refreshing a list or backing up the changes.

âś… Everything stays in sync

Your files are always tracked perfectly across different computers, making your work smooth and reliable.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 37 to 36 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is fsnotify?

fsnotify delivers cross-platform file system notifications in Go, letting you monitor directories for creates, writes, removes, renames, and chmods without OS-specific code. It solves the pain of building tools like cross-platform file sync, file managers, or explorers that need reliable change detection on Linux, Windows, and macOS. Paths get canonicalized automatically—handling symlinks, case folding, and short names—so events always use consistent naming.

Why is it gaining traction?

Unlike basic fsnotify go wrappers, it offers recursive watching that auto-tracks new subdirectories and drops removed ones, with thread-safe ops and normalized events across platforms. Developers grab it for fsnotify golang projects needing zero-config setup, like cross-platform GitHub actions or file sharing apps, where path deduping prevents duplicate watches. The simple API—Add, AddRecursive, Remove, Events channel—keeps it lightweight yet powerful for real-time fsnotify linux or Windows use.

Who should use this?

Go backend devs building cross-platform file browsers, encryption software, transfer apps, or tagging tools. Ideal for cross-platform file system sync in CLI utils, desktop managers, or even music players watching playlists. Skip if you're in Rust (fsnotify rust exists) or need massive queues—max is 16384 events.

Verdict

Solid pick for fsnotify go in cross-platform GitHub repos, with clean docs, thorough tests, and MIT license, but at 36 stars and 1.0% credibility, it's early-stage—prototype with it before production. Use if standard libs fall short on recursion or paths.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.