MCPcopy
hub / github.com/GoogleChromeLabs/bubblewrap

github.com/GoogleChromeLabs/bubblewrap @v1.24.1 sqlite

repository ↗ · DeepWiki ↗ · release v1.24.1 ↗
393 symbols 1,000 edges 93 files 117 documented · 30%
README

Bubblewrap

Node CI Status

Bubblewrap is a set of tools and libraries designed to help developers to create, build and update projects for Android Applications that launch Progressive Web App (PWA) using Trusted Web Activity (TWA).

Requirements

Getting Started

Bubblewrap Components

  • bubblewrap/core: a javascript library for generating, building and updating TWA projects.
  • bubblewrap/cli: a command-line version of Bubblewrap.
  • bubblewrap/validator: library to validate the correctness and compare Trusted Web Activity projects against the quality criteria.

Community

We welcome anyone who wants to contribute with issues, feedback, feature requests or just generally discuss Bubblewrap. Alternatively developers can contribute to the conversation by joining the public monthly office hours, which hosted on every first Thursday at 5PM, London time. Check when the next office hours is going to happen via this calendar and join the meeting via this link.

Getting started with GUI tools

  • If you are just getting started with APK generation from PWA, You might want to check PWABuilder. This tool is powered by Bubblewrap and uses the same underlying core.

Contributing

See CONTRIBUTING for more.

License

See LICENSE for more.

Disclaimer

This is not an officially supported Google product.

Extension points exported contracts — how you extend this code

Log (Interface)
(no doc) [5 implementers]
packages/core/src/lib/Log.ts
Prompt (Interface)
(no doc) [4 implementers]
packages/cli/src/lib/Prompt.ts
Feature (Interface)
(no doc) [1 implementers]
packages/core/src/lib/features/Feature.ts
PlayArgs (Interface)
(no doc)
packages/cli/src/lib/cmds/play.ts
IconDefinition (Interface)
(no doc)
packages/core/src/lib/ImageHelper.ts
InitArgs (Interface)
(no doc)
packages/cli/src/lib/cmds/init.ts
Icon (Interface)
(no doc)
packages/core/src/lib/ImageHelper.ts
SigningKeyPasswords (Interface)
(no doc)
packages/cli/src/lib/cmds/build.ts

Core symbols most depended-on inside this repo

toString
called by 52
packages/core/src/lib/ShortcutInfo.ts
printMessage
called by 48
packages/cli/src/lib/Prompt.ts
isError
called by 42
packages/core/src/lib/Result.ts
isOk
called by 41
packages/core/src/lib/Result.ts
error
called by 36
packages/core/src/lib/Log.ts
info
called by 29
packages/core/src/lib/Log.ts
promptInput
called by 23
packages/cli/src/lib/Prompt.ts
validate
called by 22
packages/validator/src/lib/PwaValidator.ts

Shape

Method 194
Function 90
Class 83
Interface 24
Enum 2

Languages

TypeScript99%
Java1%

Modules by API surface

packages/core/src/lib/TwaGenerator.ts24 symbols
packages/core/src/lib/TwaManifest.ts21 symbols
packages/core/src/lib/Log.ts20 symbols
packages/cli/src/lib/Prompt.ts16 symbols
packages/core/src/lib/util.ts15 symbols
packages/validator/src/lib/psi/PageSpeedInsights.ts13 symbols
packages/core/src/lib/androidSdk/AndroidSdkTools.ts13 symbols
packages/cli/src/lib/cmds/play.ts13 symbols
packages/cli/src/lib/cmds/build.ts13 symbols
packages/core/src/lib/GooglePlay.ts12 symbols
packages/cli/src/lib/inputHelpers.ts12 symbols
packages/core/src/lib/jdk/KeyTool.ts11 symbols

Dependencies from manifests, versioned

@bubblewrap/core1.24.1 · 1×
@bubblewrap/validator1.22.0 · 1×
@resvg/resvg-js2.2.0 · 1×
@types/cli-progress3.7.0 · 1×
@types/color3.0.0 · 1×
@types/extract-zip1.6.2 · 1×
@types/gapi.client.androidpublisher3.0.0 · 1×
@types/inquirer9.0.7 · 1×
@types/jasmine3.6.3 · 1×
@types/lodash4.17.14 · 1×
@types/mime-types2.1.0 · 1×
@types/minimist1.2.0 · 1×

For agents

$ claude mcp add bubblewrap \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact