# 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 46
# self = https://watcher.sour.is/conv/jlar35q
Corona isolation is getting to me now. Took almost a year (yay, introverts unite), but I’m really exhausted now. Same stuff every day, no human beings around, no *new* human beings to meet. Ugh. #RandomComplaint
Corona isolation is getting to me now. Took almost a year (yay, introverts unite), but I’m really exhausted now. Same stuff every day, no human beings around, no *new* human beings to meet. Ugh. #RandomComplaint
Corona isolation is getting to me now. Took almost a year (yay, introverts unite), but I’m really exhausted now. Same stuff every day, no human beings around, no *new* human beings to meet. Ugh. #RandomComplaint
@movq I agree man, it's getting to me also, my patience is stretched to the max. And we still have almost an year to go at least in Romania.
@movq I agree man, it's getting to me also, my patience is stretched to the max. And we still have almost an year to go at least in Romania.
@movq I agree man, it's getting to me also, my patience is stretched to the max. And we still have almost an year to go at least in Romania.
@adi Yeah, oof, don’t remind me … I don’t expect to get back to the office in 2021. 😑 Maybe 2022. Vaccination is going so slow in Germany …
@adi Yeah, oof, don’t remind me … I don’t expect to get back to the office in 2021. 😑 Maybe 2022. Vaccination is going so slow in Germany …
@adi Yeah, oof, don’t remind me … I don’t expect to get back to the office in 2021. 😑 Maybe 2022. Vaccination is going so slow in Germany …
@movq @adi I really don't mind it very much. In fact quality of life increased by not spending two and a half to three hours on the train each day (depending on whether they decide to run late or even cancel the connection). Every now and then I hike with a very close mate. Today we spent three and half hours in nature: https://lyse.isobeef.org/waldspaziergang-2021-02-25/ At least for me this is incredibly relaxing. I have to admit, I just started only recently to do this intensely.
@lyse @movq Nice hobby!
@lyse @movq Nice hobby!
@lyse @movq Nice hobby!
@lyse how do you make your galleries? Do you just write the code by hand? Also what is the magic that makes so simple html turn into a dynamic grid?
@lyse how do you make your galleries? Do you just write the code by hand? Also what is the magic that makes so simple html turn into a dynamic grid?
@lyse @darch Ah, awesome HTML, agree!
@lyse @darch Ah, awesome HTML, agree!
@lyse @darch Ah, awesome HTML, agree!
@darch Just inline images, they wrap like text.
@mckinley haha, of course. Thanks!
@mckinley haha, of course. Thanks!
@darch At first I looped over the images and then piped a linked image to the index.html. I then came back and added the header with Vim. But after a couple of times I wrote this: https://git.isobeef.org/lyse/gelbariab/-/blob/master/gal (I just realized, that I haven't committed this simple helper, thanks for the reminder! :-))
@lyse @darch Why "$@"? Support for spaces?
@lyse @darch Why "$@"? Support for spaces?
@lyse @darch Why "$@"? Support for spaces?
@adi @darch @lyse pp version:\n\n
\n#!/usr/local/bin/pp\n#!\nt="$*"\n#!\n<!DOCTYPE html>\n<meta charset=utf-8>\n<title>${t:=$(basename "$PWD")}</title>\n<style>*{font-family:sans-serif}</style>\n<h1>$t</h1>\n#!\nfor img in ??.jpg; do\n#!\n<a href=$img style=cursor:zoom-in><img src=$(basename "$img" .jpg)-vorschau.jpg alt='$t'></a>\n#!\ndone\n#!\n
@adi @darch @lyse pp version:\n\n
\n#!/usr/local/bin/pp\n#!\nt="$*"\n#!\n<!DOCTYPE html>\n<meta charset=utf-8>\n<title>${t:=$(basename "$PWD")}</title>\n<style>*{font-family:sans-serif}</style>\n<h1>$t</h1>\n#!\nfor img in ??.jpg\ndo\n#!\n<a href=$img style=cursor:zoom-in><img src=$(basename "$img" .jpg)-vorschau.jpg alt='$t'></a>\n#!\ndone\n#!\n
@adi @darch @lyse pp version:\n\n
\n#!/usr/local/bin/pp\n#!\nt="$*"\n#!\n<!DOCTYPE html>\n<meta charset=utf-8>\n<title>${t:=$(basename "$PWD")}</title>\n<style>*{font-family:sans-serif}</style>\n<h1>$t</h1>\n#!\nfor img in ??.jpg\ndo\n#!\n<a href=$img style=cursor:zoom-in><img src=$(basename "$img" .jpg)-vorschau.jpg alt='$t'></a>\n#!\ndone\n#!\n
@adi @darch @lyse pp version:\n\n
\n#!/usr/local/bin/pp\n#!\nt="$*"\n#!\n<!DOCTYPE html>\n<meta charset=utf-8 />\n<title>${t:=$(basename "$PWD")}</title>\n<style>*{font-family:sans-serif}</style>\n<h1>$t</h1>\n#!\nfor img in ??.jpg; do\n#!\n<a href=$img style=cursor:zoom-in><img src=$(basename "$img" .jpg)-vorschau.jpg alt='$t' /></a>\n#!\ndone\n#!\n
@adi @darch @lyse pp version:


#!/usr/local/bin/pp
#!
t="$*"
#!
<!DOCTYPE html>
<meta charset=utf-8>
<title>${t:=$(basename "$PWD")}</title>
<style>*{font-family:sans-serif}</style>
<h1>$t</h1>
#!
for img in ??.jpg
do
#!
<a href=$img style=cursor:zoom-in><img src=$(basename "$img" .jpg)-vorschau.jpg alt='$t'></a>
#!
done
#!
@adi @darch @lyse pp version:\n\n
\n#!/usr/local/bin/pp\n#!\nt="$*"\n#!\n<!DOCTYPE html>\n<meta charset=utf-8>\n<title>${t:=$(basename "$PWD")}</title>\n<style>*{font-family:sans-serif}</style>\n<h1>$t</h1>\n#!\nfor img in ??.jpg\ndo\n#!\n<a href=$img style=cursor:zoom-in><img src=$(basename "$img" .jpg)-vorschau.jpg alt='$t'></a>\n#!\ndone\n#!\n
Exactly, @adi, I can just run gal Waldspaziergang 2021-02-25 without quoting it myself.
Exactly, @adi, I can just run gal Waldspaziergang 2021-02-25 without quoting it myself.
@lyse I believe *$ is more appropriate?
@lyse I believe *$ is more appropriate?
@lyse I believe *$ is more appropriate?
@adi You're right, indeed, this is one of the rare case where $* is (more?) correct.
@lyse I use https://github.com/koalaman/shellcheck/ btw.
@lyse I use https://github.com/koalaman/shellcheck/ btw.
@adi Uuuuuhhhh, very nice! I have to check it out right now.
@lyse I'd rather not have the Haskell dependency, but the tool is very good.
@lyse I'd rather not have the Haskell dependency, but the tool is very good.
@adi Well, there's always something. :-) Luckily Debian ships it, no need to get a Haskell build system set up here. Great recommendation, though, thanks mate!
@adi Nice tool! I’ll start using that now. 😊 (Yeah, the haskell stuff is annoying, but as long as my distro has packages for it … 🤷)
@adi Nice tool! I’ll start using that now. 😊 (Yeah, the haskell stuff is annoying, but as long as my distro has packages for it … 🤷)
@adi Nice tool! I’ll start using that now. 😊 (Yeah, the haskell stuff is annoying, but as long as my distro has packages for it … 🤷)