# 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 2642
# self = https://watcher.sour.is?uri=https://twtxt.net/user/adi/twtxt.txt&offset=1142
# next = https://watcher.sour.is?uri=https://twtxt.net/user/adi/twtxt.txt&offset=1242
# prev = https://watcher.sour.is?uri=https://twtxt.net/user/adi/twtxt.txt&offset=1042
> There is an out of the box way to #mkws to create posts pages based in a list of Markdown files in a directory? And generate a list of those posts?\n\nAnd here https://mkws.sh/share/f.upp, and here https://mkws.sh/share/sitemap.uppxml
@lohn \n> There is an out of the box way to #mkws to create posts pages based in a list of Markdown files in a directory? And generate a list of those posts?\n\nNot right now, you could look here for inspiration https://mkws.sh/blog.upphtml\n\nThe p directory is basically:\n\n |adi@huike ~/s/m/p ls -1\n 2021-02-28 15:34:42 Welcome\n 2021-02-28 15:35:21 How to add a navigation menu\n 2021-02-28 15:35:39 How to add custom titles\n 2021-03-09 19:45:23 How to render Markdown\n\n/bin/mkws is https://mkws.sh/bin/mkws~
@lohn
> There is an out of the box way to #mkws to create posts pages based in a list of Markdown files in a directory? And generate a list of those posts?

Not right now, you could look here for inspiration https://mkws.sh/blog.upphtml

The p directory is basically:

|adi@huike ~/s/m/p ls -1
2021-02-28 15:34:42 Welcome
2021-02-28 15:35:21 How to add a navigation menu
2021-02-28 15:35:39 How to add custom titles
2021-03-09 19:45:23 How to render Markdown

/bin/mkws is https://mkws.sh/bin/mkws~
@adi @lohn I'll have to put a list of all the versions I guess at some point or something like that.
@lohn For now I'm not using version control at all, stuff is very simple and small. You can address me directly. 😁
@lohn @prologic Sure!!! Go ahead, happy to answer!! πŸ‘‚
@lohn @prologic \n\n> Yup! I made some tests. It’s really generally simpler and easier to use. Congratulations!\n\nThanks! What kind of tests?
@lohn @prologic

> Yup! I made some tests. It’s really generally simpler and easier to use. Congratulations!

Thanks! What kind of tests?
@lyse @mckinley _wrong_ from what point of view? Please don't misunderstand me, I'm not picking sides, just reading your opinions.
Very happy some other problems appeared, I was tired of doing HTML and CSS.
But those IndieWeb websites, oof, not easy to follow and read.
Yeah, fixed my websites for IndieAuth login and Webmentions, they didn't Accept-Encoding gzip.
@prologic Hmmm... Seems there already is a Indieweb standard for Likes?
I believe I'm going to rewrite this from scratch https://si3t.ch/Logiciel-libre/Code/sbwcgi.html also, separate custom 404 and caching into separate binaries.
Guys, what are you running on your servers?
@prologic Yes! I used it my precommit script as you saw.
Working on implementing https://framagit.org/hucste/tools/-/blob/master/OpenBSD/slowcgi/sbw.cgi, also C version https://si3t.ch/Logiciel-libre/Code/sbwcgi.html. Works great on my test server!
@prologic Both you guys please be aware of https://shelcheck.net/!
@lohn @prologic

> I saw your project yesterday. I can’t express how happy I am to have a decent shell SSG. You are now truly one of my heroes.

Straight to the _What people are saying_ section. Neah, heroes save people, you don't need saving. πŸ€—πŸ€. Now please go build something πŸ› πŸ”§βš™βš’πŸ”©πŸ€”πŸΉ
@lohn @prologic \n\n> I saw your project yesterday. I can’t express how happy I am to have a decent shell SSG. You are now truly one of my heroes.\n\nStraight to the _What people are saying_ section. Neah, heroes save people, you don't need saving. πŸ€—πŸ€. Now please go build something πŸ› πŸ”§βš™βš’πŸ”©πŸ€”πŸΉ
This is the webserver for mkws https://mkws.sh/https/https.go, @prologic let me know your opinion. Could this be made simpler?
@adi @lohn @prologic (You can also see the sources of the pages by just s/html/upphtml/ in the file name, e.g. https://mkws.sh/index.html: https://mkws.sh/index.upphtml, https://mkws.sh/blog.html: https://mkws.sh/blog.upphtml), also https://mkws.sh/share/l.upphtml)
@adi @lohn @prologic \n\n> As a network guy, Bash is my main language\n\nHa! Although we prefer POSIX.
@adi @lohn @prologic

> As a network guy, Bash is my main language

Ha! Although we prefer POSIX.
@adi @lohn @prologic @lohn, I see you're using Hugo, might wanna give my static site generator https://mkws.sh a shot if you prefer. πŸ”¨πŸ˜ŽπŸ˜‹
@lohn @prologic I have to implement lots of #indieweb stuff myself, I don't believe webmentions are implemented in any way in yarn? @prologic
@adi @prologic (Here are some other goodies I have:
https://mkws.sh/bin/precommit - inspired by git pre-commit hook, run linters, validators, and shellcheck in this script
https://mkws.sh/bin/dv - run _dev_ environment: monitor files, start development web server, live reload offered by https://livejs.com/, scripts also recompiles/restarts web server, nice to have when playing with headers
https://mkws.sh/bin/d - wrapper for above script, runs it via doas because I have to access TSL certs
https://mkws.sh/bin/up - deployment script)
@adi @prologic (Here are some other goodies I have:
https://mkws.sh/bin/precommit - inspired by git pre-commit hook, run linters, validators, and shellcheck in this script
https://mkws.sh/bin/dv - run _dev_ environment: monitor files, start development web server, live reload offered by
https://livejs.com/, scripts also recompiles/restarts web server, nice to have when playing with headers
https://mkws.sh/bin/d - wrapper for above script, runs it via doas because I have to access TSL certs
https://mkws.sh/bin/up - deployment script)
@prologic \n\n1. That's illegal, right?\n2. It would be nice to have VPS I can automatically ssh into build the binaries there, and copy them back on the https://mkws.sh server. That's how I build the Linux version.\n\nHere is my current build script: https://mkws.sh/bin/mkws
@prologic

1. That's illegal, right?
2. It would be nice to have VPS I can automatically ssh into build the binaries there, and copy them back on the https://mkws.sh server. That's how I build the Linux version.

Here is my current build script: https://mkws.sh/bin/mkws
@prologic https://www.w3.org/TR/webmention/ -ish I guess. Just notify an url another url has liked/starred it?
@eldersnake @prologic I was actually talking something like stars for an url or a web site? Sounds Indieweb-ish.
@adi @prologic @eldersnake And it fits my use case pretty well.
@adi @eldersnake @prologic https://www.scaleway.com/en/pricing/#apple-silicon, looks pretty cheap.
@eldersnake @prologic ...for compiling for macOS. I believe is great to self host but one the problems is that GitHub is so tied up in a lot of stuff, like https://jamstack.org/ or https://opencollective.com/. Is there an IndieWeb equivalent to GitHub ⭐s?
Nop, not using GitHub Actions.
@eldersnake I'll quote a piece of your https://www.thelinuxrain.org/articles/mkws-static-site-generation-with-the-shell article on the What people are saying section. I'll guess I'll use https://twtxt.net/user/eldersnake/avatar this avatar?
@prologic Done!
@eldersnake https://solar.lowtechmagazine.com/ is wow content wise, design wise and tech wise.
@prologic @mckinley\n\n> Oh wow! 😳 Like just straight up deleted?! πŸ€” That’s a bit harsh no? πŸ˜‚\n\nMy opinion exactly, no archive for a few months I guess?
@prologic @mckinley

> Oh wow! 😳 Like just straight up deleted?! πŸ€” That’s a bit harsh no? πŸ˜‚

My opinion exactly, no archive for a few months I guess?
@prologic @eldersnake @mckinley Are you considering launching it commercially?
@prologic Removing DMs would definitely remove any trust/privacy issues between users and pods owners because users wouldn't need to trust the pod owner regarding their privacy. That's how trust works, trustworthy people/tech don't need to be trusted.
@mckinley @eldersnake Also take a look at https://tinykvm.com/ for hosting, a small, simple, static site.
@eldersnake Don't they have a warning system tho so you wouldn't experience downtime?
@eldersnake I understood how your site's hosting works a while ago. πŸ˜ŽπŸ˜›
@adi @eldersnake The emails I sent from my personal email address.
@adi @eldersnake No, which email I sent did you get the chance to read?
@adi @eldersnake The one on https://andrewjvpowell.com/ or the other one?
@eldersnake Which email did you eventually see?
It's a good idea to have a new xcd picturing someone thinking/writing about standards and having that comic pop-up in his head.

_Always_
It's a good idea to have a new xcd picturing someone thinking/writing about standards and having that comic pop-up in his head. \n\n_Always__
@eldersnake Hi @eldersnake, welcome back, let me just wake up properly. 😴
@niplav https://en.wikipedia.org/wiki/8.3_filename
@mckinley @lyse Depends on what you understand by "wrong". πŸ˜‹
@lyse @mckinley Well, it's not a web _site_, it's an _app_.
@mckinley @lyse http://www.webbloatscore.com?url=https://mkws.sh/ 0.112 😎
One of my problems with self hosting is the lack o visual consistency between pieces of software. Maybe it would be a good idea to develop some sort of "skinning" standard.
@adi @lyse @mckinley I mean, it's a headache to just read about it, consider working on it.
@lyse @mckinley @adi I understanding his reasoning, it's cool in someway but a huge headache to implement and follow.
@lyse @mckinley

> Nicely put, @adi, I actually didn’t make it through

Me neither!
@lyse @mckinley \n\n> Nicely put, @adi, I actually didn’t make it through\n\nMe neither!
@mckinley @lyse Headache material.
@prologic @infra7 \n\n>hoping to solve the puzzle today\n\nAnd what's preventing you?
@prologic @infra7

>hoping to solve the puzzle today

And what's preventing you?
@prologic Are you fine if I link to https://www.prologic.blog/?
@xuu @niplav I got the joke! πŸ˜ŽπŸ˜‹
@prologic @eldersnake @adi @jlj Do you guys prefer nicknames or real names in the Sponsors section?
@adi @jlj @prologic @eldersnake @jlj Do you prefer https://nfld.uk/ or https://ctrl-c.club/~jlj/?
@adi @prologic For @eldersnake I'm linking to his website, @jlj same I guess?
@prologic I'm adding a link on https://mkws.sh/ in a Sponsors section, where do you prefer it points?
@prologic @lyse Cute idea!
@prologic @lyse Blockchain, AI, Cloud, other?
@prologic @mckinley Thanks! :D
@adi @prologic It would be nice it I could link to

> pp is genius

by @mckinley

over here https://mkws.sh/.
@adi @prologic It would be nice it I could link to\n\n> pp is genius\n\nby @mckinley\n\nover here https://mkws.sh/.
@prologic I don't have a permalink, how could I get it manually?
@prologic Hmmm... so how can I go back and get the link to a previous conversation?
@darch and @everybody Speaking of "compact" https://mkws.sh/, updated the website.
@prologic Maybe we could develop a way to link to a specific twt, problem is that once the caching mechanism goes in, the links disappear too.
@adi @prologic This is my "build" script right now https://mkws.sh/bin/mkws
@adi @prologic Much easier and simpler for me to just ssh in a box, run some scripts and download the archive.
@prologic Rather avoid GitHub.
@prologic Really? I can run some scripts on macOS machine via GitHub?
@jlj @prologic @anthk

> Hope it was a nice walk.

What would prevent him from having nice walk? πŸ˜‹
@jlj @prologic @anthk \n\n> Hope it was a nice walk.\n\nWhat would prevent him from having nice walk? πŸ˜‹
@mckinley I was away for a while, I'm back.

> I hope you’re doing well

What would prevent me from doing well? πŸ˜‹
@mckinley I was away for a while, I'm back.\n\n> I hope you’re doing well\n\nWhat would prevent me from doing well? πŸ˜‹
@mckinley I would like to automate building a macOS version for mkws in the near future. There are cheaper alternatives https://www.lowendtalk.com/discussion/comment/3122390/#Comment_3122390, I was wondering if anybody was already running one for access. πŸ˜‹
I don't suppose anybody is running a macOS VPS?
@lyse @movq How?
@maya Depends on what your understand by "cool".
@prologic @markwylde I'll have to investigate that myself. πŸ˜›
@prologic @markwylde So you prefer a rewrite?
@anthk @jlj @prologic
> platform seppuku

certainly overstatement, no hope. πŸ˜›
@anthk @jlj @prologic \n> platform seppuku\n\ncertainly overstatement, no hope. πŸ˜›
@prologic @markwylde You would negociate on sending the full page with layout or sending a partial depending on a flag/header?
@adi @dooven @prologic I'll experiment converting it to a PWA afterwards with the same codebase.
@dooven @adi @prologic But please, don't rush, let me sink my teeth in it for a while. I'm doing some HTML/CSS clean-up right now on my instance.
@prologic @dooven I actually suggested converting the current client to a PWA via content negociation.