@eduardoochs @screwlisp Heya!

The REPL is really just there to provide a simple interface to the running web server for debugging your apps. That said, it _is_ a full-on Node.js REPL so you can pretty much run any JavaScript you want in it.

(I’m not going to even pretend I understand what you’re using it for but it’s fun to see folks playing with it in ways I never imagined.) :)

@aral
Thanks again for kitten!

the main thing for me (still quite a while til I need to use it) is that the kitten eepitch is a very convenient interface into the #kitten's kittendb (from inside #emacs).

So the kitten eepitch can be used to read and set values that determine what pages are generated, in real time.

@eduardoochs we must convince Aral to adopt your category diagrams for Kitten's database typing ;p

🥳 New Kitten release!

Markdown and general renderer fixes.

Fixed:

• Nested Markdown sections rendering bug.

• Detection of components in Markdown where the opening tag spans multiple lines.

• Support for returning a component as a top-level object in a page.

• Slots in Markdown now work as they should (make sure you add them as block-level items, so with a leading and trailing empty line)

Enjoy!

kitten 💕

https://kitten.small-web.org

#Kitten#KittenRelease #SmallWeb#SmallTech#Markdown #rendering#HTML #web #dev

🥳 New Kitten Release

To GNU tar or not to GNU tar?

• Installing Kitten on Linux should no longer display a screenful of gibberish from the tar command.

You see, macOS, being special, includes BSD tar, not GNU tar, and adds a bunch of Mac-specific metadata and extended header keywords to archives that GNU tar on Linux machines then chokes on and regurgitates onto your screen as warnings.

With this release, Kitten’s packaging script expects GNU tar to be available on macOS and uses that instead of BSD tar.

The latest release of Kitten now installs without any warnings on Linux (at least on my Fedora Silverblue box).

Enjoy!

https://kitten.small-web.org

#Kitten#KittenRelease #SmallWeb#SmallTech#GNU#BSD#Darwin#macOS #tar

🎉 New Kitten¹ Release: A little housekeeping 🧹

Today’s release only concerns production servers:

• Kitten no longer counts all *hits* in its stats. You can still see which of your *pages* are most popular, etc., and see stats for missing URLs, etc., as before from either the web interface or the interactive shell, but not every hit is logged. Instead, you can see the latest 25 served routes in Kitten’s Settings (at /🐱/settings/state/requests/ via the web on your server).

- Kitten production servers now carry out an automatic daily maintenance restart at some time between 3AM and 5AM local server time. (“Have you tried turning it off and on again?” as a Service™) This is to allow JSDB² tables a chance to compact themselves (especially important for high traffic/high mutation tables like sessions, so they don’t balloon up to take up all available memory on small VPS instances).

I don’t think anyone but us (Small Technology Foundation³) is running Kitten in production at the moment but, still. If you are playing with Kitten and experimenting with it in production, your servers will update to this latest version in a few hours.

Full details: codeberg.org/kitten/app/src/br

:kitten: 💕

¹ kitten.small-web.org
² codeberg.org/small-tech/jsdb
³ small-tech.org

alcinnz
alcinnz boosted

🥳 New Kitten Release

• Improved Markdown parser

Kitten’s JavaScript tagged template strings (`kitten.html`) no longer fail to render as expected when interpolated values are used inside of Markdown where the Markdown render changes source order.

So, for example, the following will now work correctly, whereas, previously, the link source and link text would have been erroneously flipped:

kitten.html`
<markdown>
[${linkText}](${linkSource})
</markdown>
`

To implement the fix, I’ve moved Markdown rendering outside of the main render loop and into a pre-render stage and implemented a simple Markdown render tree that non-recursively handles all Markdown region renders.

More details: codeberg.org/kitten/app/src/br

Run `kitten update` to update your dev machines. Your deployment servers will automatically update in the next few hours.

You can learn more about and install Kitten from the Kitten web site:
kitten.small-web.org/

Enjoy!

:kitten:💕

🥳 New Kitten Release

• Improved Markdown parser

Kitten’s JavaScript tagged template strings (`kitten.html`) no longer fail to render as expected when interpolated values are used inside of Markdown where the Markdown render changes source order.

So, for example, the following will now work correctly, whereas, previously, the link source and link text would have been erroneously flipped:

kitten.html`
<markdown>
[${linkText}](${linkSource})
</markdown>
`

To implement the fix, I’ve moved Markdown rendering outside of the main render loop and into a pre-render stage and implemented a simple Markdown render tree that non-recursively handles all Markdown region renders.

More details: codeberg.org/kitten/app/src/br

Run `kitten update` to update your dev machines. Your deployment servers will automatically update in the next few hours.

You can learn more about and install Kitten from the Kitten web site:
kitten.small-web.org/

Enjoy!

:kitten:💕

@judell hey, this is very interesting. The old VB UI in a new web jacket. I just tooted about the Rube Goldberg machine that is modern web dev, and in some ways I was more empowered at the start of my career in 1997 with Visual Basic.

https://social.coop/@smallcircles/114878688112419149

You might have a look if maybe there isn't a cool combination to make with #Datastar at https://data-star.dev which recently went v1.0

They continue where #HTMX stopped, in #hypermedia land, where they use #WebComponents for complex UI.

Oh, I just remembered I also wanted to ping you, @aral about this v1.0 release, regarding #SmallWeb and #Kitten. So here goes. The current website is running #Datastar 1.0.

https://data-star.dev/essays/v1_and_beyond

@judell

🥳 New Kitten Release

• Fixed regression: Since we switched the h() render function to return a generator (for seamless async support in html templates), two other methods that were calling h() directly – kitten.safelyAddHtml() and kitten.js() – had begun to fail. This was also affecting the fetchiverse, streamiverse, and kitten-chat family of examples.

Enjoy!

https://kitten.small-web.org

(Run kitten update to immediately install the latest version on your development machines. Your production machines will automatically update in the next few hours.)

kitten💕

#Kitten #SmallWeb #bug #regression #fix#KittenRelease#SmallTech #web #dev