# 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 2159
# self = https://watcher.sour.is?uri=https://f.adi.onl/user/adi/twtxt.txt&offset=359
# next = https://watcher.sour.is?uri=https://f.adi.onl/user/adi/twtxt.txt&offset=459
# prev = https://watcher.sour.is?uri=https://f.adi.onl/user/adi/twtxt.txt&offset=259
@will @eldersnake I have this https://www.buymeacoffee.com/adriangrigore, it was on the website for while, maybe it's a good idea to put it again, however I have a low amount amount of traffic on the website. If you believe mkws
is cool or any other of my code, you can throw something there. Spreading the word would also be great!
@eldersnake I wonder how I could promote it better, and, if possible, monetize it.
@eldersnake Haha, not exactly chance, interests and opinions are similar. π
@will How about when people complain they're being criticized?
@eldersnake Yeah, my idea is building modern looking websites with old, battle tested tech.
@eldersnake Yeah, I'll have to add the HowTos there at some point.
@adi @eldersnake I'm also considering running pp
via CGI and building a simple dynamic cms but there are some security issues there I have to solve.
@eldersnake Yeah, I'm under the impression that we're automating maybe too much in programming and maybe too early when some little manual work could easily do the job with less complexity.
The alternative is what Hugo does, a single binary and having the static site as "source code" which Hugo compiles, but I believe the idea of customizing the main mkws script is really nice, I'm replacing config files with just scripting your generator, updating may be a problem but there's not much to update there anyway.
@adi @eldersnake Do you believe it's a good idea to just download the bundled files (main script, statically compiled binaries and templates) and customize everything in place?
@eldersnake Not a big fan of mixing C code and HTML. I belive PHP kinda nailed it when it comes to websites, nesting dynamic code with HTML, it's an inspiration for pp
.
@eldersnake How did you find out about mkws
?\n\nFor \n<a href="https://google.ro"></a>
\n\npp -d
outputs\n\necho "<a href="https://google.ro"></a>\n"
\n\nand pp
outputs\n\n<a href=https://google.ro></a>
\n\nSo when using double quotes the output is unpredictable.
@eldersnake How do you feel writing about your HTML without quoting your attributes?
@eldersnake You can see in mkws.sh/mkws/README how I solved the meta, title, description problem. You could also write a small frontmatter parser for a more "dynamic" solution. How are you rendering your Markdown? Yeah, probaby I can give you some tips if you publish your script.
@eldersnake @jlj Thanks! Yes, shell script fits the bill pretty well. One if its core strengths are working with the filesystem and working with plain text. Web sites are just files from the file system served by a web server, what better tool to work with the file system then shell. Also HTML is text, again good tool for the job. I understand its structured and a parser is better for complicated stuff but for simple stuff shell script is enough. Fits the worse is better philosophy pretty well also.\n\nI tend to see pp
as scriptable plain text.
@prologic Ah, I'm not worried about anything I'm just wondering if twtxt.net is truly decentralized or not.
@prologic But isn't the hosting the central part? The domain? I don't disagree with offering a service for renting pods but it's centralized, not that that's necessarily a problem as long as the person renting the pod is aware of the fact. The owner of the twt.social domain could disable the pod not only in theory but in practice also.
@prologic But wouldn't a lot of pods be centralized on twt.social, wouldn't the owner of twt.social have power over all the pods hosted there?
@prologic I was wondering wouldn't renting pods on twt.social break decentralization? I believe it's a good idea to have a warning or something saying that for true decentralization self hosting is the way.
@adi People confuse being "for" or "against" with "agreeing" or "disagreeing" which is literally a recipe for disaster.
I believe being "against" something is an aggressively conflictual situation while disagreeing with something is not necessarily conflictual and if conflictual not an aggressive one. Being "against" something is a form of war while disagreeing opens a way to debate.
Do you agree that being "for" or "against" something is different than "agreeing" or "disagreeing" with that thing?
@niplav I wouldn't call abstract reasoning "thinking", "thinking" by definition takes effort, reasoning is effortless.
@lobste_rs Really, developing without the gorilla, banana and the entire jungle is faster? π
Where's that picoblog that @hxii keeps mentioning?
@prologic @darch I personally, being also a techie would remove the code also.
@adi @jlj @prologic @darch Here, I'm referring to the blog feature in @darch's twt. I'm still not sure about the DM system, I'd leave it for now.
@jlj @prologic @darch I *personally* would remove them because exactly that reason, it's not twtxt and less code is better I believe even if it's just 6%. I agree that maybe for some there's utility in that but @darch said it well:\n\n> For me the scope of the twtxt-ecosytem is a way to make publish post and have discussions in the open. There are plenty of DM/IM and blog services/system out there, and it should be up to each person to chose which of these they want to use instead of having another inbox to keep an eye on.
@prologic For now me and @darch agree that the blog feature is out of scope, that's the current issue. We're not sure about the DM system.
@prologic @darch I understand we misinterpreted the twt, agree it's a good idea to twt his new blog posts but my opinion about the blog feature still stands.
@prologic I'm more worried about Twitterβ’οΈ than Twtitterβ’οΈ. π
To me twt.social also sounds more serious than yarn.social which sounds more playful.
Been watching some Lady Gaga recently, she's quite a character! Very creative! Awesome work!
@prologic Basically, yes! I believe it's cool.
I would prefer to manage a Romanian pod! π
@niplav I sincerely thought "genius" when I read the joke!
I'd say Ubuntu Desktop kinda bloated also, I personally run either Void Linux or OpenBSD but there is some tinkering there. On OpenBSD I run cwm
as a window manager which can be customized to look pretty cool. Both Void Linux and OpenBSD can run GNOME. I used dwm
and spectrwm
also for a while. I had some problems with packages on Void Linux, not impossible to solve but if I you'd like more packages probably I'd go with Arch but there's some tinkering there also. For less tinkering, I'd probably go with Manjaro.
@prologic I understand the protocol doesn't allow it but do you agree that it's possible to create a private twtxt instance if all users are on the same pod?
@vain It's just me playing around.
@thewismit @vain I don't want to give up VCS in general I'm just considering doing for this project because of its size. Anybody can create a mirror.
@vain Haha, why? Why embrassed?
@vain @lyse What did you think "vain" means? adi is also pretty UNIX-y. π
@vain @lyse My name is Adrian, short form is Adi. π
Ha! I just noticed the changing messages on the main textbox!
For mkws
I'm considering dropping version control completely as it's so small and I believe it's a good idea to send the message that you don't necessary need version control, but it's a good idea to be present on GitHub. What do you think?
@prologic I would like to write a CGI version of pp
and nobody is a big fan on parsing QUERY_STRING in shell scripts so I believe it's a good idea so have a pp
parse the QUERY_STRING and send those variable to the underlying sh
instance in the global scope. One security measure along chrooting is disallowing overwriting of already present ENV
variables. Any other idea?
@prologic I have some questions regarding shell scripting!
@adi Ok, I remembered, I always forget to change the port thttpd -D -p 9000 -l /dev/stdout
.
Do any of you have any idea on how to run thttpd
on the command line?
@prologic What complicated things do we *need to keep simple*?
@prologic What does "Problems are Solved by Method" mean?
@darch @prologic Ah, I wasn't suggesting redoing in any way, that would be a bad idea, your site is cool, I just sent the link just so you're aware it exists. Can't go more old-school than shell scripts. π Good job on the notes page!
> From the early 2010's I have been VJing and exploring improvising visuals to live music events ranging from jazz, psychedelic hardrock, raves, noise and whatnot.\nIn 2019 I discovered live coding and have been teaching myself and others at workshops how to make visuals with code ever since.\n\n@https://twtxt.net/user/prologic/twtxt.txt> look at what @darch is into
@darch @prologic If you favor things like Yellow, maybe my static site generator would also fit your tastes: https://mkws.sh/. Just so you're aware it's there. π
> A sort of hybrid between Windows Notepad, a monolithic-kernel operating system, and the International Space Station.\n\nI never used Emacs.
@prologic @darch I believe he was asking of any PHP tool to integrate with yellow.