# 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 4
# self = https://watcher.sour.is/conv/htclloa
@lyse My goal was to keep the files at “a few kilobyte”. 100 lines of twts gets you to around ~25 kB, so I went with that.
I’m not 100% sure about those file names. I certainly want to have the date in there. To avoid collisions, I included the hash. Another way to avoid collisions would be to just use the full date or a UNIX timestamp. 🤔~
@lyse My goal was to keep the files at “a few kilobyte”. 100 lines of twts gets you to around ~25 kB, so I went with that.
I’m not 100% sure about those file names. I certainly want to have the date in there. To avoid collisions, I included the hash. Another way to avoid collisions would be to just use the full date or a UNIX timestamp. 🤔~
@lyse My goal was to keep the files at “a few kilobyte”. 100 lines of twts gets you to around ~25 kB, so I went with that.
I’m not 100% sure about those file names. I certainly want to have the date in there. To avoid collisions, I included the hash. Another way to avoid collisions would be to just use the full date or a UNIX timestamp. 🤔~
@movq Yes, the date is also quite important in my opinion since I will most likely go with a date based rotation. I need to check the numbers but maybe quarterly or in high-traffic months even monthly. Not sure yet.