# JohnSundell/Splash

A fast, lightweight and flexible Swift syntax highlighter for blogs, tools and fun!

Repository: https://github.com/JohnSundell/Splash
Canonical: https://ross.abutalabs.com/products/johnsundell-splash
Language: Swift
License: MIT
License Family: permissive
Topics: swift, syntax-highlighting, command-line-tool, swift-package
Last push: 2024-05-27T11:18:15+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2933, "days_push": 828, "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 1870, forks 148 (observed 2026-08-28T04:05:46.784406+00:00)

## What it is
Splash is a fast, lightweight Swift syntax highlighter that can be used as a Swift Package Manager library or via built-in command line tools. It generates syntax-highlighted HTML for blog posts, images from Swift code strings, and supports integration with static site generators like Publish and Jekyll.

## Use cases
- highlight swift code in blog posts
- generate html from swift code snippets
- convert swift code to a syntax highlighted image
- add swift syntax highlighting to a static site generator
- build custom developer tools that render swift code
- style code samples with custom css classes

## When to choose
- you need to highlight Swift code specifically in HTML, images, or custom tools
- you use Publish or Jekyll and want integrated Swift highlighting
- you want a lightweight, fast highlighter without hardcoded styling

## When to avoid
- you need syntax highlighting for languages other than Swift
- you need a JavaScript-based client-side highlighter for a dynamic website
- you need highlighting of very recent Swift syntax versions

## Facets
- artifact type: library
- maturity: maintenance
- function: parser, cli, developer-tools
- domain: developer-tools, web-development, documentation
- platform: cli
- tags: syntax-highlighting, swift, html-generation, code-to-image, static-site, macos, linux

## Member repositories
- JohnSundell/Splash (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:46.784406+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-30T03:15:03.546124+00:00, confidence not recorded.
  - readme: https://github.com/JohnSundell/Splash (fetched 2026-08-28T04:05:46.784406+00:00, sha c974cde4472d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
