Skip to main content

Search

Items tagged with: kitten


I like the "kitten is just a baby" part
#kitten
@aral


Streamiverse is written in Kitten and you can follow the “htmx, the htmx WebSocket extension, and socket routes” tutorial to create a Kitten app that consumes the API:

kitten.small-web.org/tutorials…

To get started with Kitten, see:

kitten.small-web.org

(Could be a fun little thing to play with this weekend.)

:kitten:💕

#Kitten #SmallWeb #htmx #WebSocket #streaming #fediverse #Mastodon #API #SmallTech #web #dev


Introducing Streamiverse… a simple Mastodon-compatible streaming API of curated posts from the fediverse.

streamiverse.small-web.org

Consume the public API curated/hosted by Small Technology Foundation (for non-commercial and educational use) or host your own.

Mastodon had a public streaming API but it was locked down this year. This gives you back that useful feature (for demos, teaching, etc.) plus you know exactly what you’re getting.

#streamiverse #mastodon #fediverse #API #SmallWeb #Kitten


😹
- "one-eyed #kitten" is super cute!


PS. I’ve been running Fedora Silverblue on it but I’m happy to install whichever Linux distribution you like on it.

And, in case you care about such things, this is the machine I used to code Kitten¹ and the one I was using for my videos/live streams.

(And yes, this is my work machine and the money for it will go to Small Technology Foundation².)

¹ kitten.small-web.org
² small-tech.org

#Linux #machine #forSale #Ireland #Kitten #SmallWeb #SmallTech


Just made a macOS bug-fix release for Site.js¹ and also deprecated it as I’ll no longer be maintaining it. (We’ll be porting our own sites to Kitten².)

Site.js was the first iteration of a Small Web server and I learned a whole lot by building it. It is also where many of the components in Kitten originated (auto TLS, the JSDB database, etc.)

I’ll keep the site up for the foreseeable future for the historic record.

¹ sitejs.org
² kitten.small-web.org

#SiteJS #Kitten #SmallWeb


My new post about the lovely “#Kitten”:

The #project I really appreciate.

saman.bearblog.dev/kitten-web-…

With the hope for a better #net/#web and simplifying web #app or #website creation for anyone.

@aral

kitten.small-web.org

#webdev #html #programming #indie #producthunt


Gosh I do love how elegant Playwright + my little Kitten¹ process helper makes it to write end-to-end tests.

Check out the tests for the peer-to-peer web (Small Web) end-to-end encrypted chat example²:

codeberg.org/kitten/app/src/br…

That handles the setting up of two instances (place1.localhost:498 and place2.localhost:499) and tests the sending of end-to-end encrypted messages between them.

:kitten:💕

¹ kitten.small-web.org
² codeberg.org/kitten/app/src/br…

#Kitten #SmallWeb #peerToPeer #web #dev #JS


Just updated the Kitten reference section on testing Kitten to include instructions on running the new regression and end-to-end tests.

Will only be of interest if you’re hacking on Kitten itself.

kitten.small-web.org/reference…

#Kitten #SmallWeb #web #dev #NodeJS #testing #playwright


Really enjoying adding end-to-end tests to Kitten¹ using Playwright² and my own little Kitten controller class for starting/stopping/otherwise interacting with the Kitten server.

Just wrote some that comprehensively test identity creation and authentication for Small Web places:

codeberg.org/kitten/app/src/br…

Lots more to write but I think I’ve found a good flow :)

:kitten:💕

¹ kitten.small-web.org
² playwright.dev

#Kitten #SmallWeb #Playwright #testing #NodeJS #JavaScript #web #dev


Ooh, looks like Woodpecker CI is getting support for running rootless images. Which means I should be able to set up CI for Kitten* on @Codeberg soon :)

github.com/woodpecker-ci/woodp…

* kitten.small-web.org

#kitten #SmallWeb #continuousIntegration #codeberg #woodpecker


Today @ 18:30 in Dublin: Come hear me talk about the Small Web and watch me demonstrate the current state of Kitten, Domain, and Place.

meetu.ps/e/Ny9vK/H1WXJ/i

#ireland #dublin #SmallWeb #talk #presentation #web #dev #JavaScript #NodeJS #htmx #WebSockets #StreamingHTML #selfHosting #decentralisation #p2p #cryptography #dubSec #Kitten #Domain #Place #SmallTech


I’m going to present a talk on Small Web at the Dub|Sec meetup this Wednesday (October 30th at 6:30PM). The event takes place at The Camden Court Hotel in Dublin.

Pop by and say hi if you’re around.

meetup.com/dub-sec/events/3038…

#SmalWeb #peerToPeerWeb #Ireland #meetup #dublin #dubsec #Kitten #Domain #Place #NodeJS #HTML #CSS #JavaScript #htmx #WebSockets #web #dev


PS. This is the Browser helper:

codeberg.org/kitten/app/src/br…

And this is the Kitten process helper:

codeberg.org/kitten/app/src/br…

The only thing I’ll eventually need to add is a WebSocket helper so I can mock Kitten’s htmx¹/Streaming HTML² requests and that should give me pretty good coverage without having to resort to orchestrating actual browsers.

(Also, the unit tests are in quite a dismal state so there’s lots to do.)

¹ kitten.small-web.org/tutorials…
² kitten.small-web.org/tutorials…

#Kitten #htmx #testing


Now that Kitten¹ is rather stable, I’ve decided to write some regression tests before refactoring to add class-based route/component support (in addition to the current—easy to get started with/use—function-based workflow).

I tried using Playwright but it’s quite heavy and not quite right for my needs (Kitten is more than just a server and I need control of it during testing). ~100 lines of code later, I have something that works well using tape and JSDOM :)

¹ kitten.small-web.org

#Kitten