# happydog-intj/JsBridge

android java and javascript bridge, inspired by wechat webview jsbridge

Repository: https://github.com/happydog-intj/JsBridge
Canonical: https://ross.abutalabs.com/products/jsbridge
Language: Java
License Family: other
Last push: 2025-06-13T06:15:49+00:00

## Health v2 (maintenance only)
Score: 44/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 26, release rhythm 35, longevity 100
- inputs: {"age_days": 4206, "days_push": 446, "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 9908, forks 2004 (observed 2026-08-28T04:10:38.768220+00:00)

## What it is
An Android library providing a bidirectional bridge between Java and JavaScript in WebViews, inspired by WeChat's jsBridge. It lets developers register handlers on either side so Java and JavaScript can call each other with callbacks.

## Use cases
- call native Android code from JavaScript in a WebView
- call JavaScript functions from Java in a hybrid app
- build a two-way communication bridge between webview and native
- send messages between WebView and Android without a handler name
- implement hybrid app messaging like WeChat's jsbridge

## When to choose
- you're building an Android hybrid app with a WebView that needs native-JS communication
- you want a lightweight, proven WebView JS bridge modeled on WeChat's approach
- you need bidirectional handler registration with callbacks between Java and JavaScript

## When to avoid
- you're not on Android or not using WebView
- you need a maintained library with an explicit license for commercial use
- you prefer modern alternatives like Android WebView's native JS interfaces or Compose-based hybrid approaches

## Facets
- artifact type: library
- maturity: stable
- function: sdk, developer-tools
- domain: mobile-development, web-development, android-tools
- platform: jvm
- tags: webview, javascript-bridge, hybrid-apps, java-javascript-interop, android

## Member repositories
- happydog-intj/JsBridge (main) score 44

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:38.768220+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:20:19.560762+00:00, confidence not recorded.
  - readme: https://github.com/happydog-intj/JsBridge (fetched 2026-08-28T04:10:38.768220+00:00, sha 6265da21f51f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
