socel.net is one of the many independent Mastodon servers you can use to participate in the fediverse.
Socel is a place for animation professionals, freelancers, independents, students, and fans to connect and grow together. Everyone in related fields are also welcome.

Server stats:

316
active users

#kitten

66 posts28 participants5 posts today

New Kitten Release 🥳

• Implements cascading archives support

kitten.small-web.org/reference

Cascading archives¹ is useful if you have a static archive of the old version of your site and you don’t want to host it somewhere else and use the 404→307 (evergreen web) technique (kitten.small-web.org/reference) (the latter is useful if the old version of your site is a dynamic site and you cannot take a static archive of it).

If a URL cannot be found on your app, Kitten will trying it in the archive folders:

__archive__1
__archive__2
__archive__3

(In that order.)

So you can three older static versions of your site served without breaking older URLs unless they are shadowed by newer URLs in your site/app.

Enjoy!

:kitten:💕

¹ This is a feature that I originally implemented in Site.js (that’s going to be shut down tomorrow when Let’s Encrypt stops issuing certificates with OCSP-stapling – I don’t have the bandwidth to maintain two servers/frameworks; Kitten is Site.js’s successor). I’m planning on implementing this differently in Kitten going forward (so you can use the Settings interface to upload a zipped archive and it will serve it) but I need this for my own site for tomorrow’s shutdown so we have this simpler implementation in the meanwhile. Leaving things to the last minute? Who? Me? Never! ;)

Continued thread

Right, the Kitten icon explorer is now fully functional.

• Type to filter results (searches component names, categories, and tags).
• Press the component button to copy the component code to your clipboard.

kitten.small-web.org/reference

I quickly whipped this up using the new generic script in Markdown frontmatter feature I added to Kitten. And I’d imagine this is about the most amount of functionality you’d add using it before refactoring to something more maintainable. (Hey, just because I’m the author of Kitten doesn’t mean I’m not also learning how to use it as build it.) :)

Source: codeberg.org/kitten/site/raw/b

Enjoy!

:kitten:💕

I just whipped up a simple icon search for Kitten Icons (based on Phosphor Icons). It’s not complete yet – I have a few other things to do before I can get back to it today – but you can play with it here:

kitten.small-web.org/reference

And see the code for it here:

codeberg.org/kitten/site/src/b

I popped the event handler into the Markdown page itself. Not the cleanest but works in a pinch:

codeberg.org/kitten/site/raw/b

Hello, #CatsOfMastodon folks!
Seems like our little feline felon from Saturday's May Day alert has quite the fan club forming! Your wonderful responses have me feeling like I've stumbled into the world's most delightful cat appreciation society. Thank You 🙏
As promised, I'm delivering another dose of prescribed #cuteness #therapy today- My Cute Little Yuki <3
For those who missed the #Kitten criminal investigation, here's where the previous perpetrator first appeared: mastodon.social/@CravniCsaras/

New Kitten Release 🎉

• Breaking change: `kitten.icons` namespace is now flat (not alphabetically sharded). This should make it much nicer to author with. (The alphabetical sharding was an attempt to work around a size limitation with large objects when using automatic type inference in the TypeScript language server. Since I’m now generating a TypeScript type definition for the entire data structure, the limitation no longer applies and thus the sharding is no longer necessary.) kitten.small-web.org/reference

• The `tags` and `categories` hash tables on `kitten.icons` – which are included as authoring-time aids to help you find icons using metadata searches in your editor – are now marked as unenumerable properties so they no longer pollute the root icons namespace so you can, for example, safely iterate through all icons with a simple loop.

• I’ve started a change log even though Kitten is still pre-release so there is a better place to find them than looking through my Mastodon release notification posts :) codeberg.org/kitten/app/src/br

Enjoy!

:kitten:💕

kitten.small-web.orgKitten: Reference