tencent/kbone

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

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 55 minutes ago
Added to GitGenius on September 14th, 2026
Created on July 6th, 2019
Open Issues & Pull Requests: 23 (+0)
GitHub issues: Enabled
Number of forks: 454
Total Stargazers: 4,916 (+0)
Total Subscribers: 98 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 2.4 hours
Mean response time: 2.4 days
90th percentile: 4.7 days
Tracked items: 23

Most active contributors

Sign in to see contributor activity.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 3
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 437 days
Stale 30+ days: 3
Stale 90+ days: 3

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

kbone is a framework for building isomorphic applications that run on both WeChat mini programs and web platforms.

The core problem kbone solves is the fundamental architectural mismatch between WeChat mini programs and web environments. Rather than attempting direct code translation, kbone implements an adapter layer that simulates a browser environment within the mini program runtime, allowing web code to execute with minimal modifications. This approach means developers write standard web code once and deploy it to both targets without significant rewrites.

Teams should adopt kbone when they need to maintain a single codebase across web and WeChat mini program platforms. It suits projects built with popular frameworks like Vue, React, Preact, and Omi, since the adapter approach preserves full framework functionality rather than requiring stripped-down versions. The tool provides common DOM and BOM interfaces to ease migration from web to mini programs, while still allowing developers to leverage mini program-specific features like built-in components and code splitting when needed. For cases where perfect compatibility is impossible, kbone offers DOM extension interfaces as fallbacks.

The project maintains active development with regular updates to the core adapter and ongoing refinement of framework compatibility. The team provides multiple entry points for adoption, including a CLI tool for scaffolding new projects, pre-built templates for Vue, React, Preact, and Omi, and detailed documentation for manual webpack configuration. The project includes a companion UI library designed to work across both kbone and Vue environments, extending the ecosystem for teams building multi-platform applications.