flamed, to web
@flamed@social.lol avatar

For those posting about the demise of ICQ recently, XMPP exists to give you that old school IM feeling...

I've been enjoying it heaps the past month.

Check it out: https://flamedfury.com/posts/instant-messaging-on-xmpp/

#web #blogging #SmallWeb

weirdwriter, to SmallWeb
mms, to SmallWeb
@mms@emacs.ch avatar
flamed, to SmallWeb
@flamed@social.lol avatar

Playing around with a new homepage layout.

This was always the intention going between my 2022-23 design but for reasons it never eventuated...

It feels good to have a graphical element right there in your face as the page loads again.

Anyway, it's here now, check it out https://flamedfury.com/

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

ttntm, to SmallWeb
@ttntm@fosstodon.org avatar

Wanted: personal websites (with curated collections of bookmarks/links to other websites) or link directories that are titled anything starting with the letters "W", "X" or "Z".

Why? To complete the alphabet, of course!
(in terms of the bukmark.club's directory index)

Boosts are much appreciated!

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:💕

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

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:💕

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/

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

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

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