# 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 286
# self = https://watcher.sour.is?uri=https://twtxt.net/user/eldersnake/twtxt.txt&offset=186
# prev = https://watcher.sour.is?uri=https://twtxt.net/user/eldersnake/twtxt.txt&offset=86
The purist in me still wants to properly learn good old C before thinking about Go.
Yup, almost feels like they're insulting our intelligence.
@lobste_rs Interesting. Anytime Google and the word privacy are mentioned in the same sentence I can't help but be skeptical though.
@prologic @adi to me it's one of those "because you can" kinda thing
but yes, looking forward to the rebranding π
@prologic i would like to host my own pod at some point. Not sure how the migration would go but with the simplicity of twtxt.txt I imagine if wouldn't be hard.
it's all good mate. I wasn't even worried, I think because A. you've mentioned it's self hosted before and B. overall yeah we're decentralised. It's nice not having that anxiety one might get from a big silo when they have downtime, wondering if they've finally kicked the bucket and all your data is gone.
@adi I actually think mkws
would handle that many articles quite well, as long as no inefficient loops are used like I did with my twtxt.txt parsing originally.
@adi Markdown with some sort of custom front matter. Not quite YAML but in that style.
@adi True, on the name.\nAs for what's preventing me, just time and being prepared to switch a few things up. The existing site has a few things going on with the current CMS like auto-generating thumbnails, image resizing, a search function plus about 217 articles to convert over.
@adi True, on the name.
As for what's preventing me, just time and being prepared to switch a few things up. The existing site has a few things going on with the current CMS like auto-generating thumbnails, image resizing, a search function plus about 217 articles to convert over.
@adi Speaking of that site, it currently runs on the flat file PHP Kirby CMS but one day I hope to convert it over to something like mkws.sh
, which should be interesting. The current CMS makes liberal use of front matter etc.
@adi It can do if you make the writing structure a little more rigid and deliberately make the first paragraph as a kind of intro to the article, etc. It's pretty much what happens on my site The Linux Rain.
@adi Yeah not a bad idea. Admittedly sometimes I make my meta descriptions a little bit personalised and not really anything to do with the first paragraph, but your way is probably more *proper*.
@adi yeah I prefer not using front matter too, even to the point where I used the external meta
files as you know. Which isn't perfect but I preferred that than adding an extra thing to separate and process in the one file.
I assume you were meaning to tag @adi ?
But yes, his mkws.sh is great π€ It's minimal but powerful because of pp
and all the things you can do using the shell and UNIX-type programs.
I assume you were meaning to tag @adi ?\nBut yes, his mkws.sh is great π€ It's minimal but powerful because of pp
and all the things you can do using the shell and UNIX-type programs.
interesting... spaces and everything. I can see this would be easy to parse.
@adi nice thanks man, I'll definitely bookmark those.
@jlj @adi yep I can relate to the satisfaction. For my own purposes as least, I'll never use WordPress again.
If anyone has any ideas of good lightweight website 'date-picker' options I'm all ears. Most are just overly JS bloated and such, but at the same time native browser options aren't great either. So much for standards!
@adi I don't think I ever used the word 'force'. I like the idea of omitting the Like features etc because it, we'll say, *encourages* proper conversation and back and forwards communication.
@prologic Especially important because instead of how we see on the likes of FB where people just passively aggressively 'react' to comments/posts with the Laugh emoticon, people have to actually reply with a reasoned argument. In theory anyway.
Another Luke Smith video I just enjoyed: A Demonstration of Modern Web Bloat
The difference in the bloated examples versus the minimal (but still lovely) example he made was a thing of beauty.
Another Luke Smith video I just enjoyed: A Demonstration of Modern Web Bloat\n\nThe difference in the bloated examples versus the minimal (but still lovely) example he made was a thing of beauty.
I haven't looked up any studies or anything but I wouldn't be surprised if those who avoided Facebook, Twitter etc were actively happier on a daily basis.
I think when you reduce entire scores of people to nothing but dots and lines on a graph, it's bound to go badly. In a business setting at least.
@prologic It is very difficult it seems. There are those who will argue "just talk to them through text and calls" like the old days, which on the surface at least seems a fair enough argument, but I don't know it's always that easy. I feel like anyone that does that might, depending on the people they are family/friends with, be seen as a bit outcast or something. I hate the big tech platforms as much as anyone, but it's hard to be kept "in the loop" if I don't at least keep some tabs on it.
@prologic In the case of social media it's really just the factor of my close family and friends being on the likes of Facebook, which is really the only mainstream social media I'm on. It probably sounds like a cop out, but I don't think I'm the only one. As for junk food, ironically I have that more under control, mostly because it upset my stomach π
There is occasional indulgence of course though.
P.S I'm still a consumer of both to some degrees, I'm not perfect, but I think it's worth thinking about.
More I think of it, I believe the typical popular social media landscape as we know it is an analog to junk food.
As we know junk food:
- rewards the pleasure sensors, not necessarily through good means
- is addictive and often designed to be so
- often defended/justified by the masses as being okay in 'moderation', despite knowing that it's addictive qualities make that difficult in some cases.
I think the above can be directly applied to the big social media platforms too.
More I think of it, I believe the typical popular social media landscape as we know it is an analog to junk food.\n\nAs we know junk food:\n- rewards the pleasure sensors, not necessarily through good means\n- is addictive and often designed to be so\n- often defended/justified by the masses as being okay in 'moderation', despite knowing that it's addictive qualities make that difficult in some cases.\n\nI think the above can be directly applied to the big social media platforms too.
@prologic Yep I'm not even very familiar with Go and had the same thoughts as you. Might as well have compared C with PHP.
@adi Ahh okay, never seen that before. Mine is basically this. I admit I haven't at all looked up RSS/Atom specifications or anything so not sure how correct the actual feed is, should probably check that some time!
@adi I'm pretty sure the mkws
archive I downloaded just had the sitemap.uppxml
file, which I based my rss.uppxml
on, but copied in the relevant atom tag bits from another blog site. Then I loop through my folder pages, source the meta data, etc, similar as how I customized the mkws
script.
@prologic totally agree with you but unfortunately I think critical thinking escapes too many. In some ways I'm pretty sure these social media platforms encourage lack of critical thinking. A lot easier to keep and control a big dumb addicted herd.
@ionores looks interesting! I use a pre-configured Mutt
at the moment, be interesting to compare them.
Yeah I'm admittedly a little wasted tonight so not sure I 100% understood the article π€£ Might have to re-read in the morning.
Interesting article. The author seems to prefer the populace social media model with all the problems it brings. On the one hand I know what he's saying, but on the other I think he's being a bit defeatist.
It's pretty bloody ridiculous. Unfortunately, it's a good example of the real problem - not the internet itself, but corporations and those in power mucking it up for everyone else.
@prologic "What you see here is as good (or as bad, ir may never become huge or popular, letβs face it!, it lacks the dopamine effects) as it gets" \nAnd fine with me! (how do you quote on here?). Something I've begun to realise while being on here is that the only 'reaction' one gets is actual *interaction*, you know, with words and stuff like people would normally do in conversations, and it's kinda refreshing.
@prologic "What you see here is as good (or as bad, ir may never become huge or popular, letβs face it!, it lacks the dopamine effects) as it gets"
And fine with me! (how do you quote on here?). Something I've begun to realise while being on here is that the only 'reaction' one gets is actual *interaction*, you know, with words and stuff like people would normally do in conversations, and it's kinda refreshing.
There's also surfraw. Written by Julian Assange believe it or not. But it's a handy little CLI tool for the sort of thing you guys are talking about.
I already have it - Vim + plain text π
Looks good to me. Not sure if they will load for everyone, because of the Amazon part, although it did for me and Brave browser's blocking shield is reasonably aggressive. But yeah, looks good and the books look like good resources.
@bml oh nice! Yeah the awesome battery life is appealing too.
@prologic Haha π
In all seriousness though, the topic reminds me of one of these: AlphaSmart 3000 Review.\nI wouldn't mind getting one of these some time. Looks good for a bit of distraction free writing, and portable!
@prologic Haha π
In all seriousness though, the topic reminds me of one of these: AlphaSmart 3000 Review.
I wouldn't mind getting one of these some time. Looks good for a bit of distraction free writing, and portable!
@prologic @xjix I'm surprised no one has tried to run JavaScript on a typewriter π (jokes)
@prologic Yeah exactly kind of what I'm thinking, a typical twtxt.txt
file will end up being pretty long and a HTML page with an ever decreasing scrollbar size might not be a good thing lol xD Yeah latest *N* is probably the *simplest* solution...
@adi What's your opinion on pagination? I was able to implement a rudimentary pagination on my twts page by using split
on the twtxt.txt
and a nested call to pp
, but I dunno, I don't love it. Do people generally not mind loading a longer HTML page if its still mostly just text?
@adi In terms of wrapping them in HTML it's no more effort really, plus it's just a lot more efficient than calling smu
a billion times (slight exaggeration) line by line.
@bml I know it won't win any game awards, but I am impressed the guy managed to make it in pretty much just C and a handful of FOSS tools. Ultra ultra portable!
@adi Aha! Interesting, thank you. Programs like awk
continue to surprise me (in a good way).
@will Isn't that almost a badge of honour nowadays? π
@prologic Lol I thought you were talking about a politician
And probably just their media person too.
@adi Just realised a basic gsub
on the date string stripping the 'T' and 'Z' does a respectable enough output.
@adi Legend! Works great, thanks man. awk
still isn't my strong area, so that helps. It's definitely that bit quicker to generate as you would expect too, being more efficient. You wouldn't also have some clues how to format the date? AFAIK you can't run the date
command inside awk
?
@adi good point! I might have a go of that today.
@adi probably yeah, the main reason I even do the line by line is so I can more effortlessly wrap each line in my HTML container divs.
This does mean it's only updated when I push another site update of course, so it's not a live feed. I could Cron that too, but eh, I don't mind synchronizing once or twice a day for now.
@darch custom I guess. I'm running sed
on the raw twtxt.txt file to convert the tags to Markdown friendly links, saving it to a temporary file and then looping through it line by line and putting the lines through smu
(Markdown). This is run inside the mkws
SSG by @adi . It's probably not the most efficient code but it works!
@prologic Yep, I tapped the post button twice, which apparently submits even though the button is in the 'Loading/Spinning' state still submits a second time!
So yeah, not a bug as such, maybe something that could be fixed in Goryon's UI to not allow an accidental second tap or so. My touchscreen can be fairly sensitive, especially as battery gets low.
@prologic Yep, I tapped the post button twice, which apparently submits even though the button is in the 'Loading/Spinning' state still submits a second time!\nSo yeah, not a bug as such, maybe something that could be fixed in Goryon's UI to not allow an accidental second tap or so. My touchscreen can be fairly sensitive, especially as battery gets low.
@prologic this is a test post (may double up)
@prologic this is a test post (may double up)
It's interesting that the double up is actually in the twtxt.txt
file itself, and looking at this particular example, the double up comment was timestamped two seconds after the original.
@adi Oh it totally is. And as I said in the article, I once did essentially just that. Which I totally regretted. And managing all the bits and pieces with Webpack/Rollup etc, while it might be useful for really big projects, just felt like bloat and overkill.
@prologic @xuu Strange, I made that comment from Goryon
if that helps at all.
@xj9 you must have words to express?
@bml just on OpenBSD, how's the hardware support? in terms of drivers etc. I can never quite tell looking at the site. I used to play around with FreeBSD a bit which I enjoyed, I think it's the only BSD I've tried though.
@bml haha I hear ya. I'm not against it in general but the way it gets overused in many places just hurts my soul lol.
@bml love the simplicity TBH. If it's all you need, that's all that matters.
Hmm, just to let you know, the tw.tgz
file doesn't seem to download, I get a 406 error.
I uh... don't know what to say about this π³
Haha awesome. I love how Plan9 seems to be cropping up in more and more places lately, a twtxt client was bound to happen at some point.
I'm all for a prologic built Aussie search engine! Sadly you just know the buffoons who'll fork out money will give it to some company that will try to take advantage of peoples data and be Aussie's Google-lite.