I plan to write a Hashify command line client, and I'd like to confirm that simply writing to stdout
is not an option before getting creative.
(Ideally the command will behave like TextMate's mate
, in this case opening hashify.me in a browser and waiting to be fed input.)
WGet (simple http fetching tool) supports redirecting a file to STDOUT with the -qO -
option
called like wget -qO - http://url/
.
Lynx (full CLI browser) supports dumping to STDOUT with the -dump
or -crawl
option.
You could have a look at Google Native Client, available in the dev channel version of Google Chrome.
When run with the native client flags, it allows you to print to the terminal as stated here. Look into the documentation here and here for details.
Getting it to work on windows could be a pain, but it (supposedly) works great on linux. I'm trying it out right now.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With