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 #KittenReleases #SmallWeb #SmallTech #introspectionAPI #web #dev
app/CHANGELOG.md at main
app - A web development kit thatās small, purrs, and loves you.Codeberg.org
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.
š„³ 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!
š
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ā¦
Kevin Boone: The āsmall webā is bigger than you might think
The small web is growing, and getting more active. Good news.kevinboone.me
š„³ 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 #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 #KittenReleases #SmallWeb #developerExperience #bugFix
joshhatesgithub
Codeberg is a non-profit community-led organization that aims to help free and open source projects prosper by giving them a safe and friendly home.Codeberg.org
š„³ 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.small-web.org
² codeberg.org/kitten/busboy
³ github.com/lukeed/polka
#Kitten #SmallWeb #KittenReleases #busboy #polka #express #bodyParsing #middleware #NodeJS #web #dev
app/CHANGELOG.md at main
app - A web development kit thatās small, purrs, and loves you.Codeberg.org
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.small-web.org
² kitten.small-web.org/tutorialsā¦
³ kitten.small-web.org/tutorialsā¦
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!ā
š„³ 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 #KittenReleases #SmallWeb #SmallTech #web #dev
app/CHANGELOG.md at main
app - A web development kit thatās small, purrs, and loves you.Codeberg.org
š„³ 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 #KittenReleases #SmallWeb #SmallTech
Default socket doesn't work when testing with a local mobile device
I have been working on a web app written using Kitten, and I'd like to test the app from my phone. When I connect to the IP address of my desktop (where the Kitten server is running), I can see the first page just fine and the TLS cert is valid foā¦Codeberg.org
in 1996 the university of alberta let departments manage their own homepages
mwah. š¤
