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 apps in TypeScript. Write code or create it with the AI assistant in your browser, check the result, and run your project on supported mobile, desktop, and web platforms. Interfaces, 2D games, and 3D scenes use one SDK and can be combined 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 engine — a runtime for applications with UI, 2D and 3D graphics, physics, animation, and AR through a unified SDK.
- The le.codes mobile app for iOS and Android — 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. Windows, macOS, Linux.
- The
lecodesCLI — local development: bundle compilation, hot reload on the device, platform sync, headless rendering and tests, any AI agent with your own keys. - 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.