
Exciting newsāafter 13 years on Twitter, this account is now verified (verified_final) (verified_final_FINAL)! š
Co-creator of Astro
WebAssembly Wizard
JS Minimalist
ultrahtml@1.0.0
is here!
š„³ Parse XML-like documents (HTML + Components)
ā©ļø Simple content transformations
š JSX Runtime
š Built-in querySelector
implementation
š§½ Sanitizer API
Did we really need another HTML parser? Probably not! But ultrahtml
has some interesting features that I havenāt seen elsewhereā¦
It simplifies AST transformations and queries with an extensible transform
interface and a built-in querySelector
implementation.
It can handle HTML, but itās loose enough to handle other HTML-like formats such as .astro
, .vue
, or .svelte
. On principle, it doesnāt throw on syntax it doesnāt recognize.
It treats <Components />
as valid nodes.
Itās pretty tiny! The main entrypoint comes in under 2KB, which is a reasonable size for client-side usage.
It comes with an implementation of the Sanitizer
API.
It features with a custom jsx-runtime
if you want to build a fancy static site generator or have other wild ideas.
Iāve been working on ultrahtml
for a while, and Iām really pleased with how v1.0.0
has come together.
Itās tiny, itās fast, and itās a great way to transform/sanitize/query any markup.
Exciting newsāafter 13 years on Twitter, this account is now verified (verified_final) (verified_final_FINAL)! š
I canāt wait for everyone to see the new visuals weāve been working on for @astrodotbuild. Itās already looking so good. š
Rough times for those of us who muted the word āElonāā¦ There is no escape when everyone is subtweeting Elno, El*n, Elmo, Elad, etc š
This is my first automated post to Twitter, powered by Raycast and GitHub Actions!
Soā¦ how does it work? I created a custom Raycast extension (not released yet) that generates and commits posts directly to GitHub. I also wired together a GitHub Action that strips any Markdown content from the post, generates a link to feed.nmoo.dev
and posts a new status to Twitter.
Overengineered? Maybeā¦ but itās been very fun to build. Plus now Iāll have a backup of all my tweets and unlimited room to add context with longer-form content like this!
Also, Elon Musk is a giant baby. And I can say that because he doesnāt own this website, I do.
Some major updates to this project! š
Posts are now sorted by date, filenames are automatically generated, and best of allā¦ I can author posts directly from Raycast using a custom extension. Theyāre commited directly to GitHub and are live in a matter of seconds.
Feels like a pretty sweet workflow.
Okay, Iām actually really enjoying tweaking the UI on this feed.
Feels like this idea might have some legs if it was a bit more social. āRSS optimized for microblogsā is very appealing. š
I couldnāt possibly take on another project, but it would be so cool if someone turned this idea into a platform.
Twitter, but just for devs. Login with GitHub. Share code snippets. Embed live demos. And the rest of the Twitter-y things.
Of course, I already went domain huntingāthe perfect one is just sitting there, but Iām not dropping that kind of money unless I actually build the thing first. Thatās what we call progress. š«
One of the fun things about owning your own feed is that you can design it however you want. Which means you can add all the cool stuff Twitter never bothered with.
// Hey look, code!
console.log("here's some code");
Hereās a note.
Watch out!
Twitterās going up in flames. Mastodon seems lame. Blogging is a lot of pressure.
I figured it would be fun to share extra-small and small thoughts on my own personal feed, so hereās this.
Follow along at feed.nmoo.dev!