#!/bin/bash
echo "This repo will be reachable at:"
echo
for ip in $(ip addr | sed -rn 's| *inet ([0-9.]+)/.*|\1|p'); do
    echo "    http://$ip:${1:-8000}/"
done
echo
python -m SimpleHTTPServer $1
