A simpler (static) site generator.
Tickled to see so many folks adding this—y’all make building for the web fun! ❤️
node-retrieve-globals@5.0.0
Execute a string of JavaScript using Node.js and return the global variable values and functions.
@zachleat/snow-fall@1.0.2
A web component to add snow to your web site (or to an element on your web site).
A few folks have already added this to their web site! 🏆
1️⃣ @simoncox’s http://www.simoncox.com/
2️⃣ @bw’s https://bw.omg.lol/
3️⃣ @jhofker’s https://jordan.hofker.org/
4️⃣ https://ndyg.omg.lol/
Quick work!
@zachleat/snow-fall@1.0.1
A web component to add snow to your web site (or to an element on your web site).
@zachleat/snow-fall@1.0.0
A web component to add snow to your web site (or to an element on your web site).
zachleat/snow-fall
A web component to add snow to your web site (or to an element on your web site).
node-retrieve-globals@4.0.0
Execute a string of JavaScript using Node.js and return the global variable values and functions.
esm-import-transformer@3.0.2
Perform transformations on ESM import syntax (using import maps or to a dynamic import).
Looks like Vite writes a temporary file to the file system to work around this issue 👀 https://github.com/vitejs/vite/blob/77d5165e2f252bfecbb0eebccc6f04dc8be0c5ba/packages/vite/src/node/config.ts#L1172-L1184
The bare minimum you can do is to post a methodology document to show each individual question on the survey, how the survey was compiled, sources of data, etc. If we’re not doing that, it’s noise.
If a “survey” displays results from questions about developer perception of frameworks without filtering out folks that have never used the framework, it ain’t much use—is it?
Are we interested in Amazon reviews from people that have never bought the product? Or movie reviews from people that haven’t watched the movie?
It’s frustrating out here, y’all.
I see this experimental limbo for Node.js’ ESM `vm.Module` causing large scale problems elsewhere too, right?
Jest seems to be trying to stick to Node.js APIs (which is a good goal!) and people are migrating to Vitest for “stable” ESM support—but Vitest is using `esbuild` to sidestep the experimental status.
Filed a Node.js issue as a last resort 😭. If CommonJS supports `import()`, why doesn’t `vm` support `import()`?
https://github.com/nodejs/node/issues/51154
Or, I’d love a stable `vm.Module`! Or Node.js ShadowRealms! I shouldn’t have to use a bundler for this stuff.
esm-import-transformer@3.0.1
Perform transformations on ESM import syntax (using import maps or to a dynamic import).
Here’s how I think about it and I think this is the only way to survive as an indie open source project in a VC-funded world:
The #1 competitor to Eleventy will always be the previous version of Eleventy.
oh hi

organizations extremely concerned with the scalability of CSS need to put that same energy into the scalability of JS
📮 One YouTube Embed weighs almost 1.2 MB
how are those 3D televisions holding up
I have redesigned my web site one thousand times, one small component at a time
these amateur ornithologists can’t stop looking at tweets on the bird site

Fixed what I think may have been the gnarliest @eleventy bug yet: a mixture of multiple subtle things when using pagination, computed data, and (internally) data mutability in proxies on the data cascade.
I learned a few things and left everything cleaner than it used to be but I’m going to rest now 🧠😴
Let the ad blockers block ads.
is it *really* too much to ask for every single person to keep their content available online, in perpetuity, for all time and forevermore?? c’mon, y’all
making an open source project starts out like you’re having fun playing at the local neighborhood sandlot and suddenly the $7.1B new york yankees show up for a game
tesla could never make a cybervan and we all know why
look—no, you started drinking eggnog too early
my toxic trait is that I don’t trust people that hate minivans
I kinda wanted folks to answer about their desktop/laptop experience but didn’t specify, unfortunately!
`mailto:` links:
@zachleat/pagefind-search@1.0.3
A web component to search with Pagefind.
new web component goofin’
I am loving the View Transitions demos but (imo) it seems risky to build framework level integrations for the feature before there are two browser implementations in the wild.
I don’t know if any single image could be a better metaphor for modern web development:
Congrats to the @astro team on the v4 release!
Love the little development toolbar—it looks awesome 👀
what is a large language model if not three small language models in a trench coat
Previous in this series: https://www.zachleat.com/twitter/1584995586918731776/
Vercel’s Next.js v14 has shipped and (as one does) I had a look at the JavaScript footprint of the production build of Hello World:
v14 (2023): 299 kB
v13 (2022): 272 kB
v12 (2021): 228 kB
Unfortunately the same trend continues, even with a new bundler: the bundles are growing!
(and with Tailwind included by default, too)

Can I (should I?) use @1password to log in to a secondary 1Password account?
We’re discussing the future of the Jamstack:
https://thefutureofjamstack.org/
Join us!
(as seen in the announcement banner on jamstack.org! 👀)
scrolling on mastodon, increasingly flabbergasted by how much this one individual has shared—had to be almost 30 contiguous posts on my timeline!
…until I realized I was on their profile page
@chriscoyier trying to make Eleventy’s IndieWeb Avatar service work for Codepen and I figured it might just be easier to ask, the fetch to http://codepen.io/favicon.ico returns 503 Forbidden (looks like some Cloudflare security stuff)—is it possible to add an exemption on your end for the icon?
a few minutes after we put a christmas tree up

I hit 400 posts on the blog this week!
🗓️ 17 years (2007+)
🔭 3.5M Page views
🔩 WordPress to Jekyll to Eleventy
Blogging changed my life, big time.
company with high employee turnover, ship of theseus thought experiment
1. how it started
2. how it’s going

I’ve started following the hashtag #WebComponents on here so if y’all could tag your posts with it, that would be swell
(I know I haven’t—but I will do my best moving forward)
has @aerotwist fixed their web site after it was compromised?
🔗 Why We’re Dropping Basecamp
https://blogs.library.duke.edu/blog/2023/11/30/why-were-dropping-basecamp/
“We came to this decision after weighing the level of its use in our organization, which is considerable, against the harms that we see perpetuated by the leadership of Basecamp’s parent company, 37signals.”
The Tension and Future of Jamstack
where are all of the snow web components
not you, @cloudfour—I’m already meticulously watching all of your excellent work
@zachleat/browser-window@1.0.14
Used in demos as a way to fake a Safari-esque web browser window.
🎥 New video:
Live Editing on an @11ty.dev Web Site in @cloudcannon.bsky.social
www.youtube.com/watch?v=AsWt...
My favorite part of this demo is showing live updates on the <browser-window> web component 👀 (~1 minute in)
@zachleat/pagefind-search@1.0.2
A web component to search with Pagefind.
@zachleat/pagefind-search@1.0.1
A web component to search with Pagefind.
@zachleat/pagefind-search@1.0.0
A web component to search with Pagefind.
zachleat/pagefind-search
A web component to search with Pagefind.
As a thought experiment, how would the JavaScript ecosystem replicate this redirect to a random post feature?
https://chriscoyier.net/2023/11/29/a-random-route-on-a-wordpress-site/
And just for fun, let’s brainstorm things that *aren’t* single-host features like Netlify redirects.
Looks like @morganm@subdued.social showed what you’re supposed to do in this situation and filed an issue:
https://github.com/bigskysoftware/htmx/issues/2055
Thank you!
And I guess I can’t wear this shirt any more https://www.zachleat.com/twitter/1096922195044036609
@zachleat/w3c-banner@1.0.1
A W3C Specification banner web component.
Look ma, I made a web component
https://zachleat.github.io/w3c-banners/
Web components are fun and I’m having fun.
(Originally from 2014:
https://www.zachleat.com/web/w3c-status-banners/)
@zachleat/w3c-banner@1.0.0
A W3C Specification banner web component.
I didn’t have time to record a short video, so I recorded a long one.
https://htmx.org/ needs a doctype 😬
I’ve started to notice that there is a very particular brand of tech influencer that almost exclusively conflates the technical merit of a thing with its money-making ability.
But the most efficient technical solution may not be the solution that makes the most money.
e.g. Fast builds are lost revenue for companies that charge for build time (aka the Jamstack paradox)
…and now I can’t unsee it.
@11ty/eleventy-plugin-bundle@1.0.5
Little bundles of code, little bundles of joy.
Just to clear a few things up for people:
1. My kids are not babies, so I didn’t take any candy from a baby! This was not an easy task—in fact I am very cool for doing this because they are old enough to both count and write so they could be keeping inventory logs of the candy.
2. Candy is unhealthy, actually! Their dentist didn’t sanction the heist but I definitely got a vibe that this needed to happen
3. I wanted a snack
We pulled off a heist that stole 47 pieces of old halloween candy from my kids.
Here's how we did it 🧵
cc @sachagreif
Is it possible to get @eleventy removed from the State of JavaScript survey?
I’d rather not participate.
Apparently the “forgot my homework” dreams have evolved into “speaking at an international conference but forgot to travel to the conference” dreams 😭
infinity-burger@4.0.1
A new kind of hamburger menu.
being in tech sometimes feels like suffering through “what if 911 emergency phone services but as an iOS app” pitches from folks lauded as visionaries
refilled the kittens‘ water bowl in what can only be characterized as a strategically placed thirst trap
Since folks are asking:
The only way to administer the test and view results is via the smartphone app. The app requires Bluetooth permissions and asks for location, first/last name, date of birth, email, gender, and address. Test results are automatically reported back to the local/state/federal government.
I’ve attached screenshot receipts.

the free covid tests from the US government *require* a smartphone app, internet connection, and bluetooth access for use 🫠🦠😷

@zachleat/browser-window@1.0.13
Used in demos as a way to fake a Safari-esque web browser window.
An attempted taxonomy of web components
Was Jamstack a zero interest rate phenomenon?
📮 New post: The Tension and Future of Jamstack
So many Google business model things happening right now—are they related?
Retiring Third-party Cookies:
https://developer.chrome.com/docs/privacy-sandbox/third-party-cookie-phase-out/
Manifest v3 Limits Content Filtering:
https://developer.chrome.com/blog/resuming-the-transition-to-mv3/
https://support.ublock.org/hc/en-us/articles/11749958544275-Google-s-Manifest-V3-What-it-is-and-what-it-means-for-uBlock-Users-
YouTube Ad-Blocker Crackdown:
https://www.forbes.com/sites/kateoflahertyuk/2023/11/03/the-youtube-ad-blocker-crackdown-is-ramping-up/
oh my god how tall can images render on this web site
minty fresh selectors

when folks say “I’m more productive because I don’t have to think about naming things,” they’re talking about HTML and CSS—not JavaScript and TypeScript
I wonder why that is (I don’t wonder why that is)
✉️ New post:
An Attempted Taxonomy of Web Components
https://www.zachleat.com/web/a-taxonomy-of-web-component-types/
no, *you’re* updating 8 year old code to be web components on saturday afternoon
The Infinity Hamburger Menu, now in (Shadow DOM 😤) Web Component Form
infinity-burger@4.0.0
A new kind of hamburger menu.
Need mental clarity on a thing? Write a blog post about it 😅😓💦
I guess GitHub requires JavaScript now? 🤔 I spy an empty <react-app> 😬

@zachleat/squirminal@2.0.7
Squirminal incrementally reveals text inside any arbitrary DOM element structure.
I’d consider this naming party to be solved moving forward as more and more folks use the term HTML Web Components 🏆
https://fediverse.zachleat.com/@zachleat/111211208759538433
From @adactio.com: https://adactio.com/journal/20618
With credit to @jimniels too: https://mastodon.social/@jimniels/111211792061381617
@zachleat/filter-container@4.0.0
Filtering visible child elements based on form field values.
@zachleat/announcement-banner@1.0.8
A reusable announcement bar banner component.
@zachleat/announcement-banner@1.0.7
A reusable announcement bar banner component.
@zachleat/announcement-banner@1.0.6
A reusable announcement bar banner component.