# 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 60815
# self = https://watcher.sour.is?uri=https://twtxt.net/user/prologic/twtxt.txt&offset=50980
# next = https://watcher.sour.is?uri=https://twtxt.net/user/prologic/twtxt.txt&offset=51080
# prev = https://watcher.sour.is?uri=https://twtxt.net/user/prologic/twtxt.txt&offset=50880
Hmmm trying this locally:


$ sh setup.sh
Error: --docker additional options "ca=/Users/prologic/.docker/certs.d/localhost/ca.pem,key=/Users/prologic/.docker/certs.d/localhost/key.pem,cert=/Users/prologic/.docker/certs.d/localhost/cert.pem" not supported


Not support for TLS?
Hmmm trying this locally:


$ sh setup.sh
Error: --docker additional options "ca=/Users/prologic/.docker/certs.d/localhost/ca.pem,key=/Users/prologic/.docker/certs.d/localhost/key.pem,cert=/Users/prologic/.docker/certs.d/localhost/cert.pem" not supported


Not support for TLS?
@abucci Yeah okay, you make some excellent points πŸ‘Œ πŸ˜…
@abucci Yeah okay, you make some excellent points πŸ‘Œ πŸ˜…
@abucci Yeah okay, you make some excellent points πŸ‘Œ πŸ˜…
@abucci Be interesting to see if true 🀞
@abucci Be interesting to see if true 🀞
@abucci Be interesting to see if true 🀞
Also, just as an aside, your assertion that Docker is too "fat" and too "corporate" is untrue IMO. I've been using Docker for a _very_ long time (since ~0.7 or so) and if you take a closer look:


root@proxy:~# ls -lah /usr/bin/docker /usr/bin/dockerd
-rwxr-xr-x 1 root root 35M Jul 21 20:35 /usr/bin/docker
-rwxr-xr-x 1 root root 96M Jul 21 20:35 /usr/bin/dockerd
root@proxy:~#


Compared with Podman:


$ ls -lah /opt/homebrew/Cellar/podman/4.6.0/bin/podman-remote
-r-xr-xr-x 1 prologic admin 39M Jul 21 06:13 /opt/homebrew/Cellar/podman/4.6.0/bin/podman-remote


As you can see the Docker docker client (CLI) and the Podman tool is roughly the same "weight".

The difference is that Docker is a Server<->Client with a daemon architecture, whereas Podman runs containers directly, which is why only Linux is supported. Podman is a bit like my box project.~
Also, just as an aside, your assertion that Docker is too "fat" and too "corporate" is untrue IMO. I've been using Docker for a _very_ long time (since ~0.7 or so) and if you take a closer look:


root@proxy:~# ls -lah /usr/bin/docker /usr/bin/dockerd
-rwxr-xr-x 1 root root 35M Jul 21 20:35 /usr/bin/docker
-rwxr-xr-x 1 root root 96M Jul 21 20:35 /usr/bin/dockerd
root@proxy:~#


Compared with Podman:


$ ls -lah /opt/homebrew/Cellar/podman/4.6.0/bin/podman-remote
-r-xr-xr-x 1 prologic admin 39M Jul 21 06:13 /opt/homebrew/Cellar/podman/4.6.0/bin/podman-remote


As you can see the Docker docker client (CLI) and the Podman tool is roughly the same "weight".

The difference is that Docker is a Server<->Client with a daemon architecture, whereas Podman runs containers directly, which is why only Linux is supported. Podman is a bit like my box project.~
Also, just as an aside, your assertion that Docker is too "fat" and too "corporate" is untrue IMO. I've been using Docker for a _very_ long time (since ~0.7 or so) and if you take a closer look:


root@proxy:~# ls -lah /usr/bin/docker /usr/bin/dockerd
-rwxr-xr-x 1 root root 35M Jul 21 20:35 /usr/bin/docker
-rwxr-xr-x 1 root root 96M Jul 21 20:35 /usr/bin/dockerd
root@proxy:~#


Compared with Podman:


