Moon – 3kb JavaScript UI compiler
The purely functional user interface library that
Moon – 3kb JavaScript UI compiler launched on July 28, 2018 with 71 votes, #599 of 2,673 launches that month and more than 90% of that year's launches. The site was still online in September 2026, 8 years on.
In plain words
Moon is a 3kb JavaScript library for building user interfaces with pure functions instead of traditional reactive frameworks. It treats applications as functions that interact with the outside world through drivers, eliminating the need for concepts like local state or imperative code. Designed for developers seeking a functional programming approach to web development, Moon emphasizes simplicity and performance while reducing the abstractions and dependencies typically required in modern web applications.
written from the facts on this page · September 2026
From the sources
Applications today are complex, built on top of frameworks that create abstractions fundamentally based on mutability and imperative code. They introduce concepts like reactivity or local state or algebraic effects, all in attempt to represent views as a function of state. In reality, applications are much more sophisticated and require third-party libraries for any effects other than updating a view. Moon is a novel approach to web applications based on pure functions. An application is a function that uses drivers , programs that provide an interface to the real world. These functions take input from drivers and return output to drivers. Drivers can be responsible for things like views,…from kbrsh.github.io
Does a similar job
all alternatives →
Moon – fast 7k Vue alternative2017 · github.com · ▲268🌙 The minimal & fast library for functional user interfaces - kbrsh/moon
- MAMoon – a tiny 6kb Javascript library inspired by Vue.js2017 · moonjs.ga · ▲31
Moon – a tiny UI library inspired by Vue2017 · github.com · ▲11🌙 The minimal & fast library for functional user interfaces - kbrsh/moon

1 KB JavaScript library for building front end apps2017 · github.com · ▲2421kB-ish JavaScript framework for building hypertext applications - hyperapp/hyperapp

More life & fun this month
the category →
A free city-building game in your browser. You are the mayor. You know what the city needs. Now get it past the zoning board, the neighbors, the appeals court and the next election.
Life & fun · 1d ago · permit.petercai.com
- IV
Life & fun · 13d ago · tanzaniaeducationproject.org

Turn a phone, tablet or TV into a sign. Type a message and it fills the screen: welcome signs, timers, Wi-Fi passwords and more. No app, no account, free.
Life & fun · 14d ago · bigwords.page

Play a free virtual guitar online with your keyboard or by touch. Slow songs down and see every chord, string and strum. Acoustic, classic, electric and bass.
Life & fun · 8d ago · guitoro.com

Carrier settings from iPhone, Pixel and Galaxy firmware, decoded and compared: APNs, VoLTE, 5G and Wi-Fi Calling per carrier, and what each build changed.
Life & fun · 12d ago · carrierexplode.com

Life & fun · 22d ago · space.bl2.net
Source: Show HN post ↗
Launched alongside, July 2018
the whole month →
A fully interactive, realtime and modern browser rendered to TTY
Life & fun · 2018 · brow.sh



Record terminal sessions as SVG animations. Contribute to nbedos/termtosvg development by creating an account on GitHub.
Dev tools · 2018 · github.com

