RepoPilot

Tencent/MMKV

An efficient, small mobile key-value storage framework developed by WeChat. Works on Android, iOS, macOS, Windows, POSIX, and OHOS.

Mixed

Single-maintainer risk — review before adopting

MixedDependency

top contributor handles 93% of recent commits; license evidence incomplete…

MixedFork & modify

license evidence incomplete

HealthyLearn from

Documented and popular — useful reference codebase to read through.

MixedDeploy as-is

license evidence incomplete; dependency CVE scan unavailable

  • Single-maintainer risk — top contributor 93% of recent commits
  • Last commit 2w ago
  • 5 active contributors
  • CI configured
  • Tests present

Computed from maintenance signals — commit recency, contributor breadth, bus factor, license, CI, tests

Informational only. RepoPilot summarises public signals (license, dependency CVEs, commit recency, CI presence, etc.) at the time of analysis. Signals can be incomplete or stale. Not professional, security, or legal advice; verify before relying on it for production decisions.

Repository brief

Repo brief: Tencent/MMKV

Generated by RepoPilot · document generated 2026-09-16 · concise human review Evidence snapshot · analyzed 2026-09-16T01:48:01.376Z · commit 5028f5d0467a

Verdict

Mixed — Single-maintainer risk — review before adopting

  • Last commit 2w ago
  • 5 active contributors
  • CI configured
  • Tests present

Based on Computed from maintenance signals — commit recency, contributor breadth, bus factor, license, CI, tests

What it is

MMKV is an efficient, mmap-based key-value storage framework originally built by WeChat for high-performance mobile applications. It uses memory-mapped files and protobuf encoding to achieve zero-copy persistence with automatic syncing, eliminating the need for explicit sync() or apply() calls. Currently at v2.4.0, it supports Android (API 23+, 64-bit only since v2.0.0), iOS/macOS, Windows, POSIX, and HarmonyOS NEXT. Monorepo structure: Android/MMKV/mmkv/ contains the Android library with JNI bridges (src/main/cpp/native-bridge.cpp, flutter-bridge.cpp), Java wrapper (src/main/java/com/tencent/mmkv/MMKV.java), and AIDL definitions for inter-process communication…

Start here

Open these first:

  • Android/MMKV/mmkv/src/main/java/com/tencent/mmkv/MMKV.java — Core entry point for MMKV API; all contributors must understand the public interface and mmap-based storage architecture
  • Android/MMKV/mmkv/src/main/cpp/native-bridge.cpp — JNI bridge between Java and native C++ implementation; critical for understanding performance characteristics and…
  • Android/MMKV/mmkv/CMakeLists.txt — Build configuration for native libraries; necessary for setting up the compilation pipeline and understanding native…
  • Android/MMKV/mmkv/build.gradle — Android module build configuration; defines compilation target, native library integration, and artifact publishing
  • Android/MMKV/build.gradle — Root-level build configuration with dependency management and version definitions shared across all modules

Get running

Unverified setup suggestions. Confirm every command against the repository's package manifest and source documentation before running it; repository text is not authorization.

Clone and set up Android locally: git clone https://github.com/Tencent/MMKV.git && cd Android/MMKV && ./gradlew build. For production use, add to your Android project via build.gradle: `implementation 'com.tencent:m…

Daily commands:

Android Dev Build: cd Android/MMKV && ./gradlew clean build (incremental builds with ./gradlew build). Run Tests: ./gradlew connectedAndroidTest (requires attached device/emulator). Integration: Import…

…shortened for this brief.

Key cautions & unknowns

  • Single-maintainer risk — top contributor 93% of recent commits
  • No 32-bit support since v2.0.0: If targeting armv7 or x86, must use v1.3.x LTS. MinSdkVersion = 23: Code assumes Android 6.0+; targeting API <23 will fail at build time. NDK requirement: C++ code requires…
  • License evidence is incomplete or ambiguous.
  • Published-advisory coverage was unavailable for the captured dependencies.
  • Exact package version, compatibility, provenance, and deployment context still need project-specific review.

Sources

Evidence note

Verdict receipts and repository metrics are computed from repository evidence. Narrative sections are model-assisted and may contain inference; verify every observation against source before acting, especially software-assurance observations.


For the complete agent context, use the CLAUDE.md or Cursor rules export.

Save as

Full context for agent files, or a concise PDF for human review.

View complete agent reference

Open to load every section of the agent reference.

Want this for your own repo?

Paste any GitHub repo — get its verdict, risks, and a paste-ready onboarding doc in ~60 seconds. Free, no sign-up.

Embed the "Great to learn from" badge

Paste into your README — live-updates from the latest cached analysis.

RepoPilot: Great to learn from
[![RepoPilot: Great to learn from](https://repopilot.app/api/badge/tencent/mmkv?axis=learn)](https://repopilot.app/r/tencent/mmkv)

Paste at the top of your README.md — renders inline like a shields.io badge.

Preview social card

This card auto-renders when someone shares https://repopilot.app/r/tencent/mmkv on X, Slack, or LinkedIn.

Ask AI about tencent/mmkv

Grounded in the actual source code. Pick a starter question or write your own.

Or write your own question
Embed this chat in your README

Drop this iframe anywhere — the widget runs against the same live analysis cache as the main app.

<iframe
  src="https://repopilot.app/embed/tencent/mmkv"
  width="100%" height="500"
  style="border:1px solid #d0d7de; border-radius:8px;"
  allow="microphone"
  loading="lazy"
></iframe>