MCPcopy
hub / github.com/GoogleChromeLabs/squoosh

github.com/GoogleChromeLabs/squoosh @v1.12.0 sqlite

repository ↗ · DeepWiki ↗ · release v1.12.0 ↗
908 symbols 1,870 edges 129 files 22 documented · 2%
README

Squoosh!

Squoosh is an image compression web app that allows you to dive into the advanced options provided by various image compressors.

Privacy

Google Analytics is used to record the following:

  • Basic visit data.
  • Before and after image size once an image is downloaded. These values are rounded to the nearest kilobyte.
  • If install is available, when Squoosh is installed, and what method was used to install Squoosh.

Image compression is handled locally; no additional data is sent to the server.

Building locally

Clone the repo, and:

npm install
npm run build

You can run the development server with:

npm start

Extension points exported contracts — how you extend this code

BeforeInstallPromptEvent (Interface)
* The BeforeInstallPromptEvent is fired at the Window.onbeforeinstallprompt handler * before a user is prompted to "ins
src/components/intro/missing-types.d.ts
NodeModule (Interface)
(no doc)
global.d.ts
ModuleOpts (Interface)
(no doc)
emscripten-wasm.d.ts
CanvasRenderingContext2D (Interface)
(no doc)
src/missing-types.d.ts
RangeInputElement (Interface)
(no doc)
src/custom-els/RangeInput/index.ts
CopyAcrossIconProps (Interface)
(no doc)
src/lib/icons.tsx
Enableable (Interface)
(no doc)
src/codecs/preprocessors.ts
WebPModule (Interface)
(no doc)
codecs/webp/dec/webp_dec.d.ts

Core symbols most depended-on inside this repo

apply
called by 166
config/auto-sw-plugin.js
Z
called by 39
codecs/webp/enc/webp_enc.js
inputFieldValueAsNumber
called by 28
src/lib/util.ts
X
called by 27
codecs/webp/dec/webp_dec.js
Y
called by 27
codecs/mozjpeg_enc/mozjpeg_enc.js
W
called by 24
codecs/webp/dec/webp_dec.js
f
called by 20
codecs/webp/enc/webp_enc.js
_processingJob
called by 17
src/codecs/processor.ts

Shape

Function 490
Method 228
Interface 128
Class 60
Enum 2

Languages

TypeScript100%

Modules by API surface

codecs/avif/enc/avif_enc.js91 symbols
codecs/avif/dec/avif_dec.js54 symbols
codecs/mozjpeg_enc/mozjpeg_enc.js51 symbols
codecs/webp/enc/webp_enc.js49 symbols
codecs/imagequant/imagequant.js48 symbols
codecs/webp/dec/webp_dec.js47 symbols
emscripten-wasm.d.ts33 symbols
src/components/compress/index.tsx28 symbols
src/codecs/processor.ts26 symbols
src/components/Output/custom-els/PinchZoom/index.ts25 symbols
src/lib/util.ts22 symbols
src/components/compress/custom-els/MultiPanel/index.ts20 symbols

Dependencies from manifests, versioned

@types/node10.14.15 · 1×
@types/pretty-bytes5.1.0 · 1×
@types/webassembly-js-api0.0.3 · 1×
@webcomponents/custom-elements1.2.4 · 1×
@webpack-cli/serve0.1.8 · 1×
assets-webpack-plugin3.9.10 · 1×
chalk2.4.2 · 1×
chokidar3.0.2 · 1×
classnames2.2.6 · 1×
clean-webpack-plugin1.0.1 · 1×
comlink3.1.1 · 1×
copy-webpack-plugin5.0.4 · 1×

For agents

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

⬇ download graph artifact