Grilled Cheese

ExploreLog inSign up

Mastro.{js,ts}

@mastrojs.bsky.social

382 Following495 Followers

No dependencies, #nobuild step. Just a simple web framework and site generator for people who care about their users and web standards. Implemented in ~800 lines of TypeScript.

🧑‍🍳 mastrojs.github.io

Account run by @mb21.bsky.social

PostsRepliesMedia
@mastrojs.bsky.socialDec 4, 2026, 11:21 AM

haha, I see you’re really optimizing the this for speed, not number or changes.

@mastrojs.bsky.socialDec 4, 2026, 9:23 AM

what? I thought the European Sleeper continues to Milano?

@mastrojs.bsky.socialDec 4, 2026, 7:40 AM

Nice! I wanted something even faster than sharp/pango:

mastrojs.github.ioHow to generate og:images from text with Canvas | Mastro BlogUse the web-standard Canvas API to render text to PNG – without spinning up a whole web browser.
@mastrojs.bsky.socialDec 4, 2026, 7:29 AM

I like this take.

Qppk 🇪🇺@quirksmode.orgDec 3, 2026, 1:54 PM

AI as a wysiwyg The vibe-coded web is like the early web, and vibe coders are like wysiwyg users. We've been here before. We solved this once, we can do it again. quirksmode.org/quirksblog/2...

quirksmode.orgAI as a wysiwygThe vibe-coded web is like the early web, and vibe coders are like wysiwyg users. We've been here before. We solved this once, we can do it again.
@mastrojs.bsky.socialDec 3, 2026, 6:19 PM

I don’t know. Wrapping a Go binary in the monstrosity that’s Next.js is somehow the last thing I’d want to do.

@mastrojs.bsky.socialDec 3, 2026, 3:05 PM

math sort of started clicking for me when I got into functional programming ;-)

@mastrojs.bsky.socialDec 3, 2026, 3:04 PM

If you want to find out: arstechnica.com/tag/post-qua...

arstechnica.comTag: post quantum cryptography
@mastrojs.bsky.socialDec 3, 2026, 2:58 PM

having followed your work since the A List Apart days, you had a good run at Google though 🏃‍♀️(pun intended) thanks for everything you've done for the web 🙏

@mastrojs.bsky.socialDec 3, 2026, 12:36 PM

Yeah, the tag will be in the DOM, but so what? :-) Some people then use custom elements on the client. But I've always been partial to the server for performance reasons.

A third syntax is markdown divs: pandoc.org/MANUAL.html#...

@mastrojs.bsky.socialDec 3, 2026, 12:16 PM

type Handler = (req: Request, ctx: Context) => Response type Middleware = (req: Request, ctx: MiddlewareContext) => Response Isn’t that beautiful?

MMastro.{js,ts}@mastrojs.bsky.socialNov 25, 2026, 6:34 PM

Mastro v0.9 is out 🚀 We dropped Deno, and added (hopefully) the last major feature before 1.0: fetch-based middleware. In Mastro, everything is just a standard Request/Response handler!

mastrojs.github.ioMastro v0.9: goodbye Deno, hello fetch-based middleware
@mastrojs.bsky.socialDec 3, 2026, 11:39 AM

Why not inline HTML though? <block-hero minheight="90vh">

@mastrojs.bsky.socialDec 3, 2026, 11:34 AM

yes, we need more CSS talks at JS confs! 🤗

@mastrojs.bsky.socialDec 3, 2026, 7:52 AM

I thought spelling mistakes (and incorrect punctuation?) were indicators that it’s not AI-generated? But this extract definitely sounds like AI. At surface level, it sounds sensible. But you read it three times carefully, and you still don’t understand what it’s saying.

@mastrojs.bsky.socialDec 3, 2026, 7:47 AM

me: 🙈🙉

@mastrojs.bsky.socialDec 3, 2026, 7:43 AM

That’s why it’s so hard to write docs or a landing page for something you built yourself! (yes, I’ve been tweaking mastrojs.github.io again)

mastrojs.github.ioMastro: No dependencies. No build step. Just a simple web framework and static site generator.A minimal tool for people who care about their users and web standards.
@mastrojs.bsky.socialDec 3, 2026, 7:38 AM

be sure to visit again in the summer. I promise Zurich is a nice city then!

@mastrojs.bsky.socialDec 2, 2026, 8:39 PM

it’s just the curly braces that make it C-shaped 😔

@mastrojs.bsky.socialDec 2, 2026, 8:37 PM

nit-pick: you don’t need an SPA. view transitions also work for MPAs!

@nileshprajapati.comDec 2, 2026, 6:32 PMReposted by @mastrojs.bsky.social

Modern #CSS is continuing to surprise me with how far we have come and how much the language continues to evolve, putting a smile and excitement on my face.

"The @property trick that makes sibling-index() more useful"
by @kevinpowell.co

Thank Kevin ❤️.

youtu.beThe @property trick that makes sibling-index() more usefulYouTube video by Kevin Powell
@mastrojs.bsky.socialDec 2, 2026, 6:39 PM

Yeah, we all saw it a long time coming, but it still sucks. If I may ask, what made you create Oak that doesn’t translate to Node.js? Couldn’t Oak live on there?

Older posts
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-12-03 22:42:33 EST