yangchong211/YCWebView
基于腾讯x5开源库,提高webView开发效率,大概要节约你百分之六十的时间成本。该案例支持处理js的交互逻辑且无耦合、同时暴露进度条加载进度、可以监听异常error状态、支持视频播放并且可以全频、支持加载word,xls,ppt,pdf,txt等文件文档、发短信、打电话、发邮件、打开文件操作上传图片、唤起原生App、支持webView页面截图、x5库为最新版本,功能强大。 observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3317
- days_rel: n/a
- days_push: 1646
- n_releases_24m: 0
Adoption not part of the score
1762 stars · 270 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
YCWebView is an Android WebView wrapper library built on Tencent's X5 WebView kernel that bundles common WebView features: decoupled JS bridge interaction, progress and error listeners, fullscreen video playback, document loading (word/xls/ppt/pdf/txt), scheme handling, and OkHttp-based resource interception caching. It also serves as a comprehensive reference of WebView pitfalls and optimization techniques.
Use cases
- embed web pages in an android app with less boilerplate
- handle javascript-to-native communication without coupling
- show a wechat-style loading progress bar on web pages
- play html5 videos in fullscreen with rotation support
- load word, excel, ppt, pdf and txt documents in-app
- intercept and cache web resources via okhttp
- handle tel/sms/mailto/alipay/wechat scheme links uniformly
- monitor webview load errors like 404, no network, and ssl errors
When to choose
- you want a batteries-included X5-based WebView for Android
- you need JS bridge, video fullscreen, file preview, and caching out of the box
- you want to learn common WebView pitfalls and optimizations
When to avoid
- you target iOS or non-Android platforms
- you prefer the plain system WebView without the X5 kernel dependency
- you need actively maintained releases (last release March 2022)
Facets
library · maturity maintenance
web-framework http-client caching middleware mobile-development android-tools web-development developer-tools webview tencent-x5 js-bridge video-playback file-preview progress-bar scheme-interception httpdns okhttp-cache dark-mode android
1 source
- readme: https://github.com/yangchong211/YCWebView · fetched 2026-08-28 · 1c65fa09ebf8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| yangchong211/YCWebView | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="yangchong211/YCWebView")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem