aral, to SmallWeb
@aral@mastodon.ar.al avatar

Kitten bugfix release:

Please upgrade to the latest release that fixes a regression introduced into sessions object with the latest JSDB¹/JSDF² upgrade:

https://codeberg.org/kitten/app/issues/177

Persisting arbitrary objects to sessions is a supported workflow and this regression broke that.

e.g., See the Kitten Count Sessions example: https://codeberg.org/kitten/app/src/branch/main/examples/kitten-count-sessions/index.page.js

:kitten:💕

¹ https://codeberg.org/small-tech/jsdb#javascript-database-jsdb
² https://codeberg.org/small-tech/jsdb#javascript-data-format-jsdf

cbecker, to random
@cbecker@hci.social avatar

So Apple destroys pianos with a hydraulic press, Microsoft invents TotalSurveillance™️ and Google tells us to put glue in our pizza and eat at least one rock a day.

Maybe it’s time for an update to

https://techotherwise.pubpub.org/defund-big-tech

aral,
@aral@mastodon.ar.al avatar

@cbecker Would be nice. I’ll let you know if we ever get a euro cent of public money for the public work we do.

aral, to SmallWeb
@aral@mastodon.ar.al avatar

New Video – Kitten features introduced this week:

• Interactive Shell (REPL)
• Multi-page Settings
• Backup and restore (data portability)

With examples that cover components and Kitten’s built-in JavaScript database (JSDB).

https://ar.al/2024/05/23/new-kitten-features-interactive-shell-repl-multi-page-settings-and-backup-and-restore-data-portability/

:kitten:💕

#Kitten #SmallWeb #SmallTech #web #dev #JavaScript #HTML #database #JSDB #components #settings #dataPortability #REPL

aral, to SmallWeb
@aral@mastodon.ar.al avatar

So! Many! Kittens!

(Going to record a demo of the new interactive shell – REPL to some – and multi-page Settings this afternoon, just planning it out now.)

Oh and is that me creating and calling web routes interactively in the REPL on a live server? Why yes, yes it is.

:kitten:💕

aral, to SmallWeb
@aral@mastodon.ar.al avatar

:kitten: Kitten’s interactive shell (REPL) now saves session history scoped to your app so it will still be there when you next serve the same app.

https://codeberg.org/kitten/app#kitten-s-interactive-shell

I think I’m done with the REPL feature now.

Going to take a little break, step away from the computer, and make a plan for the next week of work on Kitten and Domain¹.

¹ https://codeberg.org/domain/app

#Kitten #SmallWeb #REPL #shell #JavaScript #NodeJS #web #dev #SmallTech

aral, to SmallWeb
@aral@mastodon.ar.al avatar

Small update on Kitten’s new interactive shell (REPL). You can now access Kitten’s router via:

kitten.app.router

Also updated the section in the tutorial to fix typos in some of the code examples and use the new router key path:

https://codeberg.org/kitten/app#kitten-s-interactive-shell

:kitten:💕

#Kitten #SmallWeb #REPL #shell #NodeJS #web #dev #router

jpfox, to SmallWeb French
@jpfox@m.g3l.org avatar

L'envie d'un web plus simple

Depuis quelques années, une partie de la communauté internet se tourne vers des solutions plus simples et moins gourmandes en ressources, en réaction à ce que beaucoup considèrent comme l’« » progressive du web. Le protocole a émergé comme une réponse prometteuse à ce besoin, mais après l’enthousiasme initial, une certaine désillusion semble s’installer [...]

https://jpfox.fr/posts/envie-d-un-web-plus-simple/

aral, to SmallWeb
@aral@mastodon.ar.al avatar

Code drunk, debug sober. Bah! Just fixed three bugs after a pint of Tundra.

(This is in no way meant to be role model behaviour. There just happens to be a lovely pub by the seashore in Bray where you can sit outside and it’s a nice distraction in the evenings when the weather is good and I don’t feel I’ve done enough in the day* and need a change of scene.)

  • It doesn’t help that I never think I’ve done enough in the day. 🤷‍♂️

mms, to Blog
@mms@emacs.ch avatar

a small blog post from me:

「 In the same time library books have seen a lot. They were touched by a lot of greasy fingers, seen a lot of toilets. Just look at those two. Both are still fully usable, despite the tired look. 」

https://michal.sapka.me/blog/2024/libraries/

reillypascal, to SmallWeb
@reillypascal@hachyderm.io avatar

We usually call a blog on the Gemini protocol a "gemlog," but what if we followed the same pattern as "web log" → "blog" and called them "glogs"?

aral, to SmallWeb
@aral@mastodon.ar.al avatar

:kitten: 🎉

Kitten now has a lovely new multi-page Settings screen and… drumroll… a new 🐢 interactive shell (REPL) for you to play with the running state of your Small Web site/app/place and debug your app, inspect/manipulate its database, etc.

I plan on recording demos of each of them tomorrow but you can play with them now.

And here’s a little tutorial to get you started with the shell:

https://codeberg.org/kitten/app#kitten-s-interactive-shell

💕

