woof

woof – very handy for occasional one-shot (or multi-shot) file serving. Put it somewhere in your path and every now and then it will make you happy.

Woof (Web Offer One File) tries a different approach. It assumes that everybody has a web-browser or a commandline web-client installed. Woof is a small simple stupid webserver that can easily be invoked on a single file. Your partner can access the file with tools he trusts (e.g. wget). No need to enter passwords on keyboards where you don’t know about keyboard sniffers, no need to start a huge lot of infrastructure, just do a

$ woof filename

and tell the recipient the URL woof spits out. When he got that file, woof will quit and everything is done.

One Response to “woof”

  1. Dave A
    February 25th, 2007 | 4:41 pm

    This is ingenious – It’s been ++handy already.
    And it’s Python too! I added 4 lines* and it puts the resulting URL on my clipboard in OS X, hooray for ├â┬╝berlaziness :D

    *7, if you include the exception handler for non-OS X boxen or Macs without PyObjC.