# 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 6
# self = https://watcher.sour.is/conv/rodltgq
Awesome, "unable to open database file: out of memory (14)" actually means that the SQLite file cannot be created, because the parent directory does not exist. Bonus points for Open(…) being successful and only executing the first command giving me that error. Meh.
@lyse Did someone call perror() after something that does not change errno? 🥴
@lyse Did someone call perror() after something that does not change errno? 🥴
@lyse Did someone call perror() after something that does not change errno? 🥴
@lyse Did someone call perror() after something that does not change errno? 🥴
@movq No, that's just a general SQLite thing: https://gitlab.com/cznic/sqlite/-/issues/102 But, mkdir -p $dir and just retrying the command works.