Documentation · v1.0

FigSquash Documentation

Everything you need to install the Figma plugin, audit and clean 4000px+ Canvas Bloat, and activate or transfer your offline Ed25519 lifetime license.

1. Install FigSquash in Figma Desktop (ZIP Package)

  1. Download figsquash-plugin.zip and extract it to a permanent folder (for example, ~/Documents/FigSquash-Plugin).
  2. Open Figma Desktop and open any Figma or FigJam file.
  3. In the top menu, select Plugins → Development → Import plugin from manifest…
  4. Choose the extracted manifest.json file inside the plugin folder.
  5. Run FigSquash anytime from Plugins → Development → FigSquash (or via Quick Actions Cmd + / / Ctrl + /).
Keep the unzipped folder in place: Figma loads local development plugins directly from the folder containing manifest.json, code.js, and ui.html. If you move the folder, re-import manifest.json once.

2. Batch Compress & Export (Tab 1)

  • Select one or more exportable frames, components, or groups in Figma.
  • Choose your format: WebP, AVIF (honest capability check — never writes fake .avif headers), PNG (quantized 256-color or lossless with never-inflate guard), JPG (EXIF stripped + configurable alpha matte), or SVG (deterministic safe minifier).
  • Select quality (1–100), optional max dimension cap, and export scales (1x, 2x, 3x).
  • Free tier compresses up to 5 images per batch. Pro ($19) and Team ($59) unlock unlimited batch exports, multi-scale ZIP bundles, and saved presets.

3. Canvas Bloat Auditor & 1-Click Downsampler (Tab 2)

Pasting 4000px–8000px stock photos or raw screenshots into small UI cards causes Figma to store full-resolution source fills in memory, slowing down file loads and panning.

  • Free Health Scan: Scans the current page (or all pages on opt-in), deduplicates shared imageHash fills, reports exact encoded MB and uncompressed RGBA RAM (srcW × srcH × 4), and lets you 1-click Zoom to Layer.
  • 1-Click Downsampler (Pro / Team): Resizes oversized fills in-place to crisp 1x, 2x Retina (default), or 3x.
  • Safety Guarantees:
    • Always encodes downsampled fills as Figma-native PNG (when alpha is present) or JPEG (for opaque photos) so figma.createImage() never fails.
    • Never upscales smaller images and never replaces a fill if the new file is larger.
    • Preserves scaleMode, opacity, blendMode, and filters, and skips mutating cropped frames with non-identity imageTransform unless aspect ratio is strictly preserved.
    • Fully undoable with native Figma Cmd/Ctrl + Z.

4. Offline Ed25519 Licensing & Seat Management (Tab 3)

  • Key Prefixes: Pro Lifetime keys start with FIGPRO- (2 seats); Team Lifetime keys start with FIGTEAM- (5 seats).
  • One-Time Online Activation: Entering your key in the License tab binds your local installation ID (FS-<UUID>) via POST https://figsquash.meluon.fun/v1/activate and stores an Ed25519-signed offline token in figma.clientStorage.
  • 100% Offline Startup: Every subsequent plugin launch verifies the Ed25519 signature locally in under 5ms with zero blocking network calls.
  • Transferring a Seat: Click Deactivate This Seat inside the License tab to release your seat immediately (POST /v1/deactivate) and activate on a new workstation.
  • Network Isolation: The plugin manifest strictly restricts outbound domains to https://figsquash.meluon.fun and https://pay.meluon.fun. Zero image bytes or document data are ever transmitted.

5. Support & Lost Keys

Lost your license key or need help with a team transfer? Email meluon.jason@gmail.com with the email address or Paddle transaction ID (txn_...) used at checkout.