# alexjlockwood/avocado

🥑 Vector Drawable optimization tool 🥑

Repository: https://github.com/alexjlockwood/avocado
Canonical: https://ross.abutalabs.com/products/avocado
Language: TypeScript
License: MIT
License Family: permissive
Topics: android, vector-drawable, animated-vector-drawable
Archived: true
Last push: 2020-04-29T22:14:34+00:00

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

## Adoption (not part of the score)
Stars 1359, forks 47 (observed 2026-08-28T04:04:29.706184+00:00)

## What it is
A command line tool, similar to SVGO, that optimizes Android VectorDrawable and AnimatedVectorDrawable XML files. It rewrites drawables using the fewest groups and paths possible to reduce file size and improve runtime parsing and drawing performance.

## Use cases
- optimize android vector drawable xml files
- reduce animated vector drawable file size
- batch optimize all xml drawables in a directory
- minimize vector drawable paths for faster rendering
- clean up vector drawables exported from design tools

## When to choose
- you develop Android apps with many vector or animated vector drawables
- you want smaller, faster-to-parse drawable XML files
- you want an SVGO-like CLI for Android drawables

## When to avoid
- you need to optimize SVG files for the web rather than Android drawables
- you need a GUI-based asset tool
- you need active maintenance - the project has not released since 2020

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: cli, developer-tools, graphics
- domain: android-tools, developer-tools, mobile-development
- platform: cli, cross-platform
- tags: android, vector-drawable, animated-vector-drawable, xml-optimization, svgo-like, nodejs

## Member repositories
- alexjlockwood/avocado (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:29.706184+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-30T04:41:41.818689+00:00, confidence not recorded.
  - readme: https://github.com/alexjlockwood/avocado (fetched 2026-08-28T04:04:29.706184+00:00, sha 694052204205)
  - registry_npm: https://registry.npmjs.org/avocado (fetched 2026-08-29T11:59:52.071626+00:00, sha 80387a09d3db)
- Data as of 2026-08-30T08:39:29.467469+00:00.
