proomt

Search

Search posts, papers, and topics

All posts

Hacker News front pagegeastack2 min readtutorialintermediate

Native apps written in TypeScript and CSS

Summary

GeaStack’s examples repo is a collection of small TypeScript/TSX apps and tools that demonstrate building native applications for web, ESP32, and GeaOS. Each app includes a `package.json` manifest under a `gea` field that declares its ID, entry point, runtime, and target compatibility. The repo provides quick‑start commands for installing, checking, building, testing, and flashing apps, and expla…

  • Every example app is a workspace package with a `gea` manifest describing ID, entry file, runtime, and supported targets (web, esp32, geaos).
  • Development workflow: `npm install`, `npm run check`, `npm run build`; tests run via `npm test` in the app folder
  • Simulator integration: set `GEA_APPS_ROOT` to the repo path, then run dev or build scripts from the separate `geastack/simulator` repo
  • Flashing to hardware uses the Gea CLI: `npx gea flash <app> --board <alias>` with optional `--monitor`

Provides a concrete reference implementation for building cross‑target native apps with TypeScript and CSS, showing how to structure manifests, integrate with a simulator, and deploy to embedded hardware—all useful for teams exploring TypeScript‑based native stacks.

5/10

Related reading

  1. TanStack Charts Introduced with a Framework Agnostic Grammar of Graphics for TypeScript

    TanStack Charts α is a framework‑agnostic, TypeScript‑first charting library that implements a grammar‑of‑graphics API (marks, scales, channels, transforms, layers). It ships as a single npm package with adapters for React, Preact, Vue, Solid, Svelte, Angular, Lit, and vanilla DOM, and can run on server or client. The runtime is headless; type inference stays tied to the source row, so each mark…

    InfoQinfoq.com2 minrelease
  2. Migrating the GitHub Copilot runtime to Rust, using Copilot

    The Copilot agent runtime was rewritten from a 130‑k‑line TypeScript/Node.js codebase into a native Rust library (~830 k lines of Rust) to reduce startup latency, memory use, and improve reliability. The migration was done incrementally (in‑place) across 128 PRs, with AI‑generated code handling most of the work. The new runtime exposes a C ABI for in‑process embedding by all six Copilot SDK langu…

    GitHub Oldgithub.blog65 minHN188
  3. Build a Typed Context Compaction Gate for AI Agents

    A step‑by‑step tutorial showing how to build a typed context‑compaction gate for AI agents in TypeScript using LangChain and Zod. It defines a discriminated‑union schema for keep/summarize/discard actions, implements a fast gpt‑4o‑mini classifier, validates decisions at runtime, and wires the gate as middleware in an agent loop, with testing and production‑grade tuning advice.

    SitePointsitepoint.com16 min
  4. Building Composite Model Context Protocol (MCP) Gateways in TypeScript

    Step‑by‑step tutorial showing how to build a stateless composite Model Context Protocol (MCP) gateway in TypeScript using Hono, Zod, and the MCP SDK. It covers config‑driven upstream registration, namespaced tool discovery, JSON‑RPC routing, per‑tool auth middleware, and a token‑bucket rate limiter, with concrete code snippets and design trade‑offs.

    SitePointsitepoint.com16 min