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 lecodes CLI — 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.