$ ls -lah /opt/homebrew/Cellar/podman/4.6.0/bin/podman-remote
-r-xr-xr-x 1 prologic admin 39M Jul 21 06:13 /opt/homebrew/Cellar/podman/4.6.0/bin/podman-remote


As you can see the Docker docker client (CLI) and the Podman tool is roughly the same "weight".

The difference is that Docker is a Server<->Client with a daemon architecture, whereas Podman runs containers directly, which is why only Linux is supported. Podman is a bit like my box project.~
@abucci The only problem with supporting this is the API. I'd hate to have to write a whole new filtering/mutating proxy ust to support Podman πŸ˜… I _hope_ Podman _can_ talk to a Remote Docker API -- Because that's all that needs to happen 🀞 -- As you're no doubt aware TLS certs are used to authenticate to the proxy as well.
@abucci The only problem with supporting this is the API. I'd hate to have to write a whole new filtering/mutating proxy ust to support Podman πŸ˜… I _hope_ Podman _can_ talk to a Remote Docker API -- Because that's all that needs to happen 🀞 -- As you're no doubt aware TLS certs are used to authenticate to the proxy as well.
@abucci The only problem with supporting this is the API. I'd hate to have to write a whole new filtering/mutating proxy ust to support Podman πŸ˜… I _hope_ Podman _can_ talk to a Remote Docker API -- Because that's all that needs to happen 🀞 -- As you're no doubt aware TLS certs are used to authenticate to the proxy as well.
Build a 6502 computer | Ben Eater Sometimes I wish I had better eyesight to do projects like this 🀣 Really cool though just watching Ben's videos on constructing a computer mostly from scratch using the 6502 microcontroller πŸ‘Œ
Build a 6502 computer | Ben Eater Sometimes I wish I had better eyesight to do projects like this 🀣 Really cool though just watching Ben's videos on constructing a computer mostly from scratch using the 6502 microcontroller πŸ‘Œ
Build a 6502 computer | Ben Eater Sometimes I wish I had better eyesight to do projects like this 🀣 Really cool though just watching Ben's videos on constructing a computer mostly from scratch using the 6502 microcontroller πŸ‘Œ
I don't see anything from you πŸ€” Nor in the service logs πŸ€”
I don't see anything from you πŸ€” Nor in the service logs πŸ€”
I don't see anything from you πŸ€” Nor in the service logs πŸ€”
@abucci Hmmm

> I ran some containers using podman and I think they are running remotely but I don’t know the right juju to verify. It looks right though!

Let me check...
@abucci Hmmm

> I ran some containers using podman and I think they are running remotely but I don’t know the right juju to verify. It looks right though!

Let me check...
@abucci Hmmm

> I ran some containers using podman and I think they are running remotely but I don’t know the right juju to verify. It looks right though!

Let me check...
@abucci Hmmm I've actually (funnily enough) been researching Podman ... As far as I can tell, it is not compatible at all with the Docker API. It is _only_ compatible with the Docker CLI. That means you can alias docker=podman, but cannot use podman as a "client" to a remote Docker API engine 😒
@abucci Hmmm I've actually (funnily enough) been researching Podman ... As far as I can tell, it is not compatible at all with the Docker API. It is _only_ compatible with the Docker CLI. That means you can alias docker=podman, but cannot use podman as a "client" to a remote Docker API engine 😒
@abucci Hmmm I've actually (funnily enough) been researching Podman ... As far as I can tell, it is not compatible at all with the Docker API. It is _only_ compatible with the Docker CLI. That means you can alias docker=podman, but cannot use podman as a "client" to a remote Docker API engine 😒
I also (btw) just put up a quick hacky website for it just now (_dogfodding the service itself of course_):

https://cas.run/
I also (btw) just put up a quick hacky website for it just now (_dogfodding the service itself of course_):

https://cas.run/
I also (btw) just put up a quick hacky website for it just now (_dogfodding the service itself of course_):

