# meituan/WMRouter

WMRouter是一款Android路由框架，基于组件化的设计思路，有功能灵活、使用简单的特点。

Repository: https://github.com/meituan/WMRouter
Canonical: https://ross.abutalabs.com/products/wmrouter
Homepage: https://tech.meituan.com/meituan_waimai_android_open_source_routing_framework.html
Language: Java
License: Apache-2.0
License Family: permissive
Last push: 2026-04-02T08:13:28+00:00

## Health v2 (maintenance only)
Score: 57/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 75, release rhythm 8, longevity 100
- inputs: {"age_days": 2939, "days_push": 153, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2365, forks 341 (observed 2026-08-28T04:06:41.536344+00:00)

## What it is
WMRouter is an Android routing framework from Meituan built around a componentized design, providing URI-based page navigation and a ServiceLoader mechanism for cross-module interface calls. It supports annotation-based registration, interceptors, fallback strategies, and flexible per-jump customization.

## Use cases
- route android pages by uri
- handle deep links from outside the app
- navigate between modules in a componentized android app
- add login or location checks before opening a page
- call interfaces across app modules without direct dependencies
- track page navigation events centrally
- implement a/b testing for page redirects

## When to choose
- you are building a large, componentized Android app with multiple modules that need decoupled communication
- you need unified handling of internal and external URI/deep-link navigation with interceptors
- you want centralized page-jump logic with fallback, monitoring, and A/B testing support

## When to avoid
- you are building a small single-module app where plain Intents suffice
- you need routing for web backends or non-Android platforms
- you prefer a more actively evolving multiplatform routing solution

## Facets
- artifact type: library
- maturity: maintenance
- function: routing, middleware, plugin-system, developer-tools
- domain: mobile-development, android-tools, web-development
- platform: jvm
- tags: android-routing, uri-dispatcher, service-loader, componentization, annotation-processing, interceptor, page-navigation, modular-architecture, android

## Member repositories
- meituan/WMRouter (main) score 57

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:41.536344+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:36:00.008970+00:00, confidence not recorded.
  - readme: https://github.com/meituan/WMRouter (fetched 2026-08-28T04:06:41.536344+00:00, sha 641076f49dd3)
  - homepage: https://tech.meituan.com/meituan_waimai_android_open_source_routing_framework.html (fetched 2026-08-29T10:16:26.776119+00:00, sha b0a4bc67b3e9)
  - site_page: https://tech.meituan.com/about.html (fetched 2026-08-29T10:16:26.778525+00:00, sha 6526db42300f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
