# 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 10
# self = https://watcher.sour.is/conv/5jzcrma
🦀 My toy project to learn Rust is a little ls program. The normal ls has almost no way of showing POSIX ACLs, Linux capabilities, or other extended attributes, which can be a bit confusing at times. So I extended the normal “permissions” column for those files, which, I think, is pretty handy. 🤔 (It’s only shown for files that actually have one of those attributes, so it’s hidden most of the time.) https://movq.de/v/e102ea01ab/s.png
🦀 My toy project to learn Rust is a little ls program. The normal ls has almost no way of showing POSIX ACLs, Linux capabilities, or other extended attributes, which can be a bit confusing at times. So I extended the normal “permissions” column for those files, which, I think, is pretty handy. 🤔 (It’s only shown for files that actually have one of those attributes, so it’s hidden most of the time.) https://movq.de/v/e102ea01ab/s.png
🦀 My toy project to learn Rust is a little ls program. The normal ls has almost no way of showing POSIX ACLs, Linux capabilities, or other extended attributes, which can be a bit confusing at times. So I extended the normal “permissions” column for those files, which, I think, is pretty handy. 🤔 (It’s only shown for files that actually have one of those attributes, so it’s hidden most of the time.) https://movq.de/v/e102ea01ab/s.png
@movq Very nice 👌
@movq Very nice 👌
@movq Nice output. ANSII color escapes are directly implemented in your Rust ls or are you still using that wrapper script? Why did you chose the Swiss thousands separator?
@lyse The colors come directly from Rust, no wrapper script anymore (yay performance 😅). I chose the Swiss format because it’s easier for my brain to comprehend (“.” and “,” are both somewhat ambiguous). I just saw that a space is the internationally recommended way, though. 🤔 The thing is, there’s no builtin formatter in Rust for that, you have to do it yourself, so you can’t just use whatever your locale uses (oooooor use yet another external dependency).
@lyse The colors come directly from Rust, no wrapper script anymore (yay performance 😅). I chose the Swiss format because it’s easier for my brain to comprehend (“.” and “,” are both somewhat ambiguous). I just saw that a space is the internationally recommended way, though. 🤔 The thing is, there’s no builtin formatter in Rust for that, you have to do it yourself, so you can’t just use whatever your locale uses (oooooor use yet another external dependency).
@lyse The colors come directly from Rust, no wrapper script anymore (yay performance 😅). I chose the Swiss format because it’s easier for my brain to comprehend (“.” and “,” are both somewhat ambiguous). I just saw that a space is the internationally recommended way, though. 🤔 The thing is, there’s no builtin formatter in Rust for that, you have to do it yourself, so you can’t just use whatever your locale uses (oooooor use yet another external dependency).
@movq Nice!