@sorenpeter@darch.dk What are we testing?
@discoverbsdthebsdcommunitylinklog@feeds.twtxt.net This is interesting. Not giving up on #FreeBSD #jails yet but definitely have to give this a try; and if my #podman workflow goes as smooth as it does on #Linux I might just end up installing FreeBSD on the #RaspberryPi too! 🥳
although the only #Go things I’m running in there are a WriteFreely blog and the Saltyd #SaltyIM broker … each running in separate #FreeBSD #jail, those are still running the 14.1-Release (at the moment) anyways.
Upgrading my FreeBSD box to 14.2-RELEASE … I may have read something about some-Go-thing breaking but 🤞
@movq@www.uninformativ.de The view in these is pretty gorgeous as well!! 👌
@movq@www.uninformativ.de tried translating that and it said Art lover/enthusiast
, that could be correct since that despise of the artificial stems out of “Love for the Actual real Art” although that’s a subjective statement in itself; xD duckduckgo’s translation thing spat out “künstliche-Kunsthasser”
/me wantis to learn german so bad!
@david@collantes.us my replay stayed pinned to the bottom of neomutt like an eye soar, I had to delete the OP. xD I still don’t know how to archive stuff in (neo)mutt.
@bender@twtxt.net there’s Pub too but is still experimental I think …
Warning: pub is still in development, if it breaks, you can keep the pieces.
@prologic@twtxt.net You know what! let me get back to you on that–I’ve never never tried to do CGI scripting before and have zero knowledge about it.
/Me adding a new entry in a #Todo list.
@prologic@twtxt.net I’ve seen plenty but I doubt you could use any (other than PHP) to actually serve your pages, anything you want to serve, you put in a ~/public_xyz folder (your php files go there too for Apache to serve), no config files/server setting.
But don’t take my word for it, I just got there and still yet to meet people and learn a bit of IT wizardry from them ;)
@prologic@twtxt.net Twtxt wise, it was kind of disparate at first xD with no access to logs as you may have read on the alt-feed itself. But then, @sorenpeter@darch.dk’s script came to the rescue … like, just in time 😁 Otherwise, everything else is fun as publicised, exploring and learning along the way.
@prologic@twtxt.net There’s always my log.html page if it helps… and while we’re still at it here’s the other twt #z2ymlkq for reference ;)
@prologic@twtxt.net yeah! If you remember I was curious about how people managed their stuff hosted on a Pubnix (this thread -> #z2ymlkq ) and I’ve just managed to join one …
@skinshafi@thunix.net That’s me by the way! just in case you’ve missed this one … (#44kqz4q) 😅
@movq@www.uninformativ.de if it’s just notifications that are bothering you could just go to your /settings/preferences/notifications and uncheck as much boxes as you need … unless you’ve already done that, then… sorry, not sorry we love your posts my friend!! xD And just so you know, you put a smile on my face whenever I stumble upon any of your retro-computing posts! 😁
@lyse@lyse.isobeef.org I freaking love this one!! It feels squeaky clean! Definitely using it for my sm0lweb stuff. Thank you for sharing 🙏
@bender@twtxt.net That’s the plan! 3;)
@prologic@twtxt.net I bet our twts are already being fed to circuit monsters… Remember the other day when I’d snapped out about some nonsense, being an A-Hole and what not? I’ve seen an AI company employee lurking around with not much interaction (if I’m not mistaken), so my mind went on auto-pilot mode thinking “This !#@%$ must be feeding us to the circuit peggy monster!! Arrr 😤” 🤣🤣🤣 but then again, one shouldn’t judge a book by it’s cover (or an employee by his title) right?
@prologic@twtxt.net How so? I read the article but didn’t get who’s embracing and extending what to extinguish it…
[Update!] My request to join in has finally gotten accepted over on thunix.net like, two days ago! And now, my alter ego @skinshafi@thunix.net can have a Twtxt feed of its own x)
Beautiful shot @movq@www.uninformativ.de 🤩 … I’ve always had a hard time taking pictures in a foggy atmosphere, it never looks as dense as it does IRL. Any tips? 🥹
@prologic@twtxt.net My pleasure! glad I could help.
@prologic@twtxt.net Never seen macOS but I believe that’s a yes, just like in the second screenshot. That’s my whole screen zoomed on the cursor’s position and it keeps following.
@prologic@twtxt.net had to get Compiz from the edge/testing
repo, but I believe that you can do without it. Xfce’s default Alt+Scroll
thing works out of the box.
xfce’s default Alt+Scroll
feels more convenient and you get to zoom in as much as you want as needed before things become indistinguishable, here you can see my original cursor overlapping to magnified one (it only showed during screenshot)
@prologic@twtxt.net Not sure why Compiz but here…
@quark@ferengi.one What would happen if I replayed to this twt from the future, when I’m still in it’s relative past? 🤔
@prologic@twtxt.net Trust me, it would’ve made the world a better place.
@prologic@twtxt.net Oh! I’d like to see this one too. 3:)
… it even shows @sorenpeter@darch.dk’s article from 2020 in search results
Trying one last thing before going Berserk on that MF …
Tearing down my web server and starting all over … that’s just way too many 502s it’s been throwing in the last couple of days.
Safe travels @prologic@twtxt.net have fun!
@prologic@twtxt.net I cannot… believe… It took me a “Single Search Query” to get HOOKED!! 🤩 Bonus: tried it from terminal too and it works just 👌
Behold … “Marginalia” ! My new favorite search engine!! And I have @mattof to thank for this find. Here’s their Blog post about it since I don’t think I could do a better job describing what it is. but, tl;dr: it’s a #smallweb focused search engine.
@prologic@twtxt.net make it 0.25% I had to reboot, “One… More… Time” 🎶
@prologic@twtxt.net Wait a second… something ain’t right here! when you say dropped to
does that mean my feed isn’t reachable 99.77% of the time? all the time? Within last N days/hours? (the numbers were 98.29% the other time) or… my feed became more available After an outage? 🤔😅
@prologic@twtxt.net I … Knew it! 🤣 I was even gonna throw in a joke about it in IRC.
Been down for +7 effing hours … Power went out for a while and I didn’t even bother to check if things went back up normally afterwards. and guess what? they didn’t 🤡
@lyse@lyse.isobeef.org Did we just have had a world-wide bonus summer day out of nowhere !!? It was dry and hot all day long in here as well and still is now at night.
What’s made you unlock twitch.tv?
A couple of events where my only choices for watching them are: Twitch, Youtube or Fartbook.
What are you doing differently?
TL;DR: I stopped going there unless I have to for the reason above.
I used to spend Waaaaay too much time on the platform. I had a whole setup using Streamlink, MPV and Chatterino where sometimes, I’d have up to 10 concurrent open streams all day long on a secondary monitor (thanks to tiling window managers’ magic), some I was interested in watching, some I moderated for a couple of friends and some I’ve had open just for support (helping new streamers in the community with their numbers till they take off and such). Theeen something happened to one of my loved ones, so I had to stop all the nonsense and spend that time and attention with the person who deserves it the most. I blocked the platform at first since I had a habit to type twit...
as soon as I opened a browser 😅 (addiction is real) and now I don’t. (That reflex got replaced with typing twtxt...
instead 😂)
@bender@twtxt.net Nobody would notice if stopped auto-syncing my twtxt file 3:) and If I’m careful enough I’d have plenty of time to fix my mess
@prologic@twtxt.net I can only tell you why I do xD although, I don’t need to anymore.
@bender@twtxt.net @prologic@twtxt.net you mean This? if your browser doesn’t jump to the 00h26m56s time(-frame?) automatically you know where to look ;)
@prologic@twtxt.net HAHA, It was the right tool for the task. 😆👍
@prologic@twtxt.net I went in way too late for @sorenpeter@darch.dk’s presentation but just in time for the mosh-pit talk 🤘 I’ll have to dig through the Vods afterwards.
I ended up deploying an OpenGist instead! unlike MicroBin, the whole things went smoother than posting a twt 😆
@prologic@twtxt.net It has been ages since the last time yt-dl worked for me … maybe give yt-dlp a try?
@prologic@twtxt.net I’ve just seen that one as well as MicroBin on selfh.st , it looks prettier on your instance than it did on their live demo 😆. But I’ve already started playing around with microBin and will see how things go from there.
I guess I should setup some kind of past-bin or something, I bet somebody’s already angry about them last couple of long twts 😅 Sorry, not sorry! but I’ll try to fix that.
Termux
same thing @doesnm uses and it worked 👍 Media
@doesnm@doesnm.p.psf.lt No it’s all good… I’ve just rebuilt it from master and it doesn’t look like anything is broken:
~/GitRepos> git clone https://github.com/plomlompom/htwtxt.git
Cloning into 'htwtxt'...
remote: Enumerating objects: 411, done.
remote: Total 411 (delta 0), reused 0 (delta 0), pack-reused 411 (from 1)
Receiving objects: 100% (411/411), 87.89 KiB | 430.00 KiB/s, done.
Resolving deltas: 100% (238/238), done.
~/GitRepos> cd htwtxt
master ~/GitRepos/htwtxt> go mod init htwtxt
go: creating new go.mod: module htwtxt
go: to add module requirements and sums:
go mod tidy
master ~/GitRepos/htwtxt> go mod tidy
go: finding module for package github.com/gorilla/mux
go: finding module for package golang.org/x/crypto/bcrypt
go: finding module for package gopkg.in/gomail.v2
go: finding module for package golang.org/x/crypto/ssh/terminal
go: found github.com/gorilla/mux in github.com/gorilla/mux v1.8.1
go: found golang.org/x/crypto/bcrypt in golang.org/x/crypto v0.29.0
go: found golang.org/x/crypto/ssh/terminal in golang.org/x/crypto v0.29.0
go: found gopkg.in/gomail.v2 in gopkg.in/gomail.v2 v2.0.0-20160411212932-81ebce5c23df
go: finding module for package gopkg.in/alexcesaro/quotedprintable.v3
go: found gopkg.in/alexcesaro/quotedprintable.v3 in gopkg.in/alexcesaro/quotedprintable.v3 v3.0.0-20150716171945-2caba252f4dc
master ~/GitRepos/htwtxt> go build
master ~/GitRepos/htwtxt> ll
.rw-r--r-- aelaraji aelaraji 330 B Fri Nov 22 20:25:52 2024 go.mod
.rw-r--r-- aelaraji aelaraji 1.1 KB Fri Nov 22 20:25:52 2024 go.sum
.rw-r--r-- aelaraji aelaraji 8.9 KB Fri Nov 22 20:25:06 2024 handlers.go
.rwxr-xr-x aelaraji aelaraji 12 MB Fri Nov 22 20:26:18 2024 htwtxt <-------- There's the binary ;)
.rw-r--r-- aelaraji aelaraji 4.2 KB Fri Nov 22 20:25:06 2024 io.go
.rw-r--r-- aelaraji aelaraji 34 KB Fri Nov 22 20:25:06 2024 LICENSE
.rw-r--r-- aelaraji aelaraji 8.5 KB Fri Nov 22 20:25:06 2024 main.go
.rw-r--r-- aelaraji aelaraji 5.5 KB Fri Nov 22 20:25:06 2024 README.md
drwxr-xr-x aelaraji aelaraji 4.0 KB Fri Nov 22 20:25:06 2024 templates
@movq@www.uninformativ.de What!? why would anyone Geo-lock a documentary about Foxes !!? 🤦
@lyse@lyse.isobeef.org AWESOME! it’ll definitely come up handy… 🙏
@bender@twtxt.net Glad you could find it useful … as for like
I’m glad they’re not a thing here xD otherwise we wouldn’t be having as much conversations going on in here. but I get it, and do appreciate it. 🙏
@bender@twtxt.net Gave it a try on Termux
same thing @doesnm@doesnm.p.psf.lt uses and it worked 👍
@bender@twtxt.net here:
FROM golang:alpine as builder
ARG version
ENV HTWTXT_VERSION=$version
WORKDIR $GOPATH/pkg/
RUN wget -O htwtxt.tar.gz https://github.com/plomlompom/htwtxt/archive/refs/tags/${HTWTXT_VERSION}.tar.gz
RUN tar xf htwtxt.tar.gz && cd htwtxt-${HTWTXT_VERSION} && go mod init htwtxt && go mod tidy && go install htwtxt
FROM alpine
ARG version
ENV HTWTXT_VERSION=$version
RUN mkdir -p /srv/htwtxt
COPY --from=builder /go/bin/htwtxt /usr/bin/
COPY --from=builder /go/pkg/htwtxt-${HTWTXT_VERSION}/templates/* /srv/htwtxt/templates/
WORKDIR /srv/htwtxt
VOLUME /srv/htwtxt
EXPOSE 8000
ENTRYPOINT ["htwtxt", "-dir", "/srv/htwtxt", "-templates", "/srv/htwtxt/templates"]
Don’t forget the --build-arg version="1.0.7"
for example when building this one, although there isn’t much difference between the couple last versions.
P.S: I may have effed up changing htwtxt’s files directory to /srv/htwtxt
when the command itself defaults to /root/htwtxt
so you’ll have to throw in a -dir whenever you issue an htwtxt command (i.e: htwtxt -adduser somename:somepwd -dir /srv/htwtxt
… etc)
@bender@twtxt.net here:
FROM golang:alpine as builder
ARG version
ENV HTWTXT_VERSION=$version
WORKDIR $GOPATH/pkg/
RUN wget -O htwtxt.tar.gz https://github.com/plomlompom/htwtxt/archive/refs/tags/${HTWTXT_VERSION}.tar.gz
RUN tar xf htwtxt.tar.gz && cd htwtxt-${HTWTXT_VERSION} && go mod init htwtxt && go mod tidy && go install htwtxt
FROM alpine
ARG version
ENV HTWTXT_VERSION=$version
RUN mkdir -p /srv/htwtxt
COPY --from=builder /go/bin/htwtxt /usr/bin/
COPY --from=builder /go/pkg/htwtxt-${HTWTXT_VERSION}/templates/* /srv/htwtxt/templates/
WORKDIR /srv/htwtxt
VOLUME /srv/htwtxt
EXPOSE 8000
ENTRYPOINT ["htwtxt", "-dir", "/srv/htwtxt", "-templates", "/srv/htwtxt/templates"]
Don’t forget the --build-arg version="1.0.7"
for example when building this one, although there isn’t much difference between the couple last versions.
P.S: I may have effed up changing htwtxt’s files directory to /srv/htwtxt
when the command itself defaults
P.S:
~/remote/htwtxt » podman image list htwtxt the@wks
REPOSITORY TAG IMAGE ID CREATED SIZE
localhost/htwtxt 1.0.5-alpine 13610a37e347 3 hours ago 20.1 MB
localhost/htwtxt 1.0.7-alpine 2a5c560ee6b7 3 hours ago 20.1 MB
docker.io/buckket/htwtxt latest c0e33b2913c6 8 years ago 778 MB
@bender@twtxt.net I built my own, a much smaller one with a multi stage build… shouldn’t that do the trick? 🤔
@doesnm@doesnm.p.psf.lt I tried to go install github.com/plomlompom/htwtxt@1.0.7
as well as
# this is snippet from what I used for the Dockerfile but I guess it should work just fine.
cd ~/go/pkg && wget -O htwtxt.tar.gz https://github.com/plomlompom/htwtxt/archive/refs/tags/1.0.7.tar.gz
tar xf htwtxt.tar.gz && cd htwtxt-1.0.7 && go mod init htwtxt && go mod tidy && go install htwtxt
both worked just fine…
@bender@twtxt.net here… Enjoy 🦊🧡 😂
@movq@www.uninformativ.de been getting so sloppy my feed is slowly turning into a fox nursery, I might end up renaming it into nature-reserve.txt
@bender@twtxt.net highly probably, unless I learn go and implement it myself (or someone else more capable does) … but I’m so lazy I’d just copy them from twtxt.net and call it a day xD and yeah, it’s kinda rough the way things are…
- I don’t see a way to follow others, all I can do is go to the /feeds URI for a list of the server’s users/feeds.
- I still couldn’t figure out how to get a direct link to a user’s twtxt file, curling /feeds/usernick spits out a list of the user usernick twts, so I guess you could use that to follow them.
- no way to add in your
# nick = usernick
/# url = proto://domain.ltd/path/to/twtxt.txt
…etc. Probably because that wasn’t part of the spec back then?
So yeah, it would make for a nice project while learning Go. :P
@bender@twtxt.net Yep! Twtxt spec by the letter I guess 🥲
Ever made an Oopsie, fixed it then Fuxed it up all over again? That’s clearly my queue to get AFK … Have a good one TWTXT!
well… 🦊
I’m getting way too comfortable with editing twts and fixing Eff’ ups… I gotta stop auto-syncing my twtxt file, at least I’ll have a breathing room for quick fixes when needed. I know, Michael Lucas might not approve of this but, I wouldn’t want the @yarn_police@twtxt.net in the middle of the night, right?
Alright, I gave #htwtxt container a quick spin. The thing lives and feels dead simple, like, echo -e “date -Im
\tHello world!” >> twtxt.txt kind of simple but with a GUI. and I LOVE IT! Now let’s see if we can rebuild the image with the latest version of htwtxt.
@bender@twtxt.net + a 9 years old container image by the good ol’ buckket himself … not sure what to expect from that but will give it a quick spin and report back
@bender@twtxt.net I kinda fixed it, but there’s still a hell lot more than that still waiting to be fixed 😅
@bender@twtxt.net Aye Aye, Captain 🫡
@bender@twtxt.net 😆 Would calling it a Single user Twtxt "Yarn Pod **Like**" software
help you sleep better at night? And just in case things are not clear here, I’m being sarcastic (well, kinda…) and not trying to gaslight anyone. Think of my comment as Bromance or something like that LOL.
But seriously, Just like any UNIX-Like system to Unix™, as in non of them are UNIX™, but each of them is providing more or less similar experience and re-implementing what once was parts of “UNIX™ software” their own (more or less better) ways. Timeline is Yarn™ Pod like, (my personal take on the word pod is: “an instance of XYZ software acting an escape POD from X-BS for… ABC reasons.”) providing more or less of a similar experience, implementing some of Yarn.social Extensions, trying to add in some more …etc.
Otherwise, I don’t see the Yarn pod
mention as some kind of malicious manoeuvre, but more of a tribute to what (might have) sparked inspiration for creating Timeline? Also, our friend @sorenpeter@darch.dk here has got a valid reason for using PHP (#tms7aka) so let’s let’s put our unease towards the language itself aside and maybe just help however/as much as we can in order to make internet (the World?) a better place.
Ok, I’ve restored the misplaced twts … let’s just hope I didn’t make things worst xD
@bender@twtxt.net … a Twtxt Pod then 🤷
@bender@twtxt.net Haha! I assume you can’t see the original twt, let me quote for you so you know what I’m responding to:
2024-11-20T07:56:00-06:00 (#gjhq2xq) Hey! I tried running Timeline on my server with the default PHP version (8.3) and it’s giving me a few errors https://eapl.me/timeline/ I should be sending a PR soon to fix it ;)
source: eaplme’s twtxt file.
Also, it’s running on a RPi and slow AF so, brace yourselves for them Server Timeouts 😅
I’ve just unlocked access to my /timeline if anyone has been trying to access it earlier.
@eapl.me@eapl.me adding public $timestamp;
to the class Twt
in libs/twtxt.php (line 25) fixed that for me but probably broken something else 😅 …
@bender@twtxt.net @movq@www.uninformativ.de exactly! 😂 I accidentally duplicated a twt and deleted it as fast as I can, hoping nobody pulled the feed by then.
undefined array keys
and creation of dynamic properties being deprecated
(CC: @sorenpeter )
@bender@twtxt.net > which feed of his are you following? the .mx or the .me one? I was replaying to THIS TWT
Ok, hopefully nobody did pull that 🦊⬆ 😅
@eapl.me@eapl.me Yeah, that’s exactly why I’m asking. I’ve been having a couple of errors here and there even though I’m using PHP 8.2 … Mostly somethings about undefined array keys
and creation of dynamic properties being deprecated
(CC: @sorenpeter@darch.dk )
Sweeet! and yeah, I’ve been trying to figure the formatting thing out (amongst other things lol) it looks like the mere presence of a # sign creates new links and breaks others.
@prologic@twtxt.net Not much Other than playing around with @soren@darch.dk ’s Timeline … it’s been quite fun so far. (I’m twting from there by the way 😁)
Morning, be good!
Hey @sorenpeter@darch.dk what version of PHP do you run Timeline on?
@bender@twtxt.net HAHAHAHA xD I’ll do my best and try not to forget chanting: “Sic transit gloria mundi” as I package it for shipping.
@bender@twtxt.net You’d be surprised how many lifetime old accounts I still have, scattered all over the internet. I just don’t have much energy to go through deleting each and every single one of them. xD and here is a bonus image for LOLs
So long Blue Birdy 👋 it was a … Never mind, GTFO of my life already! 😆
@bender@twtxt.net I still have my Famicom from when I was 5 or so and this makes me think I might get away with selling it’s manual for pretty money instead of just framing it and hanging by the desk … wanna buy it? 😂
@bender@twtxt.net ROFLMAO! 🤣
… but using the service itself is considered enough compensation.
@bender@twtxt.net Sorry, I feel like I have to … 😅
@prologic@twtxt.net Same here… Twtxt and Mastodon are more than enough for me. I used to have a BSky account with my own domain name as a handle (which I ended up deleting after a while) and even taught about running my own PDS and the whole nine yards but, it didn’t feel like it was worth the hassle.
JavaScript is not enabled! Please enable JavaScript in order to run this site
/me (ノಠ益ಠ)ノ彡┻━┻
Oh! a new feed to follow! Welcome in @wbknl@twtxt.net 👋 looking forward to reading your twts!
@bender@twtxt.net take care buddy, Have fun! … and, I can stick a pinky in a tangerine like I’m five and it’s orange, does that count?
@bender@twtxt.net take care buddy, Have fun! … and, I can stick a pinky in a tangerine like I’m five and it’s
awk -F '\"' '/twtxt/ {print $(NF-1)}' /var/log/user.log | grep -v 'twtxt\.net' | sort -u | awk '{print $(NF-1) $NF}' | awk '/^\(/'
spaghetti monster of a command and I'm wondering if there's a more elegant way for achieving the same thing.
@prologic@twtxt.net hmm, it sounds like homework! 🤔 I’m IN!! 😂
awk -F '\"' '/twtxt/ {print $(NF-1)}' /var/log/user.log | grep -v 'twtxt\.net' | sort -u | awk '{print $(NF-1) $NF}' | awk '/^\(/'
spaghetti monster of a command and I'm wondering if there's a more elegant way for achieving the same thing.
@prologic@twtxt.net yeah I’ve played with it for a bit and read through the code hoping I could steal some of your regex. I’m trying to up my awk(1p) game but failing miserably. 😆
awk -F '\"' '/twtxt/ {print $(NF-1)}' /var/log/user.log | grep -v 'twtxt\.net' | sort -u | awk '{print $(NF-1) $NF}' | awk '/^\(/'
spaghetti monster of a command and I'm wondering if there's a more elegant way for achieving the same thing.
I remember having seen one somewhere but can’t remember where.