# 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 2159
# self = https://watcher.sour.is?uri=https://f.adi.onl/user/adi/twtxt.txt&offset=1759
# next = https://watcher.sour.is?uri=https://f.adi.onl/user/adi/twtxt.txt&offset=1859
# prev = https://watcher.sour.is?uri=https://f.adi.onl/user/adi/twtxt.txt&offset=1659
@quark @prologic Ok, what emoji to use for "Please share".
@quark @prologic That's not "all broken".
@prologic Do you have quick share link?
@quark Screenshot?
@eldersnake Copied urls from here https://sharingbuttons.io/
Ok, added social media sharing buttons to https://mkws.sh/ šŸ˜ Please take a look! šŸ˜
On another note Shell evaluation and expansion step-by-step
@prologic Must be something related to headers, compression, size.
@eldersnake\n\n> I hope that made some sort of sense, Iā€™m tired and close to bed\n\nWould be nice it made sense.
@quark It does compile but https://f.adi.onl/user/adi/twtxt.txt doesn't return the full file.
This commit breaks my instance https://git.mills.io/yarnsocial/yarn/commit/35241bc284282822d933aec552b441939c1e10e5
And back online!
Testing 1...2...3...
hello, world
hello, world
hello, world
> The fundamental problem with vi is that it doesn't have a mouse and therefore you've got all these commands.\n\nBill Joy - vi author
hello, world
Hmmm... is this thing on?
> Twenty years ago, you expected a phone to be provided everywhere you went, and that phone worked the same everywhere. At a friend's house, or a restaurant, or a hotel, or a pay phone, you could pick up the receiver and make a call. You didn't carry a phone around with you;
I've got 2 referrers coming from https://www.ecosia.org/
Ok, gotta get access to a macOS machine, let's see.
@quark Nice.
@prologic So if I build via Homebrew, I don't need to sign it?
@prologic But as I said, I'd rather distribute it via the web site, as a simple download, rather then Homebrew.
@prologic So to sign my binaries I'm required to sign up for a Developer ID?
@prologic Morning!
@stutteringsteve I don't believe in _shoulds_ but simplicity and minimalist suit me well.
@lyse I asked her if she could donate a set of those icons so I can use them on the https://mkws.sh web site. They cost $23.
Ok, updated my personal website https://adi.onl/.
@eldersnake Looks cool!
@prologic can you test mkws on macOS please?
Ok, going to sleep. šŸ›Œ
@prologic @xuu Solved it, yeah!
Ok, updated my yarnd.
@prologic @xuu Nop, not on the latest commit.
@eldersnake I agree it's highly subjective when it comes to syntactic improvement.
$ go version\n go version go1.17 openbsd/amd64\n $ gmake\n Checking Go version ... [ ERR ]
Go 1.17 is required, found go1.17\n FATAL: šŸ™ preflight failed\n gmake: *** [Makefile:13: preflight] Error 1***
@prologic It doesn't detect my go version properly.
@prologic What's with the preflight.sh script?
@quark How did you find out about yarn?
@mckinley https://f.adi.onl/twt/jlj3rza
@mckinley Did you checkout the new templates?
@quark It's good then!
@quark @prologic \n\n> Hopefully this URL change fixes things\n\nWould be nice it does.
@jlj @movq Happy anniversary! šŸŽ‰šŸŽˆ
Search on https://feathericons.com/ is almost unusable on mobile.
Just asked for a donation for this icon set https://dribbble.com/shots/14349701-Retro-icons-groovy-home-screen from the creator. She's Romanian, let's see.
@prologic It's a good idea to. I have to compile Go first.
I'm getting a lot of follow messages from @eldersnake's pods.
@eldersnake Would be cool!
@prologic I'm aware only about the ones listed on the web site.
@adi Still have some.
@prologic Would be nice to
Ok, added 2 more positive review to https://mkws.sh/.
@eldersnake lol, good one! šŸ˜
So I can't follow eldersnake@we.loveprivacy.club and @eldersnake from the UI?
@mckinley This is how you would output the twt: https://clbin.com/wUNZJ
@laz @fastidious \n\n> I need to learn how to do that\n\nWould be nice if! šŸ˜Ž
@prologic vm was stuck, have no idea why and how.
@laz Nice customization on tt.vltra.plus!
@prologic Yeah, just got it back online.
@adi @mckinley You can use https://unix.stackexchange.com/questions/529304/how-to-read-a-file-with-two-columns-into-a-script-so-that-each-line-read-as-two to split the line as date and content and strptime to format the date.
@prologic Very much agree!
@adi I believe @mckinley is hacking on the script.
@eldersnake I'm not that great with it either, but until now I realized how powerful it is.
@adi @mckinley Define t where f is defined or pass. Also you can pass f to pp in the same function to get the links the template.
@mckinley Ok, new thread, you can pass parameters to pp in the rs function to get the title and the filename in the twst list:\n\n function r(ts, t, f) {\n cmd = sprintf("pp twts.upphtml %s > \\"%s\\"",t,f)\n print ts | cmd\n close(cmd)\n }=
@mckinley @eldersnake Wrong tool for the job, but still fun I guess.
@mckinley You don't have to sanitize the twt, in pp you are required to sanitized template strings not variable values. You can just output unsanitezed, it's safe.
@mckinley (#u4bhkvq) It's just a rough version, the awk script is ok, you can customized it further (add the corect dates and format it as you prefer). smu is https://github.com/gottox/smu, that awk piece outputs Markdown, better just output HTML and remove smu.
@prologic @stackeffect Another pod?
@prologic Ask the author! šŸ˜‹
@eldersnake Are you running something in particular at https://www.andrewjvpowell.com/pastebin/ or just a directory?
So cool https://www.cambus.net/ansi-social-media-icon-set/
Sebastian Kurz: Austrian leader resigns amid corruption inquiry wow!
@mckinley @prologic \n\n> although that one completely broke the script and mangled the output.\n\nI assumed all lines start with a date, so lines starting with '#' break the script. You're required to delete those lines.
@jlj @prologic @laz That guy looks like the Hacksmith https://www.youtube.com/user/MstrJames
@prologic @mckinley Meaning you could learned awk. @prologic feed is a special case šŸ˜‹. Ok, optimized it some:\n\nhttps://clbin.com/MCzFb\n\n\nHow does it run on your side?
@mckinley You don't need help, I believe you could have done it yourself. šŸ˜Ž
@adi @mckinley Run it with pp index.upphtml < twtxt.txt > index.html
@mckinley I believe you can manage from here https://ttm.sh/eb8.tgz
@mckinley \n\n> I should learn awk at some point\n\nI recommend it!
@mckinley Sounds really good!
@prologic @jlj Yeah, what's TOOL?
@prologic Looks great!
@prologic Who's there?
@mckinley Haha @ GNU tail, maybe they're right.
@adi @mckinley I'm pretty close to actually generating the pages.
@mckinley Could be better, but this is an awk job. I'm also learning.
@mckinley This is where I am https://ttm.sh/ebD.bin, run it with ./t < twtxt.txt
@prologic Wine, classy!
I also had 2 minor colds in this period, but I'm fine now. I'm vaccinated. Didn't take any test.
@mckinley @prologic šŸ˜
@movq Can you compose a song for these lyrics https://www.andrewjvpowell.com/creative-writings/dark-star/? šŸ˜
@laz @darch @prologic Did you checkout my theme http://f.adi.onl/?
@quark Thanks! šŸ™‡ā€ā™‚ļø
hello, @quark
@prologic True!
Would be nice if yarnd suported custom paths for the twtxt.txt file.