Frontend
Lumiana — building personal apps with browser and Node.js APIs together
zohayr slileh DEV Community
1 views
I've been working on Lumiana because I wanted to write a personal app's UI and logic together, without building a separate API just to connect them.
It works with Vite. You connect to the Node server with credentials first, then use Node imports alongside your UI code. JavaScript stays in the browser where possible, while operations that need the operating system run on the server.
After connecting, a small example looks like this:
import { hostname, platform } from 'node:os';
document.body.textContent = `Connected to ${hostname()} on ${platform()}`;
The goal is to use existing Node libraries as they are, without changing them or writing compatibility code for each package.
I've had examples running with Express, Hono, Elysia, Sharp, node-pty, and sqlite3, but it's still early. Most libraries I've tried don't work normally yet, so there's a lot left to do.
GitHub project and setup instructions
Read original: https://dev.to/zohayr_slileh_6e6ee4a17c8/lumiana-building-personal-apps-with-browser-and-nodejs-apis-together-16eb
← Previous
What Should a Board Ask Before Approving an AI Coding Tool Rollout?
Next →
How to import Word documents into Confluence Cloud, and where the built-in import stops
Related
D
"Diagrams in Confluence: draw.io, Mermaid, PlantUML or an attached SVG"
Frontend
0
Dev.to (EN Zone)
P
Posting from a shed with one bar of signal: an offline write queue in plain JS
Frontend
0
Dev.to (EN Zone)
W
What's actually inside an image's DPI tag (and why changing it is lossless)
Frontend
0
Dev.to (EN Zone)
H
HypeBESTIE: My Free Sincere Compliment Engine
Frontend
0
DEV Community
Comments0
No comments yet — be the first