{"slug": "demos-written-in-typescript-and-run-natively-on-different-microcontroller-boards", "title": "Demos written in TypeScript and run natively on different microcontroller boards", "summary": "GeaStack published a demos repository in which each showcase app is written once in TypeScript and runs natively on two microcontroller boards, the ESP32-S31 Mosaico at 480x480 and the ESP32-S3 AMOLED 2.06\" at 410x502, with each demo laying itself out for its screen. The repository holds 14 demos under apps/ — including bloom, neon, ripple, reel, terra, intro, lantern, aviator, orbit, wander, nimbus, sonora, ember and axel — each with a gea manifest in its package.json, while the original STM32F746G-Discovery 480x272 layout is retained without an STM32 deployment target. Mosaico builds with ESP-IDF 6.2-dev (ESP-IDF's master branch) and the AMOLED 2.06 uses ESP-IDF 6.0.2; the 3D demos use @geastack/gea3d from npm under GPL-3.0-only, and the repository is GPL-3.0-only, copyright 2026 Geastack contributors.", "body_md": "Showcase demos written once in TypeScript and run natively on very different microcontroller boards, each laying itself out for the screen it is on. Current deployment targets:\n\n- **ESP32-S31 Mosaico** — 480x480\n- **ESP32-S3 AMOLED 2.06\"** — 410x502\n\nThe original **STM32F746G-Discovery** layout (480x272) is retained, but this\nrepository does not provide an STM32 deployment target.\n\nEvery demo is its own package under `apps/` with a `gea` manifest in its\n`package.json`, like [geastack/examples](https://github.com/geastack/examples).\n`shared/` holds fonts, styles and shared native modules. The 3D demos use\n[`@geastack/gea3d`](https://github.com/geastack/gea3d), installed from npm\nand licensed GPL-3.0-only.\n\n| Demo | What it is | \n|---|---|\n| [bloom](https://github.com/geastack/demos/blob/main/apps/bloom) | Reaction-diffusion | \n| [neon](https://github.com/geastack/demos/blob/main/apps/neon) | Synthwave 3D runner | \n| [ripple](https://github.com/geastack/demos/blob/main/apps/ripple) | Multi-touch fluid | \n| [reel](https://github.com/geastack/demos/blob/main/apps/reel) | Demoscene reel | \n| [terra](https://github.com/geastack/demos/blob/main/apps/terra) | Voxel terrain flyover | \n| [intro](https://github.com/geastack/demos/blob/main/apps/intro) | Animated GeaStack logo opener | \n| [lantern](https://github.com/geastack/demos/blob/main/apps/lantern) | Paper-boat river journey on gea3d | \n| [aviator](https://github.com/geastack/demos/blob/main/apps/aviator) | The Aviator, on gea3d | \n| [orbit](https://github.com/geastack/demos/blob/main/apps/orbit) | 3D showcase on gea3d | \n| [wander](https://github.com/geastack/demos/blob/main/apps/wander) | Travel inspiration with generated artwork | \n| [nimbus](https://github.com/geastack/demos/blob/main/apps/nimbus) | Weather station over an illustrated town | \n| [sonora](https://github.com/geastack/demos/blob/main/apps/sonora) | Smart speaker / music player | \n| [ember](https://github.com/geastack/demos/blob/main/apps/ember) | Smart oven with guided cooking | \n| [axel](https://github.com/geastack/demos/blob/main/apps/axel) | Camera-aware voice companion for Mosaico, with a dot matrix face | \n\nThe demos started life in the STM32F746G-Discovery gallery.\n\nFramebuffer grabs from the board (480x272), taken in the original gallery.\n\n| Demo | Screens | \n|---|---|\n| [bloom](https://github.com/geastack/demos/blob/main/apps/bloom) |  | \n| [neon](https://github.com/geastack/demos/blob/main/apps/neon) |   | \n| [ripple](https://github.com/geastack/demos/blob/main/apps/ripple) |   | \n| [reel](https://github.com/geastack/demos/blob/main/apps/reel) |   | \n| [terra](https://github.com/geastack/demos/blob/main/apps/terra) |   | \n| [intro](https://github.com/geastack/demos/blob/main/apps/intro) |    | \n| [lantern](https://github.com/geastack/demos/blob/main/apps/lantern) |   | \n| [aviator](https://github.com/geastack/demos/blob/main/apps/aviator) |   | \n| [orbit](https://github.com/geastack/demos/blob/main/apps/orbit) |  | \n| [wander](https://github.com/geastack/demos/blob/main/apps/wander) |   | \n| [nimbus](https://github.com/geastack/demos/blob/main/apps/nimbus) |   | \n| [sonora](https://github.com/geastack/demos/blob/main/apps/sonora) |   | \n| [ember](https://github.com/geastack/demos/blob/main/apps/ember) |   | \n\nInstall the released dependencies from the repository root:\n\n```\nnpm ci\nnpx gea setup\nnpx gea boards list\nnpx gea run --board mosaico --app lantern\nnpx gea screenshot --board mosaico\n```\n\n`gea setup` installs the toolchains and registers the board. Mosaico builds\nwith ESP-IDF 6.2-dev (ESP-IDF's `master` branch), which has ESP32-S31 support;\npick the Mosaico and keep the suggested alias `mosaico`. The\nAMOLED 2.06 uses ESP-IDF 6.0.2 and the alias `amoled`. Each app's README includes toolchain installation,\nboard registration, build, flash, monitor and capture steps. Follow that\nREADME before the first deployment; Axel also needs network and API credentials.\n\n- [docs/PORTING.md](https://github.com/geastack/demos/blob/main/docs/PORTING.md) : boards, responsive rules, build/flash flow.\n- [docs/APP-GUIDE.md](https://github.com/geastack/demos/blob/main/docs/APP-GUIDE.md) : engine rules, fast TypeScript, design bar.\n\nCopyright 2026 Geastack contributors. GPL-3.0-only; see [LICENSE](https://github.com/geastack/demos/blob/main/LICENSE).\nThird-party dependencies, fonts and assets retain their respective licenses\nand attribution notices.", "url": "https://wpnews.pro/news/demos-written-in-typescript-and-run-natively-on-different-microcontroller-boards", "canonical_source": "https://github.com/geastack/demos", "published_at": "2026-11-30 23:28:00+00:00", "updated_at": "2026-11-30 23:45:58.959838+00:00", "lang": "en", "topics": ["developer-tools", "ai-tools"], "entities": ["GeaStack", "ESP32-S31 Mosaico", "ESP32-S3 AMOLED 2.06\"", "STM32F746G-Discovery", "@geastack/gea3d", "ESP-IDF 6.2-dev", "ESP-IDF 6.0.2", "TypeScript"], "also_reported_by": [], "takeaway": "Demos written once in TypeScript can target both the ESP32-S31 Mosaico (480x480) and ESP32-S3 AMOLED 2.06\" (410x502) via the gea CLI, but the boards need different toolchains — ESP-IDF 6.2-dev for Mosaico and ESP-IDF 6.0.2 for AMOLED.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/demos-written-in-typescript-and-run-natively-on-different-microcontroller-boards", "markdown": "https://wpnews.pro/news/demos-written-in-typescript-and-run-natively-on-different-microcontroller-boards.md", "text": "https://wpnews.pro/news/demos-written-in-typescript-and-run-natively-on-different-microcontroller-boards.txt", "jsonld": "https://wpnews.pro/news/demos-written-in-typescript-and-run-natively-on-different-microcontroller-boards.jsonld"}}