mastouille.fr est l'un des nombreux serveurs Mastodon indépendants que vous pouvez utiliser pour participer au fédiverse.
Mastouille est une instance Mastodon durable, ouverte, et hébergée en France.

Administré par :

Statistiques du serveur :

660
comptes actifs

#smalltech

1 message1 participant0 message aujourd’hui

🥳 New Kitten Release

• Added support for symlinks

You can now use symlinks in your sites/apps (but only those that point inside your site/app’s directory for security reasons).

Change log: codeberg.org/kitten/app/src/br
Documentation: kitten.small-web.org/reference

To update Kitten:

• On your dev machine, run: kitten update
• On deployed machines, it will automatically update in a few hours.

Enjoy!

:kitten:💕

codeberg.orgMaking sure you're not a bot!

Just requested that Auto Encrypt¹ is added to the list of @letsencrypt clients for Node.js and that Kitten² is added to the list of projects that integrate Let’s Encrypt support:

github.com/letsencrypt/website
github.com/letsencrypt/website

I originally requested that Auto Encrypt and Site.js (the precursor to Kitten, now sunset) be added to the list in 2021. It was not approved (no reason given), so hopefully this time will be different.

github.com/letsencrypt/website

¹ codeberg.org/small-tech/auto-e
² kitten.small-web.org

Automatically provisions and renews Let’s Encrypt TLS certificates on Node.js https servers (including Kitten, Polka, Express.js, etc.)
Implements the subset of RFC 8555 – Automatic Certificate Man...
GitHubAdd Auto Encrypt to clients.json by aral · Pull Request #1921 · letsencrypt/websitePar aral

🔒 Auto Encrypt – heads up!

In the next minor version release of Auto Encrypt¹, we’ll be moving from a hard-coded date-based certificate renewal check to using ACME Renewal Information (ARI)².

The change³ should be seamless.

If you have any concerns, now is the time to raise them :)

#AutoEncrypt #TLS #LetsEncrypt #SmallTech #SmallWeb

¹ Drop-in Node.js https server replacement that automatically provisions and renews Let’s Encrypt certificates for you. (codeberg.org/small-tech/auto-e)
² datatracker.ietf.org/doc/draft
³ codeberg.org/small-tech/auto-e

Carte résumé du dépôt small-tech/auto-encrypt
Codeberg.orgauto-encryptAutomatically-provisioned TLS certificates for Node.js servers using Let’s Encrypt.

👋🤓 Goodbye Site.js, Hello Kitten!

I started working on creating a Small Web¹ server (a peer-to-peer Web server) six years ago² with Site.js.

Building Site.js was my first attempt. And it resulted in:

• Auto Encrypt (automatic Let’s Encrypt certificates): codeberg.org/small-tech/auto-e

• Auto Encrypt Localhost (automatic localhost TLS certificates): codeberg.org/small-tech/auto-e

• @small-tech/https (drop-in Node.js https module replacement with automatic TLS certs everywhere): codeberg.org/small-tech/https

• JSDB: In-process, in-memory JavaScript database that persists to append-only JavaScript logs: codeberg.org/small-tech/jsdb

As Site.js reached an evolutionary dead-end, and as I learned from my experiements with replicated data types that replicated data types are *not* a prerequisite for a decentralised web (actual topological decentralisation and ease of use are), I started writing a new server/platform called Kitten from scratch while still making use of the tried and tested modules listed above.

Last week, I switched over our last site using Site.js to Kitten and, with that, today I’ve sunset³ Site.js:

sitejs.org

For its successor, please see Kitten:

kitten.small-web.org

If you want to support our work at the Small Technology Foundation, please consider becoming a patron:

small-tech.org/fund-us

:kitten:💕

¹ ar.al/2024/06/24/small-web-com
² ar.al/2019/08/26/introducing-s
³ Using our instance of Look Over There!: look-over-there.small-web.org

So a few hours ago, I quietly switched the Small Technology Foundation web site over from the Hugo-based static site running on Site.js to the new dynamic version I built using Kitten*:

small-tech.org

What I initially thought would be a weekend project turned into three months :) (During which, Kitten improved a huge amount thanks to issues that surfaced while porting the site and implementing a custom CMS for it.)

I’ve tried not to break any links and my focus was on porting existing content first. If you notice any glaring issues please ping me. In the coming days I’ll be updating stuff (with my lovely new admin panel) and writing more about the porting process.

Also, with this, our last site using Site.js has been ported to Kitten so I’ll be archiving Site.js this week.

:kitten:💕

* kitten.small-web.org

small-tech.orgSmall Technology Foundation: HomeWe’re a tiny and independent two-person not-for-profit based in Ireland. We’re working on building the Small Web.

Just noticed an issue with Look Over There!¹ where some of the sites I was forwarding to archive.org began to fail.

I’ve now documented the proper way to redirect to archive.org in Look Over There! and I also wrote a brief post on the relevant Reddit to alert the folks at The Internet Archive about this and suggest an improvement that could benefit findability on sites with redirects in general:

reddit.com/r/theinternetarchiv

¹ e.g., See our instance for Small Technology Foundation at look-over-there.small-web.org

CC @textfiles @brewsterkahle

www.reddit.comReddit - Le cœur d’Internet

So in 2019 we were debating the motion “Entrepreneurs today do more harm than good” against the provost and one of the professors at Singapore Management University and we managed to flip an initial audience vote of 28% for / 72% against to 52% for / 48% against, thereby winning the debate.

The video of the event was locked in Facebook so, as part of my work on the new version of the Small Technology Foundation website, I just liberated it.

You can watch it at:
vimeo.com/1086336391

Ayllu v0.4 has been released!

#Ayllu is a code forge designed for performance, simplicity and hackability. The #AGPL-licensed project by Kevin Schoon can be considered a #SmallTech / #SmallWeb initiative.

You can find the Ayllu code, hosted on Ayllu at: ayllu-forge.org/ayllu/ayllu

Read all about new features in the release notes. Also, are you good at #UX and designing UI's with plain #HTML and #CSS?

Then how would you design the UI for #git blame, asks Kevin.

kevinschoon.com/blog/announcin

A répondu dans un fil de discussion

@Daojoan it's going to take a lot more than "radical transparency." Tech companies are totally disconnected from the values and concerns of regular folks and treats them as things to be exploited. It's going to take #radicalhumility. I don't think tech companies, especially the larger ones, have a clue or care to get one. We need #smalltech

Suite du fil

…And there are more interesting tid-bits in there too:

• See how I’m pushing Kitten’s Streaming HTML to its logical conclusion and streaming JavaScript from the server to the client to keep all logic on the server while implementing a client-side feature (copy to clipboard): codeberg.org/small-web/look-ov

• Following on from that, note how the Toast component that’s triggered when something is copied looks (under the hood, Streaming HTML is htmx + WebSockets + some Kitten-specific magic and glues it all together and adds syntactic sugar): codeberg.org/small-web/look-ov

• Finally, check out how layout components and slots work: codeberg.org/small-web/look-ov

I think that’s all the intersting stuff I can spot at the moment.

Have fun!

:kitten:💕

codeberg.orgMaking sure you're not a bot!

You can really get a feel for what authoring a simple web app is like in Kitten (with the latest techniques/features), by checking out the source code for Look Over There!, the multi-site forwarding app with TLS forwarding support that I built recently:

codeberg.org/small-web/look-ov

There’s an instance of it I’m hosting for us at look-over-there.small-web.org to forward our archived sites – e.g., web0.small-web.org – to archive.org so we don’t break links on the web.

If you want to run it locally, install Kitten (kitten.small-web.org) and then type: kitten run codeberg.org/small-web/look-ov (you can also clone the git repo manually and just run kitten from the working directory).

Interesting places to look:

• The index page (shows use of a Markdown page that imports and uses Kitten components) codeberg.org/small-web/look-ov

• The admin page (notice the lock emoji at the end of the name? That’s all you need to add to a route to make use of Kitten’s automatic authentication. Since every Kitten site/app is protected by public-key encryption and we don’t have the concept of users (each site/app on the Small Web is owned by one person), the whole process can be automated for you. codeberg.org/small-web/look-ov

• The Redirection component. This is what does all the hard work on the admin page. Along with the admin page, they showcase Kitten’s new/alternative (and as-of-yet mostly undocumented) class-based component model with event bubbling on the component hierarchy on the server. (Since this is resource intensive, it’s recommended you use it only when implementing authenticated routes where you’re sure only the site’s owner will be accessing the route.) codeberg.org/small-web/look-ov

In any case, as Kitten and the rest of the Small Web ecosystem matures further, I’ll be documenting all this better and there will be even more examples and tutorials but, in case you’re one of those inquisitive types and you want to see what web development can be like if you’re *not* building centralised people farming machinery for Big Tech, have a play with Kitten.

:kitten:💕

TL;DR: I’m excited about recent developments with the Small Web project. It’s all coming together 💕

***

The way I approach what I’m building with the Small Web is quite intuitive. I’ve been making things with computers since I was seven years old so it’s not work or a profession for me – it’s just something I’ve always done. And with what I’m building now – which is likely what I’ll be working on for the rest of my life – I’m giving myself the room to let the project breathe. If some foundational piece I need is not quite there yet, I’m OK spending a few years working on a different part of the project. It’s not easy to do financially to keep something like this going for six years now but I don’t know any other way to let it be what it can be.

And it is starting to pay off.

Just read an exciting announcement lower in the stack that means lots of extra work for me but will drastically improve the ease of getting started and the decentralisation properties of the Small Web. And another development that has taken a few years to come about independently (although this time prodded by yours truly) will mean Small Web places require zero admin.

Also, because of these developments – and with Laura’s help in brainstorming this morning – I believe we finally have the names of the three components just right.

Look forward to hearing lots of details about all this in the coming days and months.

Since the changes I need to make are tied to the timeline of a third party, this means the Kitten hosting service and the peer-to-peer personal social web app written in Kitten (both of which now have their final names, which I’ll announce properly later) will launch in 2026.

Just a quick update to let you know where we are with the Small Web project.

PS. If you want to support our work, please consider becoming a patron: small-tech.org/fund-us/

Fund Small Technology FoundationFund Small Technology FoundationWe’re a tiny team of two funded by individuals like you. Your patronage goes towards keeping a roof over our heads as we build a better future for the Internet.

New Kitten Release 🥳

To OCSP¹ or not to OCSP…

• Turns on OCSP support in the server only if the site’s certificate has the OCSP stapling extension.

This is to support both servers that still have OCSP stapling in their certs as well as new ones that don’t. (Let’s Encrypt sunset OCSP support yesterday and there is a transitionary period where Kitten servers will have both types of certificates. This update is to ensure we support both without issues.)

kitten.small-web.org

Also updated, if you’re interested in playing lower in the stack:

• @small-tech/https: codeberg.org/small-tech/https
• @small-tech/auto-encrypt: codeberg.org/small-tech/auto-e

Enjoy!
:kitten:💕

¹ Online Certificate Status Protocol (en.wikipedia.org/wiki/Online_C). Yes, I hate abbreviations too :)

kitten.small-web.orgKitten: Home
Suite du fil

#DigitalSovereignty doesn't mean tech for sovereign nations, it means tech for sovereign people.

Tech in the hands of a European billionaire class is hardly any better than what we have now.

Free it up, give people control, open source it, decentralise it, remove choke points and gatekeepers, encrypt all the things, remove the #SurveillanceAds industry from the equation, enable #SelfHosting and #SmallTech. And then let's talk #GoEuropean.

New Kitten Release 🥳

• Implements cascading archives support

kitten.small-web.org/reference

Cascading archives¹ is useful if you have a static archive of the old version of your site and you don’t want to host it somewhere else and use the 404→307 (evergreen web) technique (kitten.small-web.org/reference) (the latter is useful if the old version of your site is a dynamic site and you cannot take a static archive of it).

If a URL cannot be found on your app, Kitten will trying it in the archive folders:

__archive__1
__archive__2
__archive__3

(In that order.)

So you can three older static versions of your site served without breaking older URLs unless they are shadowed by newer URLs in your site/app.

Enjoy!

:kitten:💕

¹ This is a feature that I originally implemented in Site.js (that’s going to be shut down tomorrow when Let’s Encrypt stops issuing certificates with OCSP-stapling – I don’t have the bandwidth to maintain two servers/frameworks; Kitten is Site.js’s successor). I’m planning on implementing this differently in Kitten going forward (so you can use the Settings interface to upload a zipped archive and it will serve it) but I need this for my own site for tomorrow’s shutdown so we have this simpler implementation in the meanwhile. Leaving things to the last minute? Who? Me? Never! ;)

I just whipped up a simple icon search for Kitten Icons (based on Phosphor Icons). It’s not complete yet – I have a few other things to do before I can get back to it today – but you can play with it here:

kitten.small-web.org/reference

And see the code for it here:

codeberg.org/kitten/site/src/b

I popped the event handler into the Markdown page itself. Not the cleanest but works in a pinch:

codeberg.org/kitten/site/raw/b