A pipe-to-browser utility, inspired from this one.
bro pipes stdin to a web browser, using a temporary file.
echo "<h1>Don't tase me</h1>" | bro
:!markdown % | bro
If you have the lein bin plugin installed, make a standalone executable:
Then install it, for instance with
sudo install bro /usr/bin
Note: if running directly from leiningen, use trampoline. For instance:
echo 'hi there' | lein trampoline run
This is due to this ant issue.
Copyright (C) 2012 Roma1n
Distributed under the Eclipse Public License, the same as Clojure.