# 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 481
# self = https://watcher.sour.is?uri=https://social.kyoko-project.wer.ee/user/akoizumi/twtxt.txt&offset=381
# prev = https://watcher.sour.is?uri=https://social.kyoko-project.wer.ee/user/akoizumi/twtxt.txt&offset=281
it says nothing about MTAs altogether
related to: https://search.twtxt.net/search?q=%23x2ycysa&t=term&f=conv&s=created&s=_id
Hm, setting up listmonk with maddy is too much of a struggle, last time I tried it
@tkanos that's kinda quite literally the problem, MOST people that make use of fancy front-ends like Vue and whatnot, have zero clue of what the heck they are doing (and good lord, NPM should already fucking die in a fire)
@lyse insert bobby tables reference here
https://git.kyoko-project.wer.ee/koizumi.aoi/maddy-psql
this is lovely I'm not gonna lie


doas -u _postgresql psql --dbname=maddy --host=localhost --username=maddy -c "UPDATE passwords SET value = '$(maddy hash --password "$1")' WHERE key = '$2'"

take 2, without the 3rd argument
I wrote this little thing

doas -u _postgresql psql --dbname=maddy --host=localhost --username=maddy "UPDATE passwords SET value = '$(maddy hash --password "$1")' WHERE key = '$2' AND value = '$(maddy hash --password "$3")'"


First argument is the new password (hashed of course), the second being the username, the third being the old (current) password. I haven't yet tried this but I might now.
@prologic holy crap
@lyse lol yeah I just realized.
This is an updated revision (which throws the same error though):

#!/usr/local/bin/haserl --accept-all
Content-Type: text/html

<html>
<head>
<link rel="stylesheet" href="https://cdn.kyoko-project.wer.ee/@mirage/mirageCSS/dark.css">
<title>KyokoMail: Change account password</title>
</head>
<body>              
<h1>Change account password for KyokoMail</h1>
<p>Warning: to use this form you <b>must</b> have an account on this service, otherwise, get out.</p>
<form action="<% /usr/local/maddy/maddy creds password --password %>" method="GET">
<p>
Username:
<input type="text" name="username" cols="20" placeholder="username@kyoko-project.wer.ee" required="required"/>
</p>
<p>
New password:
<input type="password" name="new_password" cols="20" required="required"/>
</p>
<input type="submit" value="Go" />
</form>
</body>
</html>


Looks like I can't make use of haserl for these kind of things
this totally looks fine to me, but it seems to be taken in the wrong order and with duplicate parameters besides the two I want it to actually read, and it errors out.

