Michael Aufreiter

@michaelaufreiter.com

On a mission to make the internet editable. Building https://editable.website and https://svedit.dev.

Ugh. Several hours into scratching my head why deployments broke to find out the cause was a @sveltejs/adapter-node regression. github.com/sveltejs/kit... Anyways, good moment to remind myself how many hours Svelte has saved me over the years. 😊 Relieved I found the issue.

fix: avoid circular dependency by teemingc · Pull Request #16115 · sveltejs/kit

closes #16092 This PR tries to keep the benefits of #16069 while ensuring the Node adapter handler code and the user's server build output are in separate chunks. Doing so avoids the circular d...

github.com

Be among the first to build and deploy an editable.website with @svelte.dev. Technical Preview members will be notified a few weeks ahead of public launch, and I will be available via email to help with issues and answer questions. Grab your your slot.

Michael Aufreiter@michaelaufreiter.com · 5mo ago

Almost 3 years since editable.website won 2nd place at @sveltesociety.dev SvelteHack. Since then, I’ve been busy turning this from a prototype into something solid. A way to build CMS-free, in-place editable websites using only Svelte. This is v2. 🥳

The last remaining big puzzle piece. In the next version of Svedit, you'll be able to toggle annotations on node_arrays, not just text. In Editable, this enables you to group blocks together to sections, without introducing additional hierarchy, or hacky spacer blocks.

Whops. I released but never announced Svedit 0.11.0. It introduces explicit text types, non-destructive type switching of compatible types, and adds infrastructure that helps with implementing things like code blocks (auto-indent, ENTER is considered a newline etc.)

Bild

Call me old fashioned, but I'll never buy that complexity doesn't matter anymore, because "the machines" are now taking care of it. If machines can't help us simplify, but merely encourage us to brute force our way through complexity, I can't see this being sustainable?

Svedit (github.com/michael/sved...) by @michaelaufreiter.com and Plim (github.com/darylcecile/...) by @daryl.wtf are some really cool examples of the art of block-based tree editors for rich text and other content where you can control the render path. Worth a look if you're hacking around.

GitHub - michael/svedit: A tiny library for building editable websites in Svelte

A tiny library for building editable websites in Svelte - michael/svedit

github.com

Common mistake in software development: To see patterns where there's nuance. That said: Generalization and composition via patterns is great, but only if the patterns are actual patterns. :) Be wary of "almost-patterns."

I want everything on every page of my website to be served by me - not a 3rd party. That YouTube video? I can turn it into an animated thumbnail, and add a “Watch on YouTube ↗” link that opens in a new tab. Self-contained & cookiebannerless. 🤟