finds.dev← search

// the find

bigskysoftware/_hyperscript

★ 3,704 · JavaScript · NOASSERTION · updated Jun 2026

a small scripting language for the web

hyperscript is a HyperTalk-inspired scripting language that lives in HTML attributes, letting you write event handling and DOM manipulation as readable English-like phrases. It's from the htmx author and targets the same audience: developers who want interactive UIs without a JS framework. If you're already using htmx, this is the obvious companion for the client-side behavior htmx doesn't cover.

The syntax reads genuinely well for DOM-centric tasks — `on click toggle .active then wait 2s then remove me` is clearer than the equivalent addEventListener soup. It ships with first-class async support baked into the grammar, so `wait`, `settle`, and sequential event chains work without Promise juggling. The tooling footprint is surprisingly complete: LSP, VS Code extension, JetBrains plugin, tree-sitter grammar, and a browser devtools panel — serious for a 3.7k-star project. Test coverage is thorough and organized by feature, which matters for a language runtime.

Debugging non-trivial logic in HTML attributes gets painful fast — stack traces point into the hyperscript runtime, not your code, and the mental model breaks down once you need to share state across components. The language is inherently scoped to server-rendered, document-centric apps; trying to use it alongside a component framework or in a SPA context is fighting the grain. Error messages when syntax is wrong are vague and parsing failures are silent in some cases. It's also a bet on a niche: if htmx adoption plateaus, hyperscript's ecosystem stalls with it — there's no standalone community here.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →