# Justson/AgentWeb

AgentWeb is a powerful library based on Android WebView.

Repository: https://github.com/Justson/AgentWeb
Canonical: https://ross.abutalabs.com/products/agentweb
Homepage: https://www.jianshu.com/p/fc7909e24178
Language: Java
License: Apache-2.0
License Family: permissive
Topics: webview, agentweb-android-webview, webview-agentweb-web, cookie, android-webview, wechat-pay, hybrid
Last push: 2026-05-11T00:20:05+00:00

## Health v2 (maintenance only)
Score: 80/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 81, release rhythm 67, longevity 100
- inputs: {"age_days": 3400, "days_push": 115, "days_rel": 6, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 9424, forks 1661 (observed 2026-08-28T04:10:31.113068+00:00)

## What it is
AgentWeb is a powerful and easy-to-use Android library built on top of the system WebView, providing solutions for common WebView problems like progress indicators, file downloads, file chooser, JS interaction, and payment integration. It is lightweight, flexible, and distributed via Maven Central/JitPack with optional companion modules for file choosing and downloading.

## Use cases
- embed web pages in an android app
- handle file downloads from webview
- upload files from webview file chooser
- integrate wechat or alipay payment in a webview
- communicate between javascript and android
- manage webview cookies and lifecycle
- build hybrid android apps with web content

## When to choose
- you need a full-featured WebView wrapper with downloads, file chooser, and JS bridge out of the box
- you want quick integration of web payments (WeChat Pay) inside a WebView
- you want a lightweight, flexible alternative to writing raw WebView boilerplate

## When to avoid
- you target Jetpack Compose-only UI and want a modern declarative WebView wrapper
- you need cross-platform (iOS/web) hybrid support rather than Android-only
- your app only shows a single simple web page and raw WebView suffices
- you rely on ConstraintLayout as the direct parent for AgentWeb views

## Facets
- artifact type: library
- maturity: stable
- function: web-framework, file-upload, developer-tools
- domain: mobile-development, web-development, android-tools
- platform: jvm
- tags: webview, hybrid-app, android, file-downloader, js-bridge, cookie-management, mobile

## Member repositories
- Justson/AgentWeb (main) score 80

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:31.113068+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:22:09.344691+00:00, confidence not recorded.
  - readme: https://github.com/Justson/AgentWeb (fetched 2026-08-28T04:10:31.113068+00:00, sha 288c0ccba4bd)
  - homepage: https://www.jianshu.com/p/fc7909e24178 (fetched 2026-08-29T08:22:06.913406+00:00, sha 3703fba17362)
- Data as of 2026-08-30T08:39:29.467469+00:00.
