# Tencent/kbone

一个致力于微信小程序和 Web 端同构的解决方案

Repository: https://github.com/Tencent/kbone
Canonical: https://ross.abutalabs.com/products/kbone
Language: JavaScript
License: NOASSERTION
License Family: other
Last push: 2025-10-20T11:15:24+00:00

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

## Adoption (not part of the score)
Stars 4914, forks 455 (observed 2026-08-28T04:09:02.333355+00:00)

## What it is
kbone is a Tencent framework that provides an adapter layer simulating the browser environment so that Web frontend code (Vue, React, Preact, etc.) can run largely unmodified inside WeChat Mini Programs. It includes kbone-cli for scaffolding, webpack-based build configuration, and kbone-ui, a multi-platform UI component library aligned with WeUI.

## Use cases
- run an existing Vue or React web app inside a WeChat mini program
- build one codebase that targets both H5 and WeChat mini program
- migrate a web frontend to WeChat mini program with minimal code changes
- use full framework features like vue-router or v-html in a mini program
- scaffold a new isomorphic mini program project with kbone-cli
- build a UI with WeUI-styled components that works on web and mini program

## When to choose
- you want to reuse web framework code and ecosystem in a WeChat mini program
- you need full frontend framework features rather than a restricted subset
- your pages have moderate node counts and performance is not extremely critical
- you want to keep using mini program native features like live-player and subpackages

## When to avoid
- you need maximum mini program rendering performance - use native mini program development
- your pages have very large node counts (1000+) with growing render load - use static template compilation solutions
- you are not targeting WeChat mini programs at all

## Facets
- artifact type: framework
- maturity: maintenance
- function: frontend-framework, ui-components, build-tool, cli
- domain: web-development, frontend, cross-platform, messaging-platforms
- platform: browser
- tags: wechat-miniprogram, isomorphic, vue, react, h5, adapter-layer, kbone-cli, kbone-ui, wechat, nodejs, javascript

## Member repositories
- Tencent/kbone (main) score 54

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:02.333355+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-29T18:18:03.665847+00:00, confidence not recorded.
  - readme: https://github.com/Tencent/kbone (fetched 2026-08-28T04:09:02.333355+00:00, sha 5a96bb10098a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
