htmlcat - stdin to your browser
$ command-that-prints-to-stdout | htmlcat --exec=open
htmlcat renders stdin in HTML, by establishing a temporary HTTP server.
htmlcat
Requires modern browser that recognize Server-Sent Events <http://dev.w3.org/html5/eventsource/>.
Invokes command with the URL htmlcat listens as the only argument. Typically a command which opens a browser would be useful.
Specifies the host or port to listen. Actually they are handled by Plack::Runner, so htmlcat does nothing with them.
motemen <motemen@gmail.com>
mala, for Server-sent events implementation
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install App::htmlcat, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::htmlcat
CPAN shell
perl -MCPAN -e shell install App::htmlcat
For more information on module installation, please visit the detailed CPAN module installation guide.