Skip to content

Little proof of concept to imitate a "tail -f" through a web interface. It uses Twisted, autobahn, inotify, websockets and Knockout.js

Notifications You must be signed in to change notification settings

ptbrowne/Logwatcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logwatcher

Usage

  • Launch the server with : python logwatcher.py
  • Launch the page logwatcher.hmtl in your favorite browser.
  • Add a file to watch (relative path beginning with "./", absolute with "/") that is readable by the user who launched the server.
  • Check the box "Watch"
  • Modify the watched file with for example cat >> file_to_watch.txt
  • See the magic happen as the modifications are pushed to the client via WebSockets

Dependencies

Python, Twisted, autobahn

Screencast

http://www.youtube.com/watch?v=pzfL7eZ4Iwc

About

Little proof of concept to imitate a "tail -f" through a web interface. It uses Twisted, autobahn, inotify, websockets and Knockout.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages