no
@11ty/eleventy-plugin-vite@5.0.0-alpha.4
A plugin to use Vite as a development server and run Vite to postprocess your Eleventy build.
Update after one billable month: the 11ty Screenshots service cost $1.95 on AWS 🏆
1.16M screenshots served 👀
86.2% cache hits
@zachleat/noop@1.0.4
A minimal module to test importing in other tools.
independent of my well-being, rest assured that I am doing my best to ensure that your email never finds me
@zachleat/npm-packagelock-testing@1.0.0
Saved the analytics data out of the @11ty/eleventy-fetch cache on my build server, so *pffft* 😛
Update: looks like my traffic spiked a bit and FaunaDB disabled my account and deleted my data from this project 😅
Glad I didn’t share this approach—I guess extortion is one way to upsell from the free tier :eyeroll:
@zachleat/heading-anchors@1.0.1
Adds and positions sibling anchor links for heading elements (h1,h2,h3,h4,h5,h6) when they have an `id` attribute.
in iceland architecture you must only write in lavascript
lots of product managers using waterfall planning in iceland architecture
lots of Object.freeze immutability in iceland architecture
iceland architecture
New web component dropped: `<heading-anchors>`
Code: https://github.com/zachleat/heading-anchors
Blog: https://www.zachleat.com/web/heading-anchors/
Inspired by @DavidDarnes’s component of the same name and an excellent blog post by @ambrwlsn, this component adds and positions sibling anchor links for heading elements (h1–h6) when they have an `id` attribute.
@zachleat/heading-anchors@1.0.0
Adds anchor links to heading elements h1,h2,h3,h4,h5,h6 when they have an `id` attribute.
zachleat/heading-anchors
Adds and positions sibling anchor links for heading elements (h1–h6) when they have an `id` attribute.
Right to Repair: historically Nebraska Farmers versus John Deere and Big Tech (starring Apple and others)—and now a new challenger has appeared: the Military-industrial Complex.
Read more from @jasonkoebler on @404mediaco: https://www.404media.co/appliance-and-tractor-companies-lobby-against-giving-the-military-the-right-to-repair/
Is it an okay practice to rely on `content: "#" / ""` for hiding garbage content from screen readers? Browser support looks relatively new so I am guessing it’s a no 😭
https://developer.mozilla.org/en-US/docs/Web/CSS/content#browser_compatibility
Fascinating talk from @feross on @cfedev today: The Dark Side of Open Source
https://www.youtube.com/watch?v=hlLnFJSX0YY
Especially enjoyed the Q&A portion, really great stuff. One thing I keep coming back to is that when the lead maintainer changes, it should have some formal release process around it—maybe even to the point of it being a semver breaking change that requires a major release for updates (though I understand that’s a bit extreme too)
Found a pretty hefty blog post about concurrency benchmarks using the Nginx web server.
https://blog.nginx.org/blog/testing-the-performance-of-nginx-and-nginx-plus-web-servers
Looks like the slowest metric (1 CPU, HTTPS) handled 428 connections per second.
For those managing servers: what kind of concurrent request count spikes do y’all prepare for?
Looks like the Locust load testing tool’s “first test” starts with 100 concurrent users: https://docs.locust.io/en/stable/quickstart.html
Looks like there has been a fair bit of discussion about the architecture of Mastodon previews and “DDoS-ing” web sites:
1️⃣ https://flipboard.social/@coffeegeek/113030436873628885
2️⃣ https://news.itsfoss.com/mastodon-link-problem/
3️⃣ https://kevquirk.com/blog/mastodon-is-ddosing-me
4️⃣ https://michaelnordmeyer.com/on-mastodon-ddosing-sites
While clearly there is room for improvement there, it’s worth noting that Jamstack architecture and static sites sidestep this issue nicely (by making it someone else’s problem 😅).
ivermectin static regeneration
cc @DavidDarnes and @ambrwlsn who might be interested in this! https://github.com/11ty/eleventy-base-blog/blob/dc5ab2ef6372de744be5484ada4958a4342073ea/public/js/heading-anchors.js
#1 superfan of the CSS Anchor Positioning API: https://developer.chrome.com/blog/anchor-positioning-api
Used it to implement more accessible heading anchor links on `eleventy-base-blog` using sibling elements without a wrapper element 🏆
You can see it in action here: https://eleventy-base-blog-git-v9-11ty.vercel.app/blog/thirdpost/ (Chrome and Edge support this, falls back to a nested link in other browsers)
I’m going to be speaking at Web Unleashed in Toronto (October 2024)! See you there?
https://fitc.ca/presentation/the-best-and-worst-parts-of-eleventy-now-in-v3/
Bigger phones are better
Bigger vehicles are better
Even larger language models
Even more JavaScript
Bigger data centers slurping more energy
More servers
More serverless
More
More
More
Excess
We need more
Correction to this post after playing with uBlock Origin Lite for a bit—it does *not* require per-site opt-in, defaults to a Basic limited permissions filtering mode:

Here’s a little bit better view of the Kerið volcanic crater lake: https://en.wikipedia.org/wiki/Keri%C3%B0

Greetings from inside the crater of a dormant volcano in Iceland 🇮🇸

The Sneaky Costs of Scaling Serverless
The Sneaky Costs of Scaling Serverless–Zachleat.com
Thankful for this wonderfully comprehensive blog post on Accessible Heading links from @ambrwlsn today https://amberwilson.co.uk/blog/are-your-anchor-links-accessible/
Unfortunately Google seems to be fully locked into an austerity phase now.
Looking back on this post a little differently now: https://support.ublock.org/hc/en-us/articles/11749958544275-Google-s-Manifest-V3-What-it-is-and-what-it-means-for-uBlock-Users
Look’s like the ol’ Extension Manifest v3 rollout is finally coming to a head (as it were):
https://github.com/uBlockOrigin/uBlock-issues/issues/3309
Looks like the path forward forces uBlock Origin users on Chrome to swap to a new extension that requires opt-in to content filtering on a per-site basis: https://github.com/uBlockOrigin/uBOL-home
@baldur gonna be in your neck of the woods next week! If you have any off-the-beaten path recommendations I would love to hear them!
today’s search query: am I midwest princess
A web site that is only readable via screen reader.
Found some stats:
28.8% cache hits on Vercel 😬
81.2% cache hits on CloudFront
a more cynical take on “Lottery factor” might recognize the turnstile of unpaid and underpaid open source maintainers and think that incentivizing adding *more* people to churn through the turnstile is actually not a good thing
When thinking about the “Lottery factor” of an open source project you must take into account the difference between paid and unpaid labor.
I’d argue that 1 paid dev is worth more than 2 unpaid devs. To further complicate things the other side of the coin is that 10 paid devs burning VC runway is worth… you know what—actually I should probably just stop there.
❌ div soup
✅ div slop
📮 New blog post:
The Sneaky Costs of Scaling Serverless
https://www.zachleat.com/web/serverless-cost/
Chronicling the *wonderful time* I had migrating the beefy 11ty Screenshots API to a new hosting provider.
can you believe that there are people out there making huge life decisions without first making a spreadsheet? wild
Whoa, this is big news: nunjucks4 is a fully-async rewrite/revival of Nunjucks: https://mastodon.social/@jameswragg/112914191470870251
via @jameswragg
I made a little chart comparing how a few different hosts charge for serverless execution time (normalized to hours of usage) and the vCPU default can cost you a lot of unnecessary money if you’re not paying attention!

Looks like the default changed in April of this year: https://vercel.com/changelog/faster-defaults-for-vercel-function-cpu-and-memory
TIL about Vercel’s Pro Tier:
1 vCPU (default) = 1.72 GB memory
The UX of the GB-Hrs metric for usage pricing feels a bit like a dark pattern to me (given that default).
For example, the 1000 GB-Hrs of included execution time is 581 hours (using 1 vCPU). Overages advertised at $0.18/GB-Hr are $0.31/hour (using 1 vCPU).
Gonna change my stuff there to use 0.6 vCPU (since they’re services, not SSR): https://vercel.com/docs/functions/configuring-functions/memory#setting-your-default-function-memory-/-cpu-size
inspired by this @glitchdotcom project: https://mastodon.social/@glitchdotcom/112910252389116863

what’s the name for road rage, but on social media
it’s been 3 days since @philhawksworth announced he was on the market and let’s be honest: the most productive thing you could be doing right now is sliding into his DMs with a job offer
my son (age 7) just referred to pants as long-sleeve shorts and I am so proud right now
Worth noting that Netlify’s On-demand Builders provide global persistence across all edge nodes: https://www.netlify.com/blog/2021/10/25/faster-more-reliable-page-loads-with-update-to-on-demand-builders/
Alternatively, CloudFront has 13 Regional Edge Caches that (in my tests with a VPN) seem to be segmented too: https://aws.amazon.com/cloudfront/features/?whats-new-cloudfront.sort-by=item.additionalFields.postDateTime&whats-new-cloudfront.sort-order=desc
CloudFront also offers an Origin Shield product that appears to provide a similar feature but I have not enabled it: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cache-hit-ratio.html#cache-hit-ratio-use-origin-shield
A few things here: Vercel’s Edge Network cache is segmented into 18 regions. Further, the cache eviction policy is “best-effort” and assets may be evicted before they’re stale: https://vercel.com/docs/edge-network/caching#limits
I suspect I was getting very few cache hits—not ideal at all for a screenshots service (or any resource intensive serverless function?). I wanted those images to request once and cache for as long as possible.
Preliminary comparisons with Netlify, Vercel, and AWS Lambda+Cloudfront suggest that Vercel is *drastically* overcounting serverless invocation amounts. I suppose it’s possible that I misconfigured something but Netlify was like 4h/day, Vercel was 42h/day and this new AWS setup is looking like it’s going to weigh in at 2h/day?
Alarm bells are going off over here.
look—did I yolo this to production in the same day that I learned how to do it? yes, yes I did
vercel rewrite -> cloudfront -> api gateway -> aws lambda function is running the 11ty screenshots API now 👀

Today I learned how to deploy my own serverless function with a heavy caching layer using AWS Lambda (with a Layer for large dependency reuse), API Gateway, and CloudFront.
I am an enterprise developer now.
quote posts/toots are like toilet water—they’re great for flushing quick thoughts but terrible when the splashback hits you
in the immortal words of steffi graf: have you heard of our sustainability fundraising initiative https://www.11ty.dev/blog/sustainability-fundraising/
first marriage proposal because of @eleventy so you could say things are getting *pretty* serious: https://indieweb.social/@bobmonsour/112893676626086346
in order to use that file from your bucket in your lambda as a layer it needs to be in the same aws region, sure.
the one thing we know for sure is that servers are not allowed to communicate outside of their municipality
in order to upload a file to amazon you need to create an s3 bucket, sure.
the one thing we know for sure is that uploads over 10MB will tax the amazon upload process beyond scalable comprehension
current status: learning how to deploy a serverless function directly to aws lambda to save money 😅
@11ty/eleventy-upgrade-help@3.0.1
Helper plugin when upgrading your Eleventy project to a new major version.
@11ty/eleventy-img@5.0.0-beta.10
Low level utility to perform build-time image transformations.
“no one wants to be a third wheel” is a anti-tricycle propaganda
@11ty/eleventy@3.0.0-beta.1
A simpler static site generator.
@11ty/create@1.0.5
A little command line utility to create files in a cross-platform way.
@11ty/create@1.0.5-beta.1
A little command line utility to create files in a cross-platform way.
@11ty/create@1.0.4
A little command line utility to create files in a cross-platform way.
@11ty/create@1.0.4-beta.1
A little command line utility to create files in a cross-platform way.
@11ty/create@1.0.3
A little command line utility to create files in a cross-platform way.
@jenn Eleventy 3.0 is imminent and is Node 18! I’m curious how much this will cause y’all issues at Glitch—y’all are still on Node 16 max, right?. I’ve done a little work to see if we could at least support 16+ on core and it seems like it wouldn’t be too big of a deal: https://github.com/11ty/eleventy/pull/3378
I’m just curious as to your take on it—should I bother with this or no?
@11ty/eleventy@3.0.0-alpha.18
A simpler static site generator.
@rem did you already lock down that web components talk for ffconf? I might be interested but don’t want to step on any toes if someone is already in the pipeline
@11ty/eleventy-dev-server@2.0.2
A minimal, modern, generic, hot-reloading local web server to help web developers.
my dog would *never*
I always lock my computer when I get up from my desk because of the greatest operational security threat facing my workspace: cats walking or sitting on the keyboard
@11ty/eleventy-img@5.0.0-beta.9
Low level utility to perform build-time image transformations.
Just an update here: I can verify that it’s safe to restore Node 22.x to your test suites on GitHub Actions
Making careful note of the incentives of a hosting company investing in AI as they also simultaneously charge for bandwidth and traffic: https://front-end.social/@stefan/112863640599785389
If we can agree that browser fingerprinting is bad, we should be able to agree that third-party cookies are also bad.
There is consensus amongst browser-makers that fingerprinting is a bad thing, right?
…right?
Improved error messaging for require(ESM) in Node.js
make it work
make it right the same
make it fast slower
Refactoring working JavaScript code to satisfy limitations in TypeScript.
Everything is fine.
I am being productive.
This is productivity.
@janl is CouchDB gonna weigh in on the JD Vance thing? 🫣
OH “dung beetles are professional turd burglars”
@11ty/eleventy-img@5.0.0-beta.8
Low level utility to perform build-time image transformations.
I’m not sure how typescript got crowdstrike’d into my list of things to do today
TypeScript TIL: `compilerOptions.noResolve: true` will also make all of your explicitly listed `compilerOptions.types` disappear.
So even with `"types": ["node"]` you’ll still get errors that complain about clearly installed types.
> Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.
Everything is fine.
Some good points about venture capital backed open source from @Colman here: https://mastodon.ie/@Colman/112840985325704306
I’d also add that small scale closed source and venture capital backed open source aren’t the only two options.
📮 A new blog post about how I used the Conditional Exports feature in Node.js to improve the error messaging when someone tries to require("@11ty/eleventy") in Eleventy 3.0 (written in ESM)
@11ty/eleventy-plugin-pug@1.0.0-alpha.1
The `pug` template language plugin for Eleventy v3 and newer.
@11ty/eleventy-upgrade-help@3.0.0
Helper plugin when upgrading your Eleventy project to a new major version.
Listening to Jesse Welles. https://tidal.com/browse/artist/15803343 Payola, Cancer, The Olympics, War Isn’t Murder, and Whistle Boeing are all great tracks.
thing becomes popular because it’s free to use ♻️ popular thing goes away because it’s now too expensive to run
everybody has a plan until they {get punched in the mouth, scale beyond the host’s free tier}