tencent/mars

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

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 34 minutes ago
Added to GitGenius on September 3rd, 2026
Created on December 12th, 2016
Open Issues & Pull Requests: 514 (+0)
GitHub issues: Enabled
Number of forks: 3,689
Total Stargazers: 17,661 (+0)
Total Subscribers: 766 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Issue API getrepoissuespagesummary failed: 429 Rate limit exceeded. Please try again later.

Detailed Description

Mars is a cross-platform network component developed by WeChat that provides infrastructure for mobile applications requiring reliable data transmission.

The tool addresses the challenge of building efficient, low-power network communication for mobile platforms. It consists of several integrated components: a common library providing socket, thread, message queue, and coroutine utilities; Xlog, a high-performance logging system; SDT, a network detection component; and STN, a signaling network component that forms the core of Mars. The architecture is designed specifically for small-volume data transmission with minimal power and traffic consumption, making it suitable for mobile environments where resources are constrained.

Developers building multi-platform or multi-business applications should consider Mars if they need a proven network solution optimized for mobile use. The tool supports Android, iOS, macOS, and Windows. Integration is flexible: Android developers can choose between mars-wrapper for quick prototyping or mars-core for production applications, and Xlog can be adopted independently if only logging is needed. The framework allows customization of encryption algorithms, packet handling, and component implementations to fit specific application requirements.

The project receives issue reports primarily from external users rather than the core team, indicating a substantial base of real-world adopters. Response times to issues and pull requests typically range from one to two weeks.