https://cas.run/
@abucci Yes @jmjl is right. This service uses the Docker API as one of its core components and thus relies on the Docker client, namely the docker CLI. You don't obviously need to have anything else but the CLI to use it as the containers are running remote form you. The install of the CLi is pretty quick 'n easy on most (_if not all?_) systems._
@abucci Yes @jmjl is right. This service uses the Docker API as one of its core components and thus relies on the Docker client, namely the docker CLI. You don't obviously need to have anything else but the CLI to use it as the containers are running remote form you. The install of the CLi is pretty quick 'n easy on most (_if not all?_) systems._
@abucci Yes @jmjl is right. This service uses the Docker API as one of its core components and thus relies on the Docker client, namely the docker CLI. You don't obviously need to have anything else but the CLI to use it as the containers are running remote form you. The install of the CLi is pretty quick 'n easy on most (_if not all?_) systems._
@abucci That all makes sense πŸ‘Œ
@abucci That all makes sense πŸ‘Œ
@abucci That all makes sense πŸ‘Œ
@stigatle That is pretty cool πŸ‘Œ Good 'ol fashioned steam engines? πŸ€”
@stigatle That is pretty cool πŸ‘Œ Good 'ol fashioned steam engines? πŸ€”
@stigatle That is pretty cool πŸ‘Œ Good 'ol fashioned steam engines? πŸ€”
@abucci Ahh, do you have your Github account with SSH keys? Does https://github.com/${GITHUB_USER}.keys return keys for you? That's what its using to do auth right now.
@abucci Ahh, do you have your Github account with SSH keys? Does https://github.com/${GITHUB_USER}.keys return keys for you? That's what its using to do auth right now.
@abucci Ahh, do you have your Github account with SSH keys? Does https://github.com/${GITHUB_USER}.keys return keys for you? That's what its using to do auth right now.
@xuu @movq The Mills DC here does about ~2TB of traffic per month 🀣 ~7TB locally.
@xuu @movq The Mills DC here does about ~2TB of traffic per month 🀣 ~7TB locally.
@xuu @movq The Mills DC here does about ~2TB of traffic per month 🀣 ~7TB locally.
@xuu Hmmm nope, looks like a user error on my part somehow πŸ€¦β€β™‚οΈ

- https://twtxt.net/twt/bjdy5ea
- https://twtxt.net/twt/fjwkpxa
- https://twtxt.net/twt/aqahq5a

There is duplicate entry here with slightly different content, but not much we can do about that πŸ˜…
@xuu Hmmm nope, looks like a user error on my part somehow πŸ€¦β€β™‚οΈ

- https://twtxt.net/twt/bjdy5ea
- https://twtxt.net/twt/fjwkpxa
- https://twtxt.net/twt/aqahq5a

There is duplicate entry here with slightly different content, but not much we can do about that πŸ˜…
@xuu Hmmm nope, looks like a user error on my part somehow πŸ€¦β€β™‚οΈ

- https://twtxt.net/twt/bjdy5ea
- https://twtxt.net/twt/fjwkpxa
- https://twtxt.net/twt/aqahq5a

There is duplicate entry here with slightly different content, but not much we can do about that πŸ˜…
zs starter template πŸ‘ˆ Note the url, I finally got a simple web app/service thiny up and running on the cas.run service (_sorory no web interface yet_) πŸ₯³
zs starter template πŸ‘ˆ Note the url, I finally got a simple web app/service thiny up and running on the cas.run service (_sorory no web interface yet_) πŸ₯³
zs starter template πŸ‘ˆ Note the url, I finally got a simple web app/service thiny up and running on the cas.run service (_sorory no web interface yet_) πŸ₯³
if podman "just works"β„’ awesome πŸ‘Œ
if podman "just works"β„’ awesome πŸ‘Œ
if podman "just works"β„’ awesome πŸ‘Œ
Worth giving it a go πŸ‘Œ I'm not really willing to support multiple backends though, as that's a terrible lot of work 😒
Worth giving it a go πŸ‘Œ I'm not really willing to support multiple backends though, as that's a terrible lot of work 😒
Worth giving it a go πŸ‘Œ I'm not really willing to support multiple backends though, as that's a terrible lot of work 😒
@jmjl No problems! Looks like _maybe_ it is API compatible?

