# I am the Watcher. I am your guide through this vast new twtiverse.
# 
# Usage:
#     https://watcher.sour.is/api/plain/users              View list of users and latest twt date.
#     https://watcher.sour.is/api/plain/twt                View all twts.
#     https://watcher.sour.is/api/plain/mentions?uri=:uri  View all mentions for uri.
#     https://watcher.sour.is/api/plain/conv/:hash         View all twts for a conversation subject.
# 
# Options:
#     uri     Filter to show a specific users twts.
#     offset  Start index for quey.
#     limit   Count of items to return (going back in time).
# 
# twt range = 1 2
# self = https://watcher.sour.is/conv/aq5xyja
Btw, mkws works GREAT with Plan9 mk. You just replace the bin/mkws script with a mkfile. It's drop in! Just create a mkfile in the bin directory, name it mkws and use a mk shebank like #!/usr/local/plan9/bin/mk -f.

#!/usr/local/plan9/bin/mk -f

URL=//example.com
SHARE=share

THEMEFILES=$SHARE/l.upphtml\
$SHARE/s.uppcss\

TPLFILES=3-} HTMLFILES=${TPLFILES:%.upphtml=%.html} $URL:V: sitemap.xml $HTMLFILES %.html:Q: %.upphtml $THEMEFILES echo Making $target pp $SHARE/l.upphtml ${target%.html}.upphtml $URL > $target sitemap.xml:Q: $HTMLFILES $SHARE/sitemap.uppxml echo Making $target pp $SHARE/sitemap.uppxml $URL > $target clean:VQ: echo "$HTMLFILES" sitemap.xml | xargs -n1 echo "Removing" rm -f $HTMLFILES sitemap.xml There, your web site builds only when assets are out of date!
mk can be installed on Linux/BSD systems via plan9port!