# 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 593
# self = https://watcher.sour.is?uri=https://twt.nfld.uk/user/novaburst/twtxt.txt&offset=293
# next = https://watcher.sour.is?uri=https://twt.nfld.uk/user/novaburst/twtxt.txt&offset=393
# prev = https://watcher.sour.is?uri=https://twt.nfld.uk/user/novaburst/twtxt.txt&offset=193
https://tildegit.org/tildeverse/gopherproxy/commit/cc91b77dec35f9c181f1230a7bb92f44f09ce755 @prologic looks like your thing got markdown when you weren't there >;P
@prologic something that's naturally bound to happen on social media, imo
@ullarah that "little bit" turned out to be a literal endless clusterfuck, XD
@xuu gemini://astrobotany.mozz.us
https://www.axios.com/scoop-onlyfans-wants-to-go-public-7fe6c806-5720-47a7-b11c-49f551f70545.html
@movq hence why "modern web" was a mistake
@mutefall https://dimension.sh/~novaburst/cgx8ry.htm
https://smallstep.com/docs/step-ca
@mutefall being your own CA for free is fairly easy though (seriously no sane person cares about the browsers)
that aside, I don't even list "fediverse" stuff at all, as it is not worth my time nor anyone else's
@prologic i created a twtxt feed for it today on this pod, sort of
@prologic something about self-signed tls certificates on heckoverflow (stack)
> How does signing with a 3rd-party provide more security? – James Mills Jul 11, 2014 at 3:14

holy shit @prologic
@mutefall
> uncle sam is a greedy prick

Always has been
@adi first, it's nothing but look-alike clones of corporate's social media, second, ActivityPub/whatever is a near suicidal task to implement right, third, fediverse software is usually found to be extremely complex, fourth, it got already infected by mainstream "culture"
I went full BSD now
@prologic github is way worse than everyone thinks <- that is a 2-year old blog post
https://github.com/helloSystem/hello/raw/master/screenshots/20211219-desktop-0.7.png

helloSystem is the poor man's macOS ;-]
I may be wrong, though (but I don't care - "Fediverse" was a lie all along)
@mutefall said instance still exists (as far as I recall it's located on counter.fedi.live or something)
meanwhile tilde.chat
@prologic search engine(s) indexing >;P
@prologic wonder how the repo maintainer *even* noticed salty.im, lol
@prologic #cursegithub
@prologic just noticed them now
@prologic main git repo doesn't seem to include those, xD (just cloned it)
_although_ pkgsrc would be a better option than what I just said (it already supports musl and stuff)
@prologic well I could sort of add a FreeBSD-like ports system ;P
\\*forks it\\*
@prologic uLinux was a thing of yours all along? lol
@crunched Main machine runs FreeBSD, second one runs Alpine Linux (the only sane distro imho), the last one runs MX Linux
[There seems to be a "Type Confusion in V8" (V8 being the JS engine), and Google is urgently advising users to upgrade to v99.0.4844.84 (or a later version) because of its security implications.](https://www.vuxml.org/freebsd/323f900d-ac6d-11ec-a0b8-3065ec8fd3ec.html)
@ullarah cc: @jlj
cinny-desktop-webkit
also I just realized it can also work w/o the page= parameter, haha
@movq this is great :rofl:

new code:

#!/bin/sh
page="$(echo "$QUERY_STRING" | sed 's/page\\?=//')"
style="https://unpkg.com/sakura.css/css/sakura-dark.css"
title="Aoi's Gemini Proxy - ${page}"
title_err="Aoi's Gemini Proxy - Error"

printf "%s %s\\n\\r" "Content-type: text/html"

if [ -z "$page" ]; then
        echo "<!DOCTYPE html><html><head><link rel=stylesheet href=$style><title>$title_err</title></head>"
        echo "<body><p>Usage: <code>$(basename $0)/page?=gemini://envs.net</code></p><p>Note: This proxy is half-baked on purpose</p>"
        echo "</body></html>"
else
        echo "<!DOCTYPE html><html><head><link rel=stylesheet href=$style><title>$title</title></head>"
        echo "<body>$(./gemget -o - ${page} | ./gmi2html)</body>"
        echo "<br><hr><footer><details><summary>Proxied by <a href=https://git.sr.ht/~novaburst/cgi-gemini-proxy>cgi-gemini-proxy</a></summary></details></footer></body></html>"
fi
https://git.sr.ht/~novaburst-dev/cgi-gemini-proxy
the result: https://envs.net/~novaburst/gm/index.cgi?file=gemini://dimension.sh/index.gmi

(EDIT: use better example)


#!/bin/sh

printf '%s\\n\\r' "Content-type: text/html"

die() {
        printf '%s error: %s\\n\\r' "$(basename "$0")" "$@"
        exit
}

if [ ! "$QUERY_STRING" ]; then
        die "No 'file' parameter"
fi

./gemget -o - "$QUERY_STRING" | ./gmi2html.awk
all through CGI
I woke up with an extremely silly idea of writing a (yet another) gemini-to-http proxy *but* using some shell boilerplate, gmi2html.awk from prx, and something to fetch them, lol
@ullarah it will only cease if CSS3 goes to die a violent death
@adi none, it was made for fun.
mk2 - mkws-inspired static site generator
@adi yeye, but i'll leave that for later
https://envs.net/~novaburst/ now generated by mkws.sh
@prologic I just have read the whole document and it mentions [matrix] so it's all bullshit
EU could force WhatsApp, Messenger, iMessage and others to offer interoperability - XDA Developers
@prologic well, for what other reason the 'support' feed exists? lol
https://git.076.ne.jp/novaburst/luakit/commit/869d27d0615fd3b03a488b7667a418dbbbdb0941

when customizing the browser externally isn't enough ;P
@adi unix-style analytics >>>>> everything else
any day
and more often than not, the errors it throws doesn't help at all
> Use of uninitialized value in concatenation (.) or string

why perl had to be so.... childish?
hell of a language
Your well-known internet thief strikes again https://envs.net/~novaburst/
@<~duriny https://envs.net/~duriny/twtxt.txt> if i'm replying to this it's because it's working (and yes I'm doing/did it)
https://git.076.ne.jp/novaburst/stcli/src/branch/galaxy/stcli

it's absurdly simpler now
I might have to rewrite stcli clean off probably
Goryon on crDroid 6.13 (LineageOS-based)
Test from practically unused device often called "smartphone"
@prologic used to do that on a weekly basis before 2021 until february of said year, lol
@adi writing Perl code ;P

func isEven(n int) (bool, error) {
  if n <= 0 {
    return false, fmt.Errorf("error: n must be > 0")
  }
  return n % 2 == 0, nil
}


why this quite reminds me of node.js' is-even/is-odd
that's a lot of stuff (they continue adding things to it)
@screem reading the whole Python spec?
> twtr is officially in Beta, rather than a reimplementation of the original client

@<~duriny https://envs.net/~duriny/twtxt.txt> cheers!
@tkanos big corpos are a whole another thing, i don't like them either, anyway
@carsten the former, since I often assume every thing government does is bad, regardless of "good intention" or otherwise.
@carsten it only takes people to rebel against government in every country
@prologic I wonder, why not creating a gitea org for salty.im? just like yarn
https://reclaimthenet.org/australia-is-working-on-laws-to-censor-internet-misinformation/
@prologic not a clue! although i could steal one from somewhere and call it a day >;P
@prologic spyda
I wrote another little thing
https://git.076.ne.jp/novaburst/stcli
@prologic i've got a question (about that search engine thing), can you feed it with an already-crawled index?
@movq heh
I'm watching a rather funny anime right now
_sigh_ that's quite one of the reasons I dislike Cloudf*ck*
yeah yeah "DDoS Protection" i'm using a regular chromium-based browser damn it!
@adi run a 9front VM that runs Acme ;P
@prologic my camera is dead
@prologic two things:
first being a text editor/IDE of sorts mentioned here, the other is in general, kind of
Also:
> it's chat is on one of the worst platforms ever

...
Average rust developer moment
> Features
> A modern open source code editor in Rust

I hate how they always mention that as the first feature.
@mutefall i'm literally only on two rooms, one of them I often chat on IRC, the other on Telegram, nothing else, lol.
I'd say it's still better than Discord but there are even better things than [matrix].
I have mixed thoughts about said protocol *cough* "application platform" built on top of "another application platform (Web 2.0)"
Back in 2021-06-11 I wrote this on my then main twtxt feed:

2021-06-11T10:20:03.000000Z The matrix protocol is overcomplicated enough that making new implementations isn't really doable. ~martijnbraam at git.sr.ht
very salty
> Nowadays GNOME is just a piece of utter garbage, all the configurability is lost. With each release features are removed. No thanks. I cannot work with that. #oxrq2pq

Even macOS's UI/UX is better than GNOME at this point, LOL.
@justamoment

> there's no systemd on FreeBSD

#2p6q6ka
@justamoment meanwhile systemd-homed: exists
I think the 'mention' button on the post toolbar is useless, lol