# jorgebastida/glue

Glue is a simple command line tool to generate CSS sprites

Repository: https://github.com/jorgebastida/glue
Canonical: https://ross.abutalabs.com/products/glue
Homepage: http://glue.readthedocs.org
Language: Python
License: BSD-3-Clause
License Family: permissive
Last push: 2022-11-29T18:01:31+00:00

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

## Adoption (not part of the score)
Stars 2530, forks 164 (observed 2026-08-28T04:06:58.792614+00:00)

## What it is
Glue is a Python command line tool that generates CSS sprites (combined images plus metadata) from folders of source images. It outputs CSS, LESS, SCSS, JSON, cocos2d, and CAAT formats with retina/multi-dpi support.

## Use cases
- generate css sprites from a folder of icons
- create sprite sheets for cocos2d games
- generate retina multi-dpi sprite images
- output sprite metadata as less or scss
- auto-crop transparent borders before spriting
- watch folders and regenerate sprites on change

## When to choose
- you need a simple CLI to combine many small images into a sprite with CSS classes
- you want multi-dpi/retina sprite support or game-engine metadata formats
- you prefer per-project, per-sprite, or per-image configuration files

## When to avoid
- your project uses modern bundlers or HTTP/2 where sprites are unnecessary
- you need active development or support for recent Python versions
- you need GUI-based sprite editing

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: cli, image-processing, css-framework
- domain: web-development, frontend, developer-tools
- platform: cli, python, cross-platform
- tags: css-sprites, sprite-generator, retina, less, scss, cocos2d, command-line

## Member repositories
- jorgebastida/glue (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:58.792614+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-30T02:25:21.278634+00:00, confidence not recorded.
  - readme: https://github.com/jorgebastida/glue (fetched 2026-08-28T04:06:58.792614+00:00, sha 513aa25023ee)
  - registry_pypi: https://pypi.org/pypi/glue/json (fetched 2026-08-29T10:08:14.167581+00:00, sha 0eb08693c7c0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
