Script-Driven Architecture
ElenixOS adopts a script-driven application model, with UI and interaction logic defined by JavaScript, and rendering and scheduling handled by native code.
An embedded wearable system based on LVGL and JerryScript, designed for resource-constrained hardware to deliver smooth smartwatch experiences.
Live preview (JS simulation)
Simple button demo
// Get the current active view
const view = eos.view.active();
// Create a button
const button = new lv.button(view);
button.setSize(180, 64);
button.align(lv.ALIGN_CENTER, 0, 20);
// Add a label
const label = new lv.label(button);
label.setText('Click Me');
label.center();
// Bind the click event
button.addEventCb((e) => {
eos.console.log('Button clicked!');
label.setText('Clicked!');
}, lv.EVENT_CLICKED, null);
Project Highlights
ElenixOS adopts a script-driven application model, with UI and interaction logic defined by JavaScript, and rendering and scheduling handled by native code.
The graphics stack is powered by LVGL, and watchfaces and applications run uniformly on the JerryScript engine, ensuring consistent runtime behavior.
Clear abstraction layers and unified API make ElenixOS easier to migrate and reuse across different MCUs and hardware platforms.
Drawing inspiration from Apple Watch's interaction philosophy, ElenixOS emphasizes gesture flows, animation continuity, and information hierarchy for embedded interfaces.