WORKING ON A WILD @eleventy IDEA TODAY
IT IS WILD
started with 110 errors in the refactor, down to 66 now…
Also posted to Bluesky.
76 replies
Rewriting in Rust?
WASMever do you mean
WASI right?
@zachleat git branch next-js-integration
@nathanbottomley rm -rf .git
-
-
teasey like sunday morning ♩♪♫♬
omg first class web midi api support???????
wait .midi as a template engine hear me out
This is the content I live for 🍿
aha yes, gotta catch all the errors
do... are all of the numbers of errors that you get multiples of 11, like, all of the time?
haha, …no?
…wait
the best smiles
airhorn.wav on compile, right
this should be a plugin, probably
👉👃
same, tbh
can’t spell nose without no
👀
Just between us, I did it.
@zachleat is this what I think it is
@danleatherman it’s a rorschach test
@zachleat love it
@zachleat FINALLY! I can client side render my blog like all the cool kids!
@zachleat Cool vs. Insane. Why choose?
@zachleat what in the sweet goddamn
@zachleat "use client" coming to 11ty.
@ardouglass this is karen behavior andrew!!
@drumsensei it’s only a mistake if you use it wrong… wait
@zachleat Finally, 11ty SPAs!
@timsev these are fighting words
-
@eQRoeil well now you have to reveal your plans
@zachleat I need to build a website with a lot of pages (thousands). I do not want to rebuild the entire site each time an update is needed on 1 page (regularly 1 or few pages will need an update). So the plans were to **start** with 11ty, keep a limited compatibility for site wide changes and dev a solution that allow to make edits from a dedicated app that can produce the same output.
11ty running in the browser will remove or simplify some of the challenges.
@zachleat slowly put down the keyboard...
@erikKroes ahahahahahahahaha web performance zach is dead
long live SPA zach
@zachleat oh my oh my
@derhaug (this is a joke of course, not doing the SPA thing here)
@erikKroes @zachleat So many ideas already ..
@zachleat ☠️
@matuzo ⚰️
-
@zachleat ironically, I’m excited about the serverless possibilities this potentially unlocks on non-node runtimes (if I’m understanding the screenshot correctly!) any chance this capability extend through to webc as well?
@d3v1an7 what runtimes specifically? I’m aiming for all core plugins to be supported yeah
Alright, so the previous demo was a generic Eleventy project in the browser — by itself a big milestone.
Here’s another big milestone: loading code directly from the `eleventy-base-blog` GitHub repo and using Eleventy to `innerHTML` the generated result directly to the browser. The Eleventy build takes about ~200ms in-browser and uses the RSS, Syntax Highlighter, Image, and Navigation plugins.
Still a few rough edges but we’re making progress.
@zachleat sorcery (good)
@zachleat •extremely doctor ian malcolm voice•
your scientists were so preoccupied—
(for the record, the use cases here are limited — and should be limited — please JavaScript responsibly)
@ardouglass @zachleat I’m waiting for PHP to be added as a supported templating language.
@zachleat I’ve been tinkering with something similar (running a SSG in the browser), what’s your goal here?
@mb21 I probably won’t reveal the ultimate goal (yet!)
@zachleat so freaking awesome
I did it but you have to find me on Mastodon for details ok byeeee