# remy/inliner

Node utility to inline images, CSS and JavaScript for a web page - useful for mobile sites

Repository: https://github.com/remy/inliner
Canonical: https://ross.abutalabs.com/products/inliner
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2022-10-02T18:23:04+00:00

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

## Adoption (not part of the score)
Stars 1117, forks 164 (observed 2026-08-28T04:03:39.087914+00:00)

## What it is
A Node.js utility and CLI that converts a web page into a single self-contained HTML file by inlining CSS, JavaScript, images, and videos (base64 data URLs), with minification via UglifyJS. It can also be used programmatically as a library.

## Use cases
- inline all css js and images into a single html file
- reduce http requests for mobile web pages
- create single-file html for appcache or offline use
- base64 encode images into html automatically
- minify and bundle a web page for production
- inline a web page programmatically from a node script

## When to choose
- you need a fully self-contained single HTML file from a web page
- you want to eliminate HTTP requests for mobile or offline scenarios
- you want both a CLI and a Node.js API for inlining assets

## When to avoid
- you need a modern bundler with tree-shaking and module graphs
- your page relies on dynamic or deferred asset loading that inlining would break
- you need active development or recent feature support

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: cli, developer-tools, compression, build-tool, web-scraping
- domain: web-development, frontend, developer-tools
- platform: cli, cross-platform
- tags: html-inlining, base64-encoding, asset-bundling, single-file-html, minification, command-line, nodejs

## Member repositories
- remy/inliner (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:39.087914+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-30T06:41:54.855499+00:00, confidence not recorded.
  - readme: https://github.com/remy/inliner (fetched 2026-08-28T04:03:39.087914+00:00, sha 0413d92a947e)
  - registry_npm: https://registry.npmjs.org/inliner (fetched 2026-08-29T12:45:36.880030+00:00, sha 85d033a9b130)
- Data as of 2026-08-30T08:39:29.467469+00:00.