#!/usr/local/bin/haserl --accept-all
Content-Type: text/html
<html>
<head>
<link rel="stylesheet" href="https://cdn.kyoko-project.wer.ee/@mirage/mirageCSS/dark.css">
<title>KyokoMail: Change account password</title>
</head>
<body>
<h1>Change account password for KyokoMail</h1>
<p>Warning: to use this form you <b>must</b> have an account on this service, otherwise, get out.</p>
<form action="<% /usr/local/bin/maddy creds password --password $FORM_new_password_again $FORM_username %>" method="GET">
<p>
Username:
<input type="text" name="username" cols="20" placeholder="username@kyoko-project.wer.ee" required="required"/>
</p>
<p>
Current password:
<input type="password" name="old_password" cols="20"  required="required"/>
</p>
<p>
New password:
<input type="password" name="new_password" cols="20"  required="required"/>
</p>
<p>
New password (repeat):
<input type="password" name="new_password_again" cols="20" required="required"/>
</p>
<input type="submit" value="Go" />
</form>
</body>
</html>
Oh geez this is driving me mad, I can't get maddy to do that one thing I want it to do on a CGI script I wrote.
@prologic Web3! >;P
@xuu got any clues? I'm kinda lost here
Trying to figure out what sql query maddy does to change user passwords, but first, i'm looking for the subcommand that actually does that... on the source code
@prologic me neither. I guess it's just OS troubles as usual
@prologic i'm using defaults for everything (haven't bothered with custom templates on this one), although the error actually comes from typing anything that's not a twt hash so....
@eaplmx no
@prologic nope, i'm using default 'SimpleCSS Dark' right now
Granted i'm personally a pacifist
@prologic well, I think I carried this thing over since 0.14.x and 0.15.x just still happens to have it
@prologic US never does anything good, and Biden had already shown his own desires of war (instead of what people would actually expect, and it's not surprising at all)
plus I just updated to 0.15.1
@prologic https://social.kyoko-project.wer.ee/search?tag=lol

(anything will do)
@prologic

error executing template search: template: search:187:12: executing "twt" at <urlForRootConv $.Twt $.User>: error calling urlForRootConv: runtime error: invalid memory address or nil pointer dereference

search tags input bar throws this
@movq plus the earthquakes are god awful on those buildings
@carsten iirc your pod host doesn't allow docker right? or is it somewhere else? ;P
I've got gopherproxy and kineto set up couple hours ago, both using the main site's CSS, looks kind of weird but it works :tm:
Guess I'll update my pod later today
@prologic i don't personally think it'd be any useful (plus why not just use UTC for everything otherwise)
@abucci ditto (plus hardly anybody knows about kyokonet)
@carsten ~darch went to @darch~
@abucci same
@aryak lmfao there's your problem. prologic's stuff uses https://github.com/tdewolff/minify (which BTW is actually better than the node.js variant)
@prologic plus it's also getting confusing so might as well just do it @abucci
@abucci I'm not surprised at all to be fair
https://www.clockworkpi.com/
heh https://git.mills.io/prologic/gopherproxy/src/branch/master/template.go
I wonder how go-gopher actually renders gophermaps into html
@movq pretty much yeah, there are other browsers too but they're actually either toys or just trash
fixed those "features" and pushed them to https://git.kyoko-project.wer.ee/Mirage/midori. Problem is, I can't compile it, lol
@prologic then you haven't seen GNU info files, those are the worst, lmao
the worst part of all this insanity is that the developer got brainwashed into [redacted]
only problem i'm having right now is that the browser treats the Backspace key as a Back key, when I think it shouldn't
midori browser my beloved. man, if it weren't turned into just another chromium clone i'd continue to take it seriously. right now i'm using the last version with webkit2gtk
@aryak hmm it works fine on my end
https://search.kyoko-project.wer.ee
bah, listmonk ain't working as it is supposed to, mlmmj doesn't either, ugh
nothing has changed ever since the last time I had this message appearing
@abucci didn't mean that, actually.

glares at crabs and monads
@abucci looks nice but I feel it's painful as Darcs (because of implementation)

I got a fancy status page now
@prologic I think you forgot pollinator (might try it sometime @ kyokonet just for the hell of it >;P)
@cobra have you tried gopher:// yet?
@cobra salute
@eaplmx if only that actually worked for me, i'm always bored ;P
@mckinley wikiless aka the useless frontend no one ever asked for
although it's worth noting that it's a bit unstable
plus I also replaced my mail stack with maddy
woohoo
KyokoNet server status:
* BNC: up
* Calls: up
* E-mail: up
* Feeds: up
* Git: up
* IRC: down
* Morty: up
* Mumble: up
* Salty.im: up
* Search: down
* Tildes: 1 out of 3 up
* XMPP: up
* Yarn.social: up*
KyokoNet server status:
* BNC: up
* Calls: up
* E-mail: up
* Feeds: up
* Git: up
* IRC: down
* Morty: down
* Mumble: up
* Salty.im: up
* Search: down
* Tildes: 1 out of 3 up
* XMPP: up
* Yarn.social: up*
now the core feeds won't appear until I maybe either 1) restart yarnd again 2) create them manually
That was serious, historical, CRAP
@news i.e. relinking due to well, not enough storage
OpenBSD 7.2 is out https://www.openbsd.org/72.html
@prologic or well, uhh, encrypting files separately with salty(1) itself and using a temp file host (ideally self-hosted)
lol what's going on with stuff that never loads
https://www.ccc.de/en/updates/2022/no-congress-2022
@drew-devaults-blog as an end-user 2FA only brought me more problems than it solved, thanks to Android
Star Wars UNIX*: The Jedi (jed) vs The Dark (emacs) vs The Vim vs The Elders (ed) vs The Nanomachines (nano) vs The Heathens (evil emacs)*
imagine combining:
portable dvd player and
raspberry pi
I've been looking into CoreDNS today, not sure whether it's actually possible to run a public DNS server from it though (including custom zones).
@prologic don't see why not @abucci

(Written from said browser)

meanwhile my things be like
@eaplmx it's the default distro, raspbian with LXQt.
@prologic aye
but this is basically it https://cdn.sparkfun.com/assets/4/3/7/2/a/pitop-laptop.jpg
@prologic I don't have a camera, lol

Behold! My Raspberrry Pi 3 Model B


oh boy
@prologic well but if galene complains EVEN when I do it right on the nginx config, then it's literal insanity
fuck it, this is becoming more of a burden than something actually worth hosting. taking it down now
damn it, why (secure) websockets have to be a pain to configure on nginx
@mckinley what's wrong with prosody?
please be satire please be satire PLEASE BE SATIRE https://www.process-one.net/blog/matrix-protocol-added-to-ejabberd/
Rick Astley - Gonna Give You Up ยท graywalf
this is what happens when shell quoting gets in the way
SMH
but if I run the command manually, it works
I wonder what's going wrong with age when I just want to store its arguments on a config file READ by the password manager and then just outputs this:


Soul devotion > kanako add test
flag provided but not defined: -encrypt --identity /home/akoizumi/.kanako/priv.age --armor --output
@prologic uh, anything and everything based on chromium is just as bad or even worse than chromium itself, same for firefox.
I broke said sdcard and I don't want to risk the main one, but it was fun to try doing so though.


-rw-r--r--  0 root   bin       874 Mar  7  2022 firmware/brcmfmac43430-sdio.raspberrypi,3-model-b.txt

OH boy
So I just went ahead and I'm gonna attempt to install OpenBSD on my RPi3B board, although on a different sdcard since my sister isn't gonna use it anyway. This is getting fun