🚧 Glyx is pre-release software. APIs may change before v1.0. Get started →
Examples
Overview

Examples

Reference applications that demonstrate Glyx in production-like scenarios. Each example is a complete, runnable project.

Tasks

A persistent SQLite to-do manager with routing, a design system, and light/dark theming. Runs JS-only — no Rust toolchain.

Demonstrates: db, routing, @glyx-dev/design, theming

glyx runtime build   # one-time
cd examples/tasks
glyx dev

View source →


Dashboard

A real-time analytics dashboard ("Nexus Analytics"): streaming charts (@glyx-dev/charts), KPI stat cards, widget customization, and CSV export via dialog / fs. Runs JS-only.

Demonstrates: @glyx-dev/charts, @glyx-dev/design, dialog, fs, theming, realtime state

glyx runtime build   # one-time
cd examples/dashboard
glyx dev

View source →


Files

A filesystem explorer and Markdown notes editor using fs + dialog, a resizable split pane, and live Markdown preview. Runs native (cargo run).

Demonstrates: fs, dialog, @glyx-dev/split-pane, @glyx-dev/markdown

cd examples/files
glyx dev

View source →


3D Viewer

An interactive 3D scene with @glyx-dev/three — switch geometry, adjust lights, auto-rotate. Runs native and enables the canvas3d build feature.

Demonstrates: Canvas3D, @glyx-dev/three, lighting

cd examples/model-viewer
glyx dev

View source →


Log Viewer

A real-time log file viewer. Tails a file and renders new lines as they arrive, without performance issues on large files. Runs JS-only.

Demonstrates: fs.watch, ScrollView, large data rendering, Canvas for the timeline view

glyx runtime build   # one-time
cd examples/log-viewer
glyx dev

View source →


Media Player

A desktop media player with audio playback, a video stage, playlists, and favorites. Runs JS-only.

Demonstrates: audio, video, dialog, db, @glyx-dev/design, percent-width style bars

glyx runtime build   # one-time
cd examples/media-player
glyx dev

View source →


Calculator

A frameless, Catppuccin-themed calculator with standard and scientific modes, an expression bar, and a history panel. Runs native (cargo run).

Demonstrates: native build, glyxDraggable title bar, grid layout, theming, dialog

cd examples/calculator
glyx dev

View source →