Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
redirect stdin to web browser
Perl
branch: master
Failed to load latest commit information.
bin doc spell
lib/App use 5.008_001
t initial commit
xt doc spell
.gitignore
.shipit initial commit
Changes
MANIFEST.SKIP Checking in changes prior to tagging of version 0.01.
Makefile.PL
README.md

README.md

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.

Something went wrong with that request. Please try again.