> Podman commands are fully compatible with Docker, so you can replace one with the other: alias docker=podman . The core Podman runtime environment can only run on Linux operating systems. However, you can use a remote client for other operating systems to manage containers on the machine running Podman.12 Apr 2023=
@jmjl No problems! Looks like _maybe_ it is API compatible?

> Podman commands are fully compatible with Docker, so you can replace one with the other: alias docker=podman . The core Podman runtime environment can only run on Linux operating systems. However, you can use a remote client for other operating systems to manage containers on the machine running Podman.12 Apr 2023=
@jmjl No problems! Looks like _maybe_ it is API compatible?

> Podman commands are fully compatible with Docker, so you can replace one with the other: alias docker=podman . The core Podman runtime environment can only run on Linux operating systems. However, you can use a remote client for other operating systems to manage containers on the machine running Podman.12 Apr 2023=
@jmjl We can certainly make the default action some kind of tui with charmed or such, for sure πŸ‘Œ
@jmjl We can certainly make the default action some kind of tui with charmed or such, for sure πŸ‘Œ
@jmjl We can certainly make the default action some kind of tui with charmed or such, for sure πŸ‘Œ
@jmjl Yeah I like this idea πŸ‘Œ What do you mean by "normal SSH" btw? The SSH server there is custom-made, on-purpose, be pretty hard to break it as its all a custom responder.
@jmjl Yeah I like this idea πŸ‘Œ What do you mean by "normal SSH" btw? The SSH server there is custom-made, on-purpose, be pretty hard to break it as its all a custom responder.
@jmjl Yeah I like this idea πŸ‘Œ What do you mean by "normal SSH" btw? The SSH server there is custom-made, on-purpose, be pretty hard to break it as its all a custom responder.
@jmjl Is podman compatible and uses the same Docker API? πŸ€” I'm not sure myself.

In terms of breaking it, yes please, by all means, do try and of course let me know. I'm not sure how good any of this is just yet... Still seeing what's possible. I'm actually trying to set-up some ingress and default routing so folks _could_ host simple stuff. Tricky to get right πŸ˜…
@jmjl Is podman compatible and uses the same Docker API? πŸ€” I'm not sure myself.

In terms of breaking it, yes please, by all means, do try and of course let me know. I'm not sure how good any of this is just yet... Still seeing what's possible. I'm actually trying to set-up some ingress and default routing so folks _could_ host simple stuff. Tricky to get right πŸ˜…
@jmjl Is podman compatible and uses the same Docker API? πŸ€” I'm not sure myself.

In terms of breaking it, yes please, by all means, do try and of course let me know. I'm not sure how good any of this is just yet... Still seeing what's possible. I'm actually trying to set-up some ingress and default routing so folks _could_ host simple stuff. Tricky to get right πŸ˜…
Although that being said, the SSH interface isn't too bad, with a bit more polish it could also work nicely as an alternative? πŸ€”
Although that being said, the SSH interface isn't too bad, with a bit more polish it could also work nicely as an alternative? πŸ€”
Although that being said, the SSH interface isn't too bad, with a bit more polish it could also work nicely as an alternative? πŸ€”
@jmjl That would be the plan, yeah. Right now the whole ssh thing was a quick hack to get things working. Ideally someone helps me build a swank UI for this 🀣
@jmjl That would be the plan, yeah. Right now the whole ssh thing was a quick hack to get things working. Ideally someone helps me build a swank UI for this 🀣
@jmjl That would be the plan, yeah. Right now the whole ssh thing was a quick hack to get things working. Ideally someone helps me build a swank UI for this 🀣
@movq Who will maintain Vim now 😒
@movq Who will maintain Vim now 😒
@movq Who will maintain Vim now 😒
@abucci Haha you're right! I didn't πŸ€¦β€β™‚οΈ I just assumed anyone would use the same alias/username as their Github on their local machine or vice versa 🀣 It was ~3am when I wrote that and toddled off to bed, so sorry πŸ™~
@abucci Haha you're right! I didn't πŸ€¦β€β™‚οΈ I just assumed anyone would use the same alias/username as their Github on their local machine or vice versa 🀣 It was ~3am when I wrote that and toddled off to bed, so sorry πŸ™~
@abucci Haha you're right! I didn't πŸ€¦β€β™‚οΈ I just assumed anyone would use the same alias/username as their Github on their local machine or vice versa 🀣 It was ~3am when I wrote that and toddled off to bed, so sorry πŸ™~
@abucci Do you not have a GitHub account?
@abucci Do you not have a GitHub account?
@abucci Do you not have a GitHub account?
My proof-of-concept Container as a Service (CAS or CaaS) is now up and running. If anyone wants to have a play? πŸ€” There's still heaps to do, lots of "features" missing, but you can run stuff at least πŸ˜…


