Skip to main content

Search

Items tagged with: smallweb


🄳 New Kitten¹ Release

• Adds Kitten Introspection API

I’ll record a video this week demonstrating it.

In the meanwhile, check out the change log for details:
codeberg.org/kitten/app/src/br…

Enjoy!

:kitten:šŸ’•

¹ kitten.small-web.org

#Kitten #KittenReleases #SmallWeb #SmallTech #introspectionAPI #web #dev


Been working on a blog post idea about how the 'old', real more simple web is still around, usable, fuck the big corpo garbage web, and so on. Been seeing other great pieces on it, gathering ideas, wanna reference them, etc. Wanna collect all of them and say something intelligent about it but wow it's gonna take a while to collect it all and write it up šŸ˜‚ But be assured, it's on its way eventually. Hopefully sooner than later. I want it to be almost like a brief, simple roadmap for the real web.

#ResearchPhase #SmallWeb #IndieWeb #blogging #writing



This is the web we're fighting for.

#Kagi #SmallWeb


🄳 New Kitten Release

• Implement garbage collection timeout for unconnected pages

Added a timeout to KittenPage instances so that if they do not connect within 10 seconds, they are garbage collected.

This is to avoid a memory leak in the scenario where a person rapidly refreshes a class-based (state maintaining) Kitten page. In such a scenario, the almost instant page lifecycle does not allow enough time for the page’s default WebSocket to connect and disconnect from the client. As we normally garbage collect pages when their default WebSocket disconnects, this leaves the page object in memory, creating a memory leak.

Enjoy!

kitten.small-web.org

:kitten:šŸ’•

#Kitten #KittenReleases #SmallWeb #SmallTech #bugFix


Kevin Boone gave a small shout out to @powRSS on his article ā€œThe ā€˜small web’ is bigger than you might thinkā€ 😁

kevinboone.me/small_web_is_big…

#indieweb #smallweb


🄳 New @small-web/kitten (Kitten globals) release.

• Improved type information.
• Now plays nice with tsconfig.json and tsc.
• Adds `rawBody` to `KittenRequest`.

This is not really a breaking change (in that it won’t break your apps) but I’m releasing it as a major version update so as not to surprise you if you notice the type information is different (more detailed than before).

To update in your kitten apps:
npm install @small-web/kitten@7

For more information on how to use this module, see the Kitten Type Safety tutorial:
kitten.small-web.org/tutorials…

Full change log:
codeberg.org/kitten/globals/sr…

Enjoy!

:kitten:šŸ’•

#Kitten #KittenReleases #SmallWeb #SmallTech #web #dev #typeSafety #JavaScript #JS #nodeJS


🄳 New Kitten¹ Release

• Fixes: Page infinitely refreshes if class does not extend `kitten.Page`

Kitten now shows a helpful error message for this authoring error.

(The issue was due to the page getting rendered without the necessary scaffolding provided by the base class for maintaining the web socket connection,. leading to Kitten thinking the socket connection had failed and triggering a reload to reestablish it.)

Full changelog of today’s updates: codeberg.org/kitten/app/src/br…

Thanks to @joshhatesgithub (codeberg.org/joshhatesgithub) for discovering and reporting this last night.

Enjoy!

:kitten:šŸ’•

¹ kitten.small-web.org

#Kitten #KittenReleases #SmallWeb #developerExperience #bugFix


🄳 New Kitten¹ Release

• Adds `rawBody` to non-multipart POST requests.

This property, which is a Buffer, is necessary if you want to verify signatures (e.g., for webhooks).

I had to fork express-busboy as they already ruled out adding it. The fork (@small-web/kitten-busboy²) also allowed me to type the middleware extension point for Polka³ instead of Express (Kitten uses Polka) so that’s one @ts-ignore removed (hey, dev is a string of little wins) :)

Change log: codeberg.org/kitten/app/src/br…

Caught a bug and feeling a little under the weather at the moment (nothing major, mom and dad – no need to worry) so apologies if I’m not responsive here.

Enjoy!

:kitten:šŸ’•

¹ kitten.small-web.org
² codeberg.org/kitten/busboy
³ github.com/lukeed/polka

#Kitten #SmallWeb #KittenReleases #busboy #polka #express #bodyParsing #middleware #NodeJS #web #dev


Oh I do love how you have your Kitten¹ app’s database in memory – thanks to Kitten’s built-in JavaScript Database (JSDB)² – and accessible via the Kitten Shell (REPL)³ during dev.

(If I do say so myself.) ;)

:kitten:šŸ’•

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

#Kitten #SmallWeb #web #dev #tools #developerExperience


Want to show visitors to your site that your content is human made and doesn't use AI? Grab my badge pack for FREE (or pay as much as you want)

Th e pack contains 64 88x31px PNG and SVG badges in 8 colors and phrases ā€œmade by a human, drawn by a human, human content, written by a human, I am not a robot, never by ai, human content, there's no ai here!ā€

#free #badges #NoAI #humanmade #smallweb #indie

ko-fi.com/s/4662b19f61


🄳 New Kitten¹ Release

• Fixed: Errors in a project’s _main.script.js_ now cause a hard crash without retry attempts. The errors are also now better classified and communicated.
• Housekeeping: Removed unmaintained dev dependency, updated supported ES versions to esnext and simplified jsconfig.json.

Full change log:
codeberg.org/kitten/app/src/br…

Enjoy!

:kitten:šŸ’•

¹ kitten.small-web.org

#Kitten #KittenReleases #SmallWeb #SmallTech #web #dev


🄳 New Kitten release

Several but fixes, thanks to wunter8 (codeberg.org/wunter8):

• Default socket doesn't work when testing with a local mobile device (codeberg.org/kitten/app/issues…)
• Apostrophes in the text content of <if> tags can cause problems (codeberg.org/kitten/app/issues…)

Also, there’s now a canonical place to initialise state-maintaining child components when using the new (and still undocumented) class-based Kitten Component system. Until it’s all documented, please refer to this:

codeberg.org/kitten/app/issues…

Enjoy!

:kitten:šŸ’•

#Kitten #KittenReleases #SmallWeb #SmallTech


in 1996 the university of alberta let departments manage their own homepages

mwah. 🤌

#smallWeb #1990s #worldwideWeb #webpreservation

⇧