explaingit

alibaba/weex

18,524C++Audience · developerComplexity · 4/5MaintainedLicenseSetup · hard

TLDR

A framework for building native mobile apps on Android, iOS, and web from a single codebase using a shared UI layer.

Mindmap

mindmap
  root((Weex))
    What it does
      Single codebase
      Native rendering
      Cross-platform UI
    Platforms
      Android 4.1+
      iOS 9.0+
      Web browsers
    Tech stack
      C++ core
      Android SDK
      iOS package
    Use cases
      Mobile app dev
      Code reuse
      Multi-platform launch

Things people build with this

USE CASE 1

Build a mobile app once and deploy it to Android, iOS, and web without rewriting the UI for each platform.

USE CASE 2

Share business logic and UI code across teams building for different devices.

USE CASE 3

Rapidly prototype and iterate on mobile app designs without maintaining separate native codebases.

Tech stack

C++AndroidiOSWebKit

Getting it running

Difficulty · hard Time to first run · 1day+

Requires native SDKs for Android and iOS, C++ build toolchain, and platform-specific configuration across multiple targets.

Use freely for any purpose, including commercial use, as long as you include the Apache 2.0 license notice and document any changes you make.

In plain English

Weex is a framework for building mobile applications that run on Android, iOS, and the web from a single shared codebase. The idea is that a developer writes the UI once and Weex renders it natively on each platform, rather than showing a web view inside the app. The readme is minimal. It notes support for Android 4.1 and above, iOS 9.0 and above, and WebKit 534.30 and above. It links to a separate document for build instructions and points to the Apache 2.0 license. The project was originally developed by Alibaba and incubated under the Apache Software Foundation. The repository itself contains primarily the C++ core and Android SDK, with iOS and web packages linked externally.

Copy-paste prompts

Prompt 1
How do I set up Weex to build my first Android and iOS app from a single codebase?
Prompt 2
Show me an example of a Weex component that renders differently on Android vs iOS.
Prompt 3
What are the performance differences between Weex native rendering and a WebView-based approach?
Prompt 4
How do I integrate Weex into an existing Android or iOS project?
Open on GitHub → Explain another repo

Generated 2026-05-18 · Model: sonnet-4-6 · Verify against the repo before relying on details.