repowiserepowise

Library

expo / exact

Write an app once. It runs natively on the web, macOS, iOS, and Linux, and an AI agent can build it, run it, see it, and test it on every one of them.

★ 4,838stars on GitHubRustMIT

This connects Repowise to expo/exact's code. It does not install exact.

Repowise maps public repos from their source. Not affiliated with expo. What is Repowise?

github.com/expo/exactIndexed at a5c045b

What is exact?

Exact is a framework for developers who want one app to run natively on the web, macOS, iOS and Linux. The interface is described in Contract, a small declarative language, and data logic is written in TypeScript or Rust, with each host drawing its own platform controls. The framework's main language is Rust. To install it, run git clone https://github.com/expo/exact.git and follow the steps below. Its code health is 8.0 out of 10 (Good), ranked #73 of 4,000+ indexed repos. The last commit to exact was on Nov 21, 2026, and 23 people have contributed.

As of commit a5c045b, indexed Nov 21, 2026. What it is comes from a model reading the README; the rest is measured from the source and git history, not from the maintainer.

For agentsexact.md

Repo facts: type, license, health, rank, contributors
exact facts
TypeLibrary
LicenseMIT
Code health8.0 / 10 (Good)
Health rank#73 of 4,000+ indexed repos
Last commitNov 21, 2026
Contributors23
Bus factor1
Size14,552 files, 2,258,506 lines

Install exact

Commands copied from the README

  1. 1Clone the repository.
    git clone https://github.com/expo/exact.git
  2. 2Change into the repository directory.
    cd exact
  3. 3Run the one-time setup, which provisions toolchains, dependencies and caches.
    bun scripts/exact.mjs setup

Full install notes on GitHub

Explore exact

Ask about this code in your agent

This connects Repowise to exact's code. It does not install exact. To install exact, use the install steps.

Useful if you want to change or fork exact: your agent can ask how it is put together and get answers that cite its files.

Ask about exact

Answers come from exact's README and source, with the files they cite. Two free answers a day without an account.

Featured answer

Exact is a framework for building one app that runs natively on the web, macOS, iOS and Linux, and an AI agent can build, run, see and test it on each of them. The interface is written in Contract, a small declarative language, while data logic is written in TypeScript or Rust, and each host draws its own platform controls. The compiler in contract/ turns .contract files into a plan of tables and bytecode, and host/web-js/ compiles that plan into one ES module for the browser. On native hosts, runner/ provides a Rust VM that executes the plan, kernel/ computes layout and manages keyed component instances and timers, and host/ holds the Apple AppKit and UIKit presenters and the Android view replay. To start reading, begin with the contract/ compiler and the runner/ VM, then look at host/ for the platform screens and packages/ for native capabilities such as camera and notifications.

Files per layer in exact8 layers.

Basis: Inferred · knowledge graph· as of a5c045b

Want this for your own codebase? Map your repo free

About this page

Get a page like this for your own codebase

Repowise built this map of expo/exact from its source and git history. It parses every symbol, draws the dependency graph, scores each file's health from complexity, duplication, coverage and churn, finds hotspots and owners in the history, and writes documentation for every module. Your coding agent reads the same index over MCP, so its answers cite real files.

Free for 2 public repos, with a page like this one. No card. See how Repowise works

Prefer local? pip install repowise && repowise init indexes your own checkout, no account needed. Star Repowise on GitHub

expo/exact FAQ

What is Exact?

Exact is an application framework for building one app that runs natively on the web, macOS, iOS and Linux. Interfaces are declared in Contract, and data logic is written in TypeScript or Rust.

How does Exact work?

Exact compiles .contract files into a plan that the host executes. On the web the plan becomes an ES module, and on native hosts a Rust VM in runner/ runs it. Each host draws the interface with its own platform controls.

How do I install Exact?

Exact is installed by cloning its repository, changing into the exact directory, and running bun scripts/exact.mjs setup. That one-time setup provisions the pinned Rust toolchains, Bun dependencies and other prerequisites. See the install steps

What language is Exact written in?

Exact is written mainly in Rust. Its apps can be written in TypeScript or Rust, and the framework also includes Swift and Kotlin code for the Apple and Android hosts.

How is the Exact code organized?

The contract/ directory holds the compiler, host/ holds the native and web hosts, and runner/ and kernel/ execute plans and compute layout. The packages/ directory holds first-party packages for native platform capabilities.

Who is Exact for?

Exact is for developers who want one app to run natively on several platforms and want coding agents to build, run and test it on each one. It is pre-1.0 and is used from a checkout of the repository.

What license does Exact use?

Exact uses the MIT license, identified as MIT. The license applies to the repository's source code.

Code health

7.9out of 10Good

Hotspots average 5.2, the place fixes pay off most.

On the leaderboards:#5 of 24 Rust repos

Key features of exact

  • Builds one app that runs natively on the web, macOS, iOS, Android and Linux, with Windows in active development.
  • Uses native platform controls on each host, such as the browser's own DOM on the web, UIKit on iOS and AppKit on macOS.
  • Lets agent coding tools build, run, see and test the same app on each supported platform.
  • Describes layout and styling in Contract with standard CSS layout and property names.
  • Lets app logic be written in TypeScript or Rust, or lets plain HTTP and GraphQL reads be declared directly in Contract.
  • Provides first-party packages in packages/ that expose native platform APIs such as camera, passkeys, notifications and maps.

How expo/exact works

Input starts as .contract files, which the compiler in contract/ turns into a plan of tables and bytecode through syntax, type, analysis and lowering passes. For the web, host/web-js/ compiles that plan ahead of time into one ES module that runs on a small runtime, and the browser handles layout and painting. On native hosts, runner/ provides a Rust VM that executes the plan, while kernel/ computes layout and manages keyed component instances and timers. The host/ directory holds the native screens: Apple hosts link a Rust static library under AppKit and UIKit presenters, and host/android/ replays paint output onto Android views. js/ bakes an app's TypeScript into a module that runs on precompiled Hermes bytecode natively and in the browser engine on the web. packages/ holds first-party packages that expose native platform capabilities such as camera and notifications to apps.

The codebase has 14,552 files and 178,963 symbols in 35 modules, led by Rust, Swift and JavaScript. Code health is 7.9 out of 10, rated good.