# Tencent/mars

Mars is a cross-platform network component  developed by WeChat.

Repository: https://github.com/Tencent/mars
Canonical: https://ross.abutalabs.com/products/mars
Language: C++
License: NOASSERTION
License Family: other
Topics: cross-platform, log, network, wechat
Last push: 2025-09-11T14:07:19+00:00

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

## Adoption (not part of the score)
Stars 17658, forks 3688 (observed 2026-08-28T04:11:20.128732+00:00)

## What it is
Mars is a cross-platform network and infrastructure component library developed by Tencent's WeChat team, comprising STN (signaling/networking), Xlog (high-performance logging), SDT (network diagnostics), and comm (sockets, threads, coroutines). It is battle-tested by billions of WeChat users and optimized for mobile power and traffic efficiency.

## Use cases
- reliable logging in mobile apps
- cross-platform networking for Android and iOS
- small data transmission over weak mobile networks
- network quality diagnostics
- high-performance log component for C++ apps
- shared network layer across multiple platforms

## When to choose
- building a multi-platform mobile app needing one shared C++ network stack
- you need efficient, crash-safe logging on mobile
- your app must handle weak or unstable mobile networks with low power usage

## When to avoid
- you need a full-featured HTTP client with modern web APIs
- your project is server-side or desktop-only with no mobile targets
- you want a pure high-level managed-language solution without C++ integration

## Facets
- artifact type: library
- maturity: stable
- function: networking, logging, http-client, concurrency, monitoring
- domain: mobile-development, cross-platform, developer-tools, networking
- platform: windows, cpp, cross-platform
- tags: wechat, xlog, stn, long-link, mobile-networking, comm, sdt, android, ios, macos, mobile

## Member repositories
- Tencent/mars (main) score 41

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:20.128732+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-29T17:02:32.526333+00:00, confidence not recorded.
  - readme: https://github.com/Tencent/mars (fetched 2026-08-28T04:11:20.128732+00:00, sha 225f6191b8f1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
