mountaineer
hyperscript
mountaineer | hyperscript | |
---|---|---|
4 | 24 | |
781 | 2,589 | |
- | 0.0% | |
9.7 | 0.0 | |
3 days ago | almost 3 years ago | |
Python | HTML | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mountaineer
-
Ludic: New framework for Python with seamless Htmx support
I imagine a lot of this comes down to personal preference. In the early days of Mountaineer (gee, almost two months ago at this point), I played around with the idea of embedding html into python instead of needing a JS layer. Eventually my consensus was:
- The most extensive typehinted approaches typically end up wrapping JS/React components anyway (like Reflex/Pinecone)
- We really need better IDE support for html strings that are within python strings. The editing problem is a big setback.
The ergonomics of Python + JS in separate code files won out and the user experience has been better than forcing them both into a common language would be.
This has the benefit of leveraging whatever the two languages are best at, in native code, so you have access to all the native APIs without having to learn a shim on top of it. Way more longevity to that approach too. Context switching between two languages isn't that bad if you minimize the glue layer that you have to write between them.
[^1]: https://github.com/piercefreeman/mountaineer
-
This Week In Python
mountaineer – batteries-included web framework for Python and React
-
Show HN: Mountaineer – Webapps in Python and React
https://github.com/piercefreeman/mountaineer/tree/1d44cdf1c6...
(In an old commit and stripped out from the current codebase until it has better test coverage and the main codebase is stable)
hyperscript
-
Ludic: New framework for Python with seamless Htmx support
* https://github.com/hyperhype/hyperscript
There is also a working integration with Django that enables the use of neat-html as a template backend, however it isn't up on GitHub yet.
I find the space of HTML generation libraries which can leverage the power of Python, really interesting.
-
Intro to Hyperscript: Rethinking JavaScript
Does anyone else get this confused with https://github.com/hyperhype/hyperscript ?
-
DOM to JSON and back
This works like Reactʼs createElement function. Or a library such as hyperscript. Sure, weʼd prefer JSX for its much reduced cognitive load. But our alternative here is the DOM methods such as createElement. Unless we want to load up a bulky library such as React, that is.
-
Experimenting with html in object form. How cursed is this?
Consider looking at hyperscript, which is a plain-javascript library for constructing html nodes (NOT a transpiler). Similar to what you have here, but way nicer
-
What is the state of the art for creating domain-specific languages (DSLs) with Rust?
In fairness, there's a lot of overlap between embedded DSLs and libraries — a library like Hyperscript for generating HTML in JavaScript is in many ways a DSL, but it's also just a bunch of functions that are easy to put together in a particular way. But this is often good enough!
-
Ask HN: What happened to vanilla HTML/CSS/JS development?
Hyperscript (https://github.com/hyperhype/hyperscript) is actually quite nice when you get used to it, and I actually prefer it over JSX. Pair it with something like microh[0], and it gets even better.
[0] https://github.com/fuzetsu/microh
-
_hyperscript – a small scripting language for the web
The naming of this project clashes horribly with https://github.com/hyperhype/hyperscript. It's not like it's in a different ecosystem or something. It is a web project that is guaranteed to cause confusion.
-
My thoughts on Mithril.js
With Mithril.js, you generate HTML using a hyperscript dialect like this:
-
Show HN: A simple Wordle clone in 60 lines, using Hyperscript
I'm confused. Hyperscript is supposed to be an alternative way to writing JSX.
Hyperscript.org doesn't seem to be related to this at all?
https://github.com/hyperhype/hyperscript
-
Hyperscript - the hidden language of React
The reason is dead simple. It's exported as h because it's a hypescript function. So what exactly is hypescript?
What are some alternatives?
anansi-tags - Apply markdown to Python strings to get ANSI
Alpine.js - A rugged, minimal framework for composing JavaScript behavior in your markup.
gomponents - View components in pure Go, that render to HTML 5.
Alpine
Vue.js - This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
reagent - A minimalistic ClojureScript interface to React.js
window.fetch polyfill - A window.fetch JavaScript polyfill.
htmx - </> htmx - high power tools for HTML
_hyperscript - a small scripting language for the web
es-module-shims - Shims for new ES modules features on top of the basic modules support in browsers
Svelte - Cybernetically enhanced web apps
Water.css - A drop-in collection of CSS styles to make simple websites just a little nicer