# 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 18
# self = https://watcher.sour.is/conv/yejw3uq
Worked a bit on the desktop client tonight, now I store username/pass/server url, but it's insecure at the moment. I need to find a way to store it more securely.
One thing I did in another project was to use sqlite that had encryption. I might do that here as well. That would work well for this.
@stigatle Why not use the OS for this like Keychain on macOS?
@stigatle Why not use the OS for this like Keychain on macOS?
@stigatle Why not use the OS for this like Keychain on macOS?
@prologic GNOME Keyring, anyone?
@shreyan Yup 👌
@shreyan Yup 👌
@shreyan Yup 👌
@prologic @shreyan been thinking about that too. Ill check on that before deciding.
I've been looking into this tonight, and it seems like 'libsecret' is what I need, so I will try and implement this.
I can then store password and other things (username \ url) as well with it.

https://wiki.gnome.org/Projects/Libsecret
I've been looking into this tonight, and it seems like 'libsecret' is what I need, so I will try and implement this.
I can then store password and other things (username \\ url) as well with it.

https://wiki.gnome.org/Projects/Libsecret
@stigatle Nice! 👌
@stigatle Nice! 👌
@stigatle Nice! 👌
Okay, so spent some more time with this. I can now store password - and retrieve it as well.
I'll clean it up and get it working properly as soon as possible.
This was a nice thing to learn.
Pushed the code now.
the next thing to fix is thread view, and the reply to.. feature (showing the text preview of the post the reply goes to).