Skip to content

motemen/App-htmlcat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAME

htmlcat - stdin to your browser

SYNOPSIS

$ command-that-prints-to-stdout | htmlcat --exec=open

DESCRIPTION

htmlcat renders stdin in HTML, by establishing a temporary HTTP server.

Requires modern browser that recognize Server-Sent Events.

FEATURES

  • Highlights ANSI code in HTML
  • Real-time stdin stream to browsers
  • Support for multiple clients

OPTION

  • --exec=command

Invokes command with the URL htmlcat listens as the only argument. Typically a command which opens a browser would be useful.

  • --host=host, --port=port

Specifies the host or port to listen. Actually they are handled by Plack::Runner, so htmlcat does nothing with them.

AUTHOR

motemen motemen@gmail.com

THANKS TO

mala, for Server-sent events implementation

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

About

redirect stdin to web browser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages