r/javascript • u/cprussin1 • Nov 03 '26
I built Domicile, a Linux desktop platform where native application windows are DOM elements
https://www.domicile-desktop.com/I've been working on Domicile, an open-source platform for building full-featured Linux desktop environments using HTML, CSS, and JavaScript/TypeScript.
It's powered by a modified Chromium engine where native Wayland application windows are DOM elements. You can position, style, transform, and animate actual Linux application windows using CSS.
Desktop environments are JavaScript/TypeScript modules that can use familiar frameworks, be distributed through npm or GitHub, and be hot-swapped without restarting the session.
It ships with Manganese, a Sway-inspired tiling desktop built using the platform.
Source: https://github.com/cprussin/domicile
I'd love to hear what JavaScript developers think!
4
u/JuniorWMG Nov 03 '26
Love how the Git readme already says "May God have mercy on our souls". May he indeed.
1
u/gianluca_caruso-6 17d ago
For hot-swapped JS shells, does a reload recreate module state, or is state migrated across the module boundary?
1
u/gsamantha_831 13d ago
CSS transforms make native windows expressive; how are pointer hit-testing and coordinates mapped back to Wayland?
1
u/p-reyes-6823 10d ago
CSS transforms on native windows are a neat primitive; can a shell crash without taking the session down?
1
u/dmart2782 6d ago
The JS shell ecosystem is compelling; what trust boundary applies to third-party modules that control the desktop?
-1
u/olegispe Nov 03 '26
Apart from the insane impracticality and inefficiency of this, this is unironically cool
Type of thing I'd use if I had 32GB of graphics memory... but then Sam Altman would need it for his data centres
1
u/[deleted] Nov 03 '26
[removed] — view removed comment