Skip to content

dtricks/websocket-watchdog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Websocket Watchdog

This tool watches the given server filesystem path (recursively) and communicates filesystem events (file modified, accessed, metadata changed) via a websocket API to all clients which previously connected to the server.

Run server

RUST_LOG=info cargo run .

Run CLI client

cargo run --example client ws://127.0.0.1:9002

Webbrowser JavaScript-client

firefox examples/client-js/index.html

TODO

  • fix: events are not distributed to all clients
  • fix: spin loop in receiver

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages