# 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 235518
# self = https://watcher.sour.is?offset=228593
# next = https://watcher.sour.is?offset=228693
# prev = https://watcher.sour.is?offset=228493
… and then there’s SVED from SvarDOS at 6035 bytes. Oh, dear!

Good thing is, SVED is free software:

https://github.com/SvarDOS/core/tree/master/sved/trunk
… and then there’s SVED from SvarDOS at 6035 bytes. Oh, dear!

Good thing is, SVED is free software:

https://github.com/SvarDOS/core/tree/master/sved/trunk
… and then there’s SVED from SvarDOS at 6035 bytes. Oh, dear!

Good thing is, SVED is free software:

https://github.com/SvarDOS/core/tree/master/sved/trunk
… and then there’s SVED from SvarDOS at 6035 bytes. Oh, dear!

Good thing is, SVED is free software:

https://github.com/SvarDOS/core/tree/master/sved/trunk
@kat I think it is kind of impossible to switch from sqlite to Postgres. I have run GtS on sqlite from get go, no issues. Granted, single user instance, but still...
my fucking second drive for plex isn't auto mounting with fstab on reboot for some reason and i keep accidentally discovering this it's super annoying
my fucking second drive for plex isn't auto mounting with fstab on reboot for some reason and i keep accidentally discovering this it's super annoying
@kat i'm an LXQt girlie for life and i like the convenience of apt despite that they never update their god damn packages so i guess i'm stuck on lubuntu for everything
@kat i'm an LXQt girlie for life and i like the convenience of apt despite that they never update their god damn packages so i guess i'm stuck on lubuntu for everything
been thinking about trying arch linux but no i will not become the type of person that uses arch
been thinking about trying arch linux but no i will not become the type of person that uses arch
@kat fun* lol*
@kat fun* lol*
i wanna make more videos........ editing in shotcut is kinda fnu
i wanna make more videos........ editing in shotcut is kinda fnu
@bender epic!!!
@bender epic!!!
@kay "when it rains, it pours!" :-D
@kat wow, thanks for sharing that guide! I have now used it on my better tuned instance. Woot!
i need to try htmx out
i need to try htmx out
@kat i can't WAITTTTTTTTT
@kat i can't WAITTTTTTTTT
guys i might be getting a framework laptop from my aunt i'm freaking out
guys i might be getting a framework laptop from my aunt i'm freaking out
i'm pretty sure i'm running this all off sqlite so if i get too many users on here i might be cooked but oh well i can always try to migrate (<-- has heard migrations from sqlite to mysql/postgres are hell)
i'm pretty sure i'm running this all off sqlite so if i get too many users on here i might be cooked but oh well i can always try to migrate (<-- has heard migrations from sqlite to mysql/postgres are hell)
@bender soon there'll be dozens of us!!!!!!
@bender soon there'll be dozens of us!!!!!!
@kat ...

> "we are invading the humble twtxt/yarn network"

LOL. @prologic loves it. He wants it to grow a little. He told me. More than once!
[47°09′52″S, 126°43′43″W] Dosimeter overflow
@kat i still need to put it together so either i'll do it off camera or i'll wait till i get my memory card
@kat i still need to put it together so either i'll do it off camera or i'll wait till i get my memory card
i thought about making a chill little vlog putting together my new pi4 for KVM purposes but unless i make it go fast somehow i'd probably quickly exceed the 30 mins on the last mini DVD i have for recording lol
i thought about making a chill little vlog putting together my new pi4 for KVM purposes but unless i make it go fast somehow i'd probably quickly exceed the 30 mins on the last mini DVD i have for recording lol
@kingdomcome :DDDD
@kingdomcome :DDDD
@kat Spreading the good word (red velvet songs)
@kingdomcome if yarn had boosts i'd boost the shit out of this
@kingdomcome if yarn had boosts i'd boost the shit out of this
@kat Miku miku oo wee oo 🎶
getting my friends to join here is so fun. we are invading the humble twtxt/yarn network
getting my friends to join here is so fun. we are invading the humble twtxt/yarn network
@kingdomcome hiding in my wifi....
@kingdomcome hiding in my wifi....
@kingdomcome HIIIIIIIIII I'M VIBING AND INHALING COFFEE
@kingdomcome HIIIIIIIIII I'M VIBING AND INHALING COFFEE
The Ireneification of twtxt is in progress
HEY KAT WHAT'S UP!!!!!!!
IT'S SNOWING BTW IT'S SO PRETTY OUT
IT'S SNOWING BTW IT'S SO PRETTY OUT
@kat i'm reading this and i already have a gts server that i could secure with this but i'm thinking it'd be best for most of my public sites https://ovelny.sh/blog/a-complete-guide-for-your-gotosocial-server/
@kat i'm reading this and i already have a gts server that i could secure with this but i'm thinking it'd be best for most of my public sites https://ovelny.sh/blog/a-complete-guide-for-your-gotosocial-server/
hmmm i really should set up crowdsec and maybe a WAF like coraza or something. i don't look at my logs as much as i should because they scare me and ignorance is bliss but i should probably cut out as much false traffic as possible especially to my biggest site (superlove)
hmmm i really should set up crowdsec and maybe a WAF like coraza or something. i don't look at my logs as much as i should because they scare me and ignorance is bliss but i should probably cut out as much false traffic as possible especially to my biggest site (superlove)
morning friends (it is 1pm here)
morning friends (it is 1pm here)
OHHH THIS IS EPIC YALL TY i'd love to try this!!!
OHHH THIS IS EPIC YALL TY i'd love to try this!!!
@prologic i would be very interested in this as a caddy user who needs a WAF probably lol
@prologic i would be very interested in this as a caddy user who needs a WAF probably lol
@kingdomcome HIYA
@kingdomcome HIYA
@ YEAHHHHHHHHH IRENE'S HERE!!!!!!
@ YEAHHHHHHHHH IRENE'S HERE!!!!!!
I'll upload a user icon later. & I guess link back to this account on my website. Right now, I'm gonna try to take a #nap
What's up twtxt network
👋 Hello @kingdomcome, welcome to yarn, a Yarn.social Pod! To get started you may want to check out the pod's Discover feed to find users to follow and interact with. To follow new users, use the ⨁ Follow button on their profile page or use the Follow form and enter a Twtxt URL. You may also find other feeds of interest via Feeds. Welcome! 🤗
👋 Hello @kingdomcome, welcome to yarn, a Yarn.social Pod! To get started you may want to check out the pod's Discover feed to find users to follow and interact with. To follow new users, use the ⨁ Follow button on their profile page or use the Follow form and enter a Twtxt URL. You may also find other feeds of interest via Feeds. Welcome! 🤗
@eapl same here. There are many "doctors", and "professors" named Don Abel. None of them are showing as having said, or written that quote.
Hmm, yeah, I am doing something wrong. Same is happening with any site to which I apply the this.

Is there a reason you forked this from mholt? What was added, or changed? Your "Initial commit" throws an error.
nice! would you mind elaborating a bit?
Is that the scientific method?
I couldn't find anything related when I searched for it.
On a test I ran, with a static site that is a PWA, like this:


example.com {
        root * /web/example.com
        route / {
             rate_limit {path} 20r/m
             file_server
        }
}


It works (as limiting rate), but when rate isn't reached, the page doesn't render. Not sure what could be going on.
@movq Sounds about right. :-D It's now calm again.

Always noise, whichever way you loo^Whear at it. :-(
@movq This video never gets old! :-) Now I ended up on https://brendangregg.com/specials.html#rshutdown and laughing my ass off. :-D
No more stupid little DDoS(s) from fucking China now 🤣
No more stupid little DDoS(s) from fucking China now 🤣
Note for reference I was trying to write and fix this rule (_fixed version below_):


# Ignore Content-Type restrictions for Git
SecRule REQUEST_HEADERS:Host "@streq git.mills.io" "id:101,phase:1,t:none,nolog,ctl:ruleRemoveById=920420"
Note for reference I was trying to write and fix this rule (_fixed version below_):


# Ignore Content-Type restrictions for Git
SecRule REQUEST_HEADERS:Host "@streq git.mills.io" "id:101,phase:1,t:none,nolog,ctl:ruleRemoveById=920420"
Notably the custom operator @lookupASN
Notably the custom operator @lookupASN
I'll try to add a README for caddy-waf soon™ (_going back to bed now_) at least document the customizations I've made to this WAF (_which I forked from caddy-coraza_)
I'll try to add a README for caddy-waf soon™ (_going back to bed now_) at least document the customizations I've made to this WAF (_which I forked from caddy-coraza_)
This is how I build my caddy:


proxy-1:~# cat build.caddy.sh
#!/bin/sh

xcaddy build \\
\t--with github.com/caddy-dns/cloudflare \\
\t--with github.com/caddyserver/cache-handler \\
\t--with git.mills.io/prologic/caddy-ratelimit \\
\t--with git.mills.io/prologic/caddy-waf
proxy-1:~#
This is how I build my caddy:


proxy-1:~# cat build.caddy.sh
#!/bin/sh

xcaddy build \
	--with github.com/caddy-dns/cloudflare \
	--with github.com/caddyserver/cache-handler \
	--with git.mills.io/prologic/caddy-ratelimit \
	--with git.mills.io/prologic/caddy-waf
proxy-1:~#
This is how I build my caddy:


proxy-1:~# cat build.caddy.sh
#!/bin/sh

xcaddy build \
	--with github.com/caddy-dns/cloudflare \
	--with github.com/caddyserver/cache-handler \
	--with git.mills.io/prologic/caddy-ratelimit \
	--with git.mills.io/prologic/caddy-waf
proxy-1:~#
Ahh fuck! Sorry I was fixing a rule 🤣 This is much better!


proxy-1:~# grep -c 'Bad ASN' /var/log/caddy/caddy.log
2441
Ahh fuck! Sorry I was fixing a rule 🤣 This is much better!


proxy-1:~# grep -c 'Bad ASN' /var/log/caddy/caddy.log
2441
[47°09′49″S, 126°43′41″W] Dosimeter still failing
So this should build caddy with both modules:


$ xcaddy build --with git.mills.io/prologic/caddy-ratelimit --with  git.mills.io/prologic/caddy-waf


Right?
@lyse The west. Nasty wind is always coming from the bloody west. (My apartment is facing the west and so I get to enjoy all the storms. 😂)

Good weather/wind comes from the east. (Which makes all the planes approach from the west again and so I get to enjoy their noise. 😂😂)
@lyse The west. Nasty wind is always coming from the bloody west. (My apartment is facing the west and so I get to enjoy all the storms. 😂)

Good weather/wind comes from the east. (Which makes all the planes approach from the west again and so I get to enjoy their noise. 😂😂)
@lyse The west. Nasty wind is always coming from the bloody west. (My apartment is facing the west and so I get to enjoy all the storms. 😂)

Good weather/wind comes from the east. (Which makes all the planes approach from the west again and so I get to enjoy their noise. 😂😂)
@lyse The west. Nasty wind is always coming from the bloody west. (My apartment is facing the west and so I get to enjoy all the storms. 😂)

Good weather/wind comes from the east. (Which makes all the planes approach from the west again and so I get to enjoy their noise. 😂😂)
@movq hahahahaha! I see. Of course, better be safe than... well, you know it. :-)
Meh, I hit an import cycle while writing tests. Now I have to relocate some code. What do we conclude from that: don't write tests. ;-)
The rate-limit one too (https://git.mills.io/prologic/caddy-ratelimit), for sure! Would the caddy-waf be:


$ xcaddy build --with git.mills.io/prologic/caddy-waf


Yes? Still, the README for a configuration example would be awesome!
@prologic cool! Looking forward to the README for https://git.mills.io/prologic/caddy-waf! :-) I will probably build that module on my Caddy!
Where is all this wind suddenly coming from?
@bender Yes they are rather large 🤣 Here you go:


proxy-1:~# cat /etc/caddy/waf/bad_asns.txt
# CHINANET-BACKBONE No.31,Jin-rong Street, CN
# Why: DDoS
4134

# CHINA169-BACKBONE CHINA UNICOM China169 Backbone, CN
# Why: DDoS
4837

# CHINAMOBILE-CN China Mobile Communications Group Co., Ltd., CN
# Why: DDoS
9808

# FACEBOOK, US
# Why: Bad Bots
32934
proxy-1:~#