Important #kitten update! #CatsOfMastodon
You and me together - handmade watercolor painting - for all (cat) lovers...
Enjoy your weekend!
Find it here:
https://karen-kaspar.pixels.com/featured/you-and-me-together-karen-kaspar.html
#MastoArt #art #painting #FediArt #artist #MastodonArt #TraditionalArt #kunst #cats #CatsOfMastodon #caturday #cat #CatLovers #pets #cute #animals #catstodon #WhiskersWednesday #kitten #kitty #kittens #katze #meow #AnimalArt #PetPortraitn #BuyIntoArt #BlackCats #watercolor #artforsale #circle #blue #love #romance #loveArt #aquarelle #handmade #zen #gifts
I think the most important #kitten #smallweb #webFramework structural feature is dynamically generating composite #markdown documents from reuseable fragments, the markdown then rendered into sanitized #html the usual way. #web #programming
Article: https://screwlisp.small-web.org/kitten/this-is-just-arals-fragment-md-example/
Which is admittedly just me reproducing one of @aral 's tutorials: https://kitten.small-web.org/tutorials/layout-components/#markdown-fragment-md
I can imagine you (yes you) have a sophisticated opinion on this topic I would like to hear.
Just added Web Reachability API (at least that’s what I’m calling it) support to https://ip.small-web.org.
It’s for testing the reachability of your Small Web servers (using a domain or, more importantly, an IPv4/IPv6 address). I’m using it to implement Web Numbers¹ support in Auto Encrypt² and Kitten³.
Protocol:
• At http://<endpoint> return an empty HTTP 200 response that includes the following custom header: 'web-reachability-id': ‘<uuid>'
• Hit: https://ip.small-web.org/reach/<endpoint>/<uuid>/
• If you get a 200 response back, your endpoint is reachable. Anything else signals an error.
Enjoy! 💕
¹ https://ar.al/2025/06/25/web-numbers/
² https://codeberg.org/small-tech/auto-encrypt
³ https://kitten.small-web.org
#WebReachabilityAPI #WebNumbers #IpAddresses #reachability #Kitten #AutoEncrypt #SmallWeb #peerToPeerWeb #SmallTech
So I’m teaching a friend who doesn’t have any development knowledge how to get started with Small Web development and I thought it would be a good opportunity to start creating and sharing the course on the Kitten web site, one lesson at a time.
Here’s the link:
https://kitten.small-web.org/course
It’s a work in progress that I’ll be adding to along with our lessons but the draft of the first one, on setting up your development environment (which I whipped up in the pub last night, so expect typos) is here:
https://kitten.small-web.org/course/setting-up/
Please feel free to follow along and file issues if you have thoughts for improvements, etc.
The Setting Up lesson will actually likely end up being the second one with the first being a theoretical one on Small (peer-to-peer) Web development and how it is similar to and differs from Big (centralised) Web development.
Enjoy!
💕
#SmallWeb #Kitten #SmallTech #web #dev #course #education #HTML #CSS #JavaScript #NodeJS
If stress and hectic activity become too much for you – simply close your eyes briefly, take a deep breath and relax!
Wenn dir Stress und Hektik zu viel werden – schließe einfach kurz die Augen, atme tief durch und entspanne dich bewusst!
#relax #art #sketching #sketch #sketchbook #pencil #BlackAndWhite #illustration #drawing #doodle #art #cute #handmade #cats #caturday #CatLovers #pets #animals #kitten #katze #MastoArt #FediArt #CatsOfMastodon #catstodon #WhiskersWednesday #ArtAdventCalendar
I updated the initial Kitten course based on our first lesson with @casey and your feedback here. So now we start with no tooling except for your default terminal app and Kitten and it serves as a gentle introduction to the command line and gets to you seeing your first web page in your web browser far more quickly.
https://kitten.small-web.org/course/hello-kitten
The tooling chapter is now Chapter 2:
https://kitten.small-web.org/course/tools-of-the-trade
And there’s a new Chapter 3 that gets you editing your newly-created web page using Helix Editor:
https://kitten.small-web.org/course/hello-kitten-revisited
I’m going to add an introduction to git to this chapter soon.
The course is being developed as Casey and I have our lessons so new chapters should trickle in and things may change with rewrites, etc., as we go.
https://kitten.small-web.org/course
Please feel free to follow along and pipe in with thoughts and suggestions if you have any.
Enjoy!
💕
PS. There will be screenshots, etc., added as I work on it more. I know it’s a bit text-heavy at the moment.
#Kitten #KittenCourse #course #SmallWeb #PeerToPeerWeb #web #dev #HTML #CSS #JavaScript #NodeJS
If stress and hectic activity become too much for you – simply close your eyes briefly, take a deep breath and relax!
Wenn dir Stress und Hektik zu viel werden – schließe einfach kurz die Augen, atme tief durch und entspanne dich bewusst!
#relax #art #sketching #sketch #sketchbook #pencil #BlackAndWhite #illustration #drawing #doodle #art #cute #handmade #cats #caturday #CatLovers #pets #animals #kitten #katze #MastoArt #FediArt #CatsOfMastodon #catstodon #WhiskersWednesday #ArtAdventCalendar
So I just wasted a morning trying to debug why the Highlight.js syntax highlighting in Kitten suddenly began to fail only to realise that @1password is stripping the hljs- prefixes from the class names.
You can see this for yourself if you have the 1password extension installed at:
https://kitten.small-web.org/#the-ubiquitous-counter-example
Load that page with 1password enabled in your browser and you will see that the syntax highlighting doesn’t work and the hljs- prefixes have been stripped.
Disable the 1password extension and load the page again and you will see syntax highlighting working properly.
WTF?!
🥳 New Kitten Release
• Reduces minimum Bash version requirement for installing Kitten to Bash 3.2+ (was previously Bash 5+). This removes the requirement for people on macOS to upgrade the ancient version of Bash that Apple ships with their desktop operating system. (If you’re on Linux none of this was ever an issue for you.)¹
• Updates runtime to Node 24.12.0, the latest long-term support (LTS) version.
¹ While it’s easy enough to update your version of Bash on macOS using Homebrew, that only works (as we discovered on Friday https://mastodon.ar.al/@aral/115706233541301655) if you’re running one of the latest three versions of macOS and thus excludes people with perfectly functional older computers. (Don’t get me started on why Apple ships an ancient version of Bash as we’ll go down the rabbit hole of open as in “open for business” vs “free as in freedom” and corporate capture and how capitalism will happily be the end of us if we let it. Aren’t you glad you didn’t get me started?) ;)
So I’m teaching a friend who doesn’t have any development knowledge how to get started with Small Web development and I thought it would be a good opportunity to start creating and sharing the course on the Kitten web site, one lesson at a time.
Here’s the link:
https://kitten.small-web.org/course
It’s a work in progress that I’ll be adding to along with our lessons but the draft of the first one, on setting up your development environment (which I whipped up in the pub last night, so expect typos) is here:
https://kitten.small-web.org/course/setting-up/
Please feel free to follow along and file issues if you have thoughts for improvements, etc.
The Setting Up lesson will actually likely end up being the second one with the first being a theoretical one on Small (peer-to-peer) Web development and how it is similar to and differs from Big (centralised) Web development.
Enjoy!
💕
#SmallWeb #Kitten #SmallTech #web #dev #course #education #HTML #CSS #JavaScript #NodeJS
I love how simple Kitten’s Streaming HTML workflow makes building features like this, especially when using class-based Kitten pages and components :)
💕
#Kitten #SmallWeb #StreamingHTML #EventBasedProgramming #ObjectOrientedProgramming #JavaScript #NodeJS #web #dev #GazaVerified
🥳 New Kitten Release
You can now use the simple `on:` prefix instead of `hx-on:htmx:` to define inline event handlers for HTMX events¹.
Also, there are three new event shorthands for responding to your Kitten page’s connection lifecycle:
• on:connecting
• on:connect
• on:disconnect
(These expand during render to `hx-on:htmx:ws-connecting.window`, `hx-on:htmx:ws-open.window`, and `hx-on:htmx:ws-close.window`, respectively.)
These are useful when using Kitten’s Streaming HTML workflow.
Full change log:
https://codeberg.org/kitten/app/src/branch/main/CHANGELOG.md#2025-12-10
Enjoy!
:kitten:💕
¹ https://htmx.org/events/
² https://kitten.small-web.org/tutorials/streaming-html/
#Kitten #SmallWeb #peerToPeerWeb #web #dev #SmallTech #KittenRelease
Another quick release, this one adds Alpine.js support for shorthand event handlers.
Just add a `@` before your shorthand event handler names to have them expanded as inline Alpine.js event handlers.
e.g., `on:connect` → `@on:connect`
Enjoy!
:kitten:💕
#Kitten #AlpineJS #HTMX #SmallWeb #peerToPeerWeb #web #dev #JavaScript #nodeJS #SmallTech #KittenRelease
🥳 New Kitten Release
You can now use the simple `on:` prefix instead of `hx-on:htmx:` to define inline event handlers for HTMX events¹.
Also, there are three new event shorthands for responding to your Kitten page’s connection lifecycle:
• on:connecting
• on:connect
• on:disconnect
(These expand during render to `hx-on:htmx:ws-connecting.window`, `hx-on:htmx:ws-open.window`, and `hx-on:htmx:ws-close.window`, respectively.)
These are useful when using Kitten’s Streaming HTML workflow.
Full change log:
https://codeberg.org/kitten/app/src/branch/main/CHANGELOG.md#2025-12-10
Enjoy!
:kitten:💕
¹ https://htmx.org/events/
² https://kitten.small-web.org/tutorials/streaming-html/
#Kitten #SmallWeb #peerToPeerWeb #web #dev #SmallTech #KittenRelease
Have a lovely evening!
Two cats and a full moon -
handmade watercolor painting
Find it here:
https://karen-kaspar.pixels.com/featured/two-cats-and-a-full-moon-karen-kaspar.html
#MastoArt #art #painting #FediArt #FediGiftShop #artist #arte #InteriorDesign #MastodonArt #ArtistsOnMastodon #TraditionalArt #kunst #cats #CatsOfMastodon #caturday #CatLovers #gifts #cute #animals #catstodon #WhiskersWednesday #kitten #kitty #kittens #katze #meow #AnimalArt #BuyIntoArt #BlackCats #watercolor #watercolour #aquarell #artwork #artforsale #ArtAdventCalendar
Ah, the joys of having a built-in native JavaScript database¹ that can persist and load typed JavaScript objects² and an interactive JavaScript shell (REPL)³ in Kitten⁴ :)
:kitten:💕
¹ https://kitten.small-web.org/reference/#database
² https://kitten.small-web.org/tutorials/database-app-modules/
³ https://kitten.small-web.org/reference/#kitten-s-interactive-shell-repl
⁴ https://kitten.small-web.org
#Kitten #SmallWeb #web #development #JavaScript #NodeJS #JSDB
Have a lovely evening!
Two cats and a full moon -
handmade watercolor painting
Find it here:
https://karen-kaspar.pixels.com/featured/two-cats-and-a-full-moon-karen-kaspar.html
#MastoArt #art #painting #FediArt #FediGiftShop #artist #arte #InteriorDesign #MastodonArt #ArtistsOnMastodon #TraditionalArt #kunst #cats #CatsOfMastodon #caturday #CatLovers #gifts #cute #animals #catstodon #WhiskersWednesday #kitten #kitty #kittens #katze #meow #AnimalArt #BuyIntoArt #BlackCats #watercolor #watercolour #aquarell #artwork #artforsale #ArtAdventCalendar
“Mrrrrrrr?”
#Qualitätskatzen #cats #kitten #kittens #Katzen #gatti #CatsOfMastodon #MastoCats #FediCats #CatContent #Greece #Evia #Euboea #CatsOfGreece #Flausch #monochrome #Fujifilm
(photo: @kernpanik | license: CC BY-NC-SA 4.0)