ssh -p 2222 cas.run help
My proof-of-concept Container as a Service (CAS or CaaS) is now up and running. If anyone wants to have a play? πŸ€” There's still heaps to do, lots of "features" missing, but you can run stuff at least πŸ˜…


ssh -p 2222 cas.run help
My proof-of-concept Container as a Service (CAS or CaaS) is now up and running. If anyone wants to have a play? πŸ€” There's still heaps to do, lots of "features" missing, but you can run stuff at least πŸ˜…


ssh -p 2222 cas.run help
But if you want to run a few small things that consume a few MB of memory, bugger all CPU and whatever storage, then you're looking at only paying mere cents
But if you want to run a few small things that consume a few MB of memory, bugger all CPU and whatever storage, then you're looking at only paying mere cents
But if you want to run a few small things that consume a few MB of memory, bugger all CPU and whatever storage, then you're looking at only paying mere cents
@movq Nah not at all πŸ˜… If anything you've perhaps shown me a use-case that this kind of pricing model wouldn't work for. πŸ‘Œ -- Basically if you want a "machine" and the resources of a typical machine, not for you 🀣
@movq Nah not at all πŸ˜… If anything you've perhaps shown me a use-case that this kind of pricing model wouldn't work for. πŸ‘Œ -- Basically if you want a "machine" and the resources of a typical machine, not for you 🀣
@movq Nah not at all πŸ˜… If anything you've perhaps shown me a use-case that this kind of pricing model wouldn't work for. πŸ‘Œ -- Basically if you want a "machine" and the resources of a typical machine, not for you 🀣
Hmm not sure we're on the same page with a virtual machine vs. a container πŸ€”
Hmm not sure we're on the same page with a virtual machine vs. a container πŸ€”
Hmm not sure we're on the same page with a virtual machine vs. a container πŸ€”
@movq See this kind of service wouldn't work for you, unless you can justify what you run on your VPS and cut away all the cruft and wasted memory πŸ˜… Here it would cost you $20/month alone in memory 🀣
@movq See this kind of service wouldn't work for you, unless you can justify what you run on your VPS and cut away all the cruft and wasted memory πŸ˜… Here it would cost you $20/month alone in memory 🀣
@movq See this kind of service wouldn't work for you, unless you can justify what you run on your VPS and cut away all the cruft and wasted memory πŸ˜… Here it would cost you $20/month alone in memory 🀣
@movq What I'm talking about here is something like this:


CPU: $0.01/month per 1% of CPU cores
RAM: $0.01/month per MB
Local Storage (_not guaranteed to be persistent_): $0 for up to 1GB
Persistent Storage: $0.01/month per GB


Throw in $0.10/month for "access feeds" and either $0 (community), $10 or $20 per month for support.
@movq What I'm talking about here is something like this:


CPU: $0.01/month per 1% of CPU cores
RAM: $0.01/month per MB
Local Storage (_not guaranteed to be persistent_): $0 for up to 1GB
Persistent Storage: $0.01/month per GB


Throw in $0.10/month for "access feeds" and either $0 (community), $10 or $20 per month for support.