SYNOPSIS
In config.yml:
plugins:
Showterm:
stylesheet: /my_showterm.css
In your app:
package MyApp;
use Dancer ':syntax';
use Dancer::Plugin::Showterm;
...
DESCRIPTION
This plugin is a Dancer port of the wonderful http://showterm.io, which
allows terminal screen captures taken via the UNIX tool
http://man7.org/linux/man-pages/man1/script.1.html|script to be
replayed in the browser.
The plugin will intercept any request for files with a .showterm
extension and will generate an html page that will be able to replay
the same file, but with the .typescript extension.
In other words, if you put the file mysession.typescript in the public
folder of the app, then the url /mysession.showterm will display its
webified version. The webified version can also be embedded in other
pages via iframes:
CAPTURING THE ACTION
The cli capture is done using the UNIX utility c