Screenshot of Kitten running in terminal: 🌍 Domain https://localhost 📂 Source /var/home/aral/Projects/kitten/app/examples/file-uploads 💾 Databases /var/home/aral/.local/share/small-tech.org/kitten/databases 🐢 To launch an interactive shell, press the [s] key. Server is running and listening for connections… s 🐢 Launching interactive shell ctrl-d to exit; .help for assistance A good place to start is to run the .ls command to see the keys of the global kitten object: » 💡.ls is an alias for Object.keys(kitten) [ 'version', 'domain', 'port', 'app', 'databaseDirectory', 'projectIdentifier', 'deploy', 'WebSocket', 'html', 'libraries', 'page', 'events', 'css', 'js', 'markdown', 'md', 'safelyAddHtml', 'sanitise', 'uploadsDirectory', '_db', 'uploads', 'package', 'db' ] 🐱 💬 kitten.db.images[0] Proxy [ { path: '/uploads/1a6c2612-057d-435b-83c7-7157b4add982/', altText: 'Screenshot of Draw Together sketch that reads Free Gaza!' }, { get: [Function: bound getHandler], set: [Function: bound setHandler], defineProperty: [Function: bound definePropertyHandler], deleteProperty: [Function: bound deletePropertyHandler] } ] 🐱 💬

mms, to Blog
@mms@emacs.ch avatar

New blog post AND OMAKE!

「 I am proudly introducing the first Omake on this site: User Friendly Archive. This adds over 5000 subpages, so I am now a webmaster of a significant website. 」

https://michal.sapka.me/blog/2024/omake-uf-archive/

#blog #indieweb #smallweb #100daystooffload #nerd #comic #userfriendly #userfriendlydotorg

mms, to random
@mms@emacs.ch avatar

I’ve noticed that I follow a lot of folks with websites and I have not subscribed to them. My bad!

If you start seeing traffic from gwene.org, that’s me :-)

mms,
@mms@emacs.ch avatar
kubikpixel, to web
@kubikpixel@chaos.social avatar
aral, to SmallWeb
@aral@mastodon.ar.al avatar
colin, to SmallWeb
@colin@colincogle.name avatar

How do you make a modern website? Like this. No JavaScript, no databases, no frameworks. Just plain, simple, accessible, and fast HTML. You’d be surprised what you can get for $5/month.

From: @jpmens
https://mastodon.social/@jpmens/112444460638321766

#WebDesign #SmallWeb #StandardEBooks

anze3db, to random
@anze3db@fosstodon.org avatar

One thing that I'm missing with HTMX and Django is proper error handling.

By default HTMX swallows any response that is not a 2xx, which might leave your users hanging on an endless loading state.

Does anyone have a good solution for this that can be reused between projects?

video/mp4

aral,
@aral@mastodon.ar.al avatar

Also, not immediately relevant to your current issue but something that might be worth considering for the future: using the htmx websocket extension, you can basically implement a streaming HTML approach (example using Kitten: https://ar.al/2024/03/08/streaming-html/) where you can just stream errors to the page as they happen.

(2/2)

aral, to SmallWeb
@aral@mastodon.ar.al avatar

Sitting outside on a rare sunny day at a lovely pub in Bray, refactoring Kitten* to pull out the settings page sections into their own pages (and use Kitten’s new Streaming HTML workflow**) and enjoying a yummy pint of Tundra IPA.

No complaints :)

aral, to SmallWeb
@aral@mastodon.ar.al avatar

The Evergreen Web section in Kitten’s¹ settings now has its own page too (and uses Kitten’s new Streaming HTML² workflow).

If you have the previous version of your site up somewhere, you can use the 404-to-307 technique³ to forward missing pages to your old site so as not to break the Web.

I’ll add local static archive support later.

¹ https://codeberg.org/kitten/app
² https://ar.al/2024/03/08/streaming-html/
³ https://4042307.org

aral, (edited ) to Israel
@aral@mastodon.ar.al avatar

That feeling when you open the silly little collaborative drawing app you made and you find that some folks made this.

https://draw-together.small-web.org

PS. If you want to learn how the app was made, here’s a video tutorial using Kitten¹: https://ar.al/2024/03/26/draw-together/

¹ https://codeberg.org/kitten/app

#FreeGaza #BDS #protest #keffiyeh #Israel #Palestine #Gaza #settlerColonialism #apartheid #ethnicCleansing #genocide #SmallWeb #Kitten #DrawTogether

aral,
@aral@mastodon.ar.al avatar

It got defaced right after my post but I saw at least someone else trying to recreate it and so I helped out too :)

aral,
@aral@mastodon.ar.al avatar
inautilo, to business
@inautilo@mastodon.social avatar

“The simplicity of HTML and CSS now feels like a radical act. To build a website with just these tools is a small protest against platform capitalism: a way to assert sustainability, independence, longevity.” — Jarrett Fuller


reillypascal, to SmallWeb
@reillypascal@hachyderm.io avatar

I'm at an odd place with my personal website. Before Dec. 2023, it was a "professional portfolio" for my compositions. Now that I'm interested in the IndieWeb community, I want to make something more personal. I don't think I want to make two sites, but I do still need a portfolio for my composition work.

I just read @maggie's post on "digital gardens" and I really like that idea. (1/n)

https://maggieappleton.com/garden-history

reillypascal,
@reillypascal@hachyderm.io avatar

I definitely want to add more pages, and once I add dropdowns within the menus, that'll be easier to organize. My main thing is that I don't know how to strike a balance of "personal" and "portfolio" in the content I put on my site.

Does anyone else have experience/thoughts on this? (2/2)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • thenastyranch
  • magazineikmin
  • Durango
  • ngwrru68w68
  • rosin
  • Youngstown
  • osvaldo12
  • cubers
  • slotface
  • InstantRegret
  • tester
  • kavyap
  • DreamBathrooms
  • megavids
  • khanakhh
  • mdbf
  • modclub
  • everett
  • cisconetworking
  • GTA5RPClips
  • Leos
  • ethstaker
  • tacticalgear
  • normalnudes
  • anitta
  • provamag3
  • lostlight
  • All magazines