Hacker GitHub

← All repos

e-dant/watcher

View on GitHub ↗ ★ 809 C++

Filesystem watcher. Works anywhere. Simple, efficient and friendly.

12 mentions on Hacker News by 4 people: 2 stories, 10 comments · first 2022-10-05 · latest 2026-03-28

Mentions per year 12 mentions · busiest year 2022 (10)
20082026
  1. …about benchmarks, others noting or expressing interest in other projects, I'll drop the one I made: https://github.com/e-dant/watcher (and also an ebpf experiment https://github.com/e-dant/bpf-fs-events ) There are benchmarks in there, and…
  2. ▲ 3
    Show HN: What two years of maintenance on a project I love looks like
    story by e-dant · 2024-08-25 · 1 comment
  3. https://github.com/e-dant/watcher/issues/10
    comment by e-dant · 2022-10-18 · in Show HN: Filesystem Watcher
  4. …the works, however manual testing does show only minimal resource usage. For more, see this issue: https://github.com/e-dant/watcher/issues/10
    comment by e-dant · 2022-10-18 · in Show HN: Filesystem Watcher
  5. https://github.com/e-dant/watcher/issues/10
    comment by e-dant · 2022-10-18 · in Show HN: Filesystem Watcher
  6. …about OS filesystem event hooks. The current solution isn’t ideal, and is being addressed here: https://github.com/e-dant/watcher/issues/10
    comment by e-dant · 2022-10-18 · in Show HN: Filesystem Watcher
  7. It’s being addressed here: https://github.com/e-dant/watcher/issues/10
    comment by e-dant · 2022-10-18 · in Show HN: Filesystem Watcher
  8. …Edit: never mind, This tool is manually scanning the filesystem instead of listening to OS events https://github.com/e-dant/watcher/blob/989147b183ee0547d71a1...
    comment by rasz · 2022-10-18 · in Show HN: Filesystem Watcher
  9. >or is it simply an abstraction over inotify? Looks like it: https://github.com/e-dant/watcher/blob/989147b183ee0547d71a1...
    comment by bertman · 2022-10-18 · in Show HN: Filesystem Watcher
  10. https://github.com/e-dant/watcher/blob/989147b183ee0547d71a1... Looks like it works on quite a few systems including Android and iOS.
    comment by dljsjr · 2022-10-18 · in Show HN: Filesystem Watcher
  11. ▲ 91
    Show HN: Filesystem Watcher
    story by e-dant · 2022-10-18 · 73 comments
  12. Those considering doing something like this (such as the author) might consider using my library: https://github.com/e-dant/watcher It hooks into system APIs where viable. (Otherwise, it uses std::filesystem.) It’s meant to be as or more:…