Skip to content

qustavo/webtail

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

Webtail

Webtail stream file content to web.

Usage:

go get github.com/baijum/webtail
webtail -addr=:8080 [file.log]...

The -addr option can be used to specify the host and port number. If -addr option is not given, by default 8080 will be used.

The arguments are the paths to log files that you want to stream. You can give any number of files as arguments.

If the arguments are not given, the standard input (stdin) will be used. This helps to use tail together with webtail:

tail -f file.log | webtail

After running this program, you can open the URL: http://localhost:8080 in a browser.

About

Webtail stream file content to web

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%