le.codes Documentation
A guide that teaches by building, a precise API reference and examples with full sources — everything to take an idea to an app on your phone.
What is le.codes
le.codes is a platform for building native apps in TypeScript. You write code — or generate it with the AI assistant — right in the browser, and seconds later the app runs natively on iOS, Android, Windows, macOS and Linux: no WebView, no bridges — your TypeScript is executed by the le.codes runtime. Interfaces, 2D games and 3D scenes share one syntax and combine freely in a single project.
The ecosystem consists of several parts:
- The le.codes platform — an editor with an AI assistant, instant preview, and project publishing by link or QR code.
- The le.codes mobile app — scan the QR of a published project and it runs natively on your phone, with camera and AR support.
- le.codes Desktop — the desktop runtime: opens compiled projects from a file or by URL.
- The
lecodesCLI — local development: bundle compilation, hot reload on the device, platform sync, headless rendering. - The SDK — one API for interfaces, 2D and 3D: widgets and styles, sprites and tilemaps, meshes and materials, physics, animation, vector math.
The components are independent: you can start with nothing but a browser and install Desktop and the CLI when you need them.
Documentation sections
Where to start and where to come back to.
GuideLearn by building: the shared start and the tracks — UI app, 3D scene, 2D game.API ReferenceThe precise contract of every SDK global: signatures, units, edge cases.ExamplesComplete projects with full sources — open, run and take apart.InstallationThe mobile app, le.codes Desktop and the CLI: requirements, steps, verification.CLI & local developmentThe project on your machine: hot reload on the phone, push and clone, headless rendering.Releases & downloadsDesktop and CLI builds with SHA-256 checksums, version history, the mobile app.