# 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 3
# self = https://watcher.sour.is/conv/2s3lk3a
@sorenpeter I was hoping your script could help solve our pubnix users' Discovrability dilemma, but either I'm doing something wrong or (maybe) we have some PHP module(s) missing. I gave it a try and it returns the twtxt file content as expected when visited directly, yet there's no logs/log files created. + I'm still not sure why my htaccess redirection doesn't work x') ... Will keep you posted.
Ok! now that I've created the twtAgent.{log,csv} files manually and changed their perms so they're writable by www-data, the twtAgent.php works the twtAgent2 doesn't tho. + Still have no redirections, I might have to ask arround.
Oh! scratch that! the redirection works! I just had to lose the / prefixing twtxt.txt and twtAgent.php in the htaccess file