hn.today

Native apps written in TypeScript and CSS

github.com91 points34 comments
Screenshot of Native apps written in TypeScript and CSS

A GitHub project named geastack/examples is an app gallery of small TypeScript/TSX example applications and helper tools for GeaStack. The collection is used by the simulator, embedded targets (ESP32), GeaOS, Apple targets, a VS Code/Cursor extension, and marketing demos. Directory layout includes apps/, docs/, shared assets and a few tools (for example tools/dialer-browser). Most examples are minimal TSX apps that target web, ESP32 and GeaOS, and many include simple tests that assert layout or device setups. Quickstart details and concrete commands are provided for building and running examples: navigate into an app (cd apps/watch), npm install, npm run check and npm run build; run the web development loop via the separate simulator repo (targets/web/dev-web.mjs or build-web.sh) with GEA_APPS_ROOT pointed at the examples; flash a board with npx gea flash watch board and monitor.

Every buildable example must include a package.json gea manifest describing id, name, entry (usually index.tsx), runtime and target compatibility; an example manifest and docs (docs/EXAMPLE-CATALOG.md and docs/DEVELOPMENT.md) document expected fields and contribution workflow. Maintenance guidance warns to keep examples focused, prefer shared APIs, and add tests for nontrivial logic. Licensing is MIT for the examples, but embedded board support (targets and @geastack/chips) is GPL-3.0-only; shipping closed-source firmware that uses those components requires a commercial license (contact [email protected]).

Read on github.com34 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.