# JohnSundell/Plot

A DSL for writing type-safe HTML, XML and RSS in Swift.

Repository: https://github.com/JohnSundell/Plot
Canonical: https://ross.abutalabs.com/products/johnsundell-plot
Language: Swift
License: MIT
License Family: permissive
Topics: dsl, html, rss, xml, templating, static-site-generation
Last push: 2024-07-22T09:20:39+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": 2469, "days_push": 772, "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 2030, forks 144 (observed 2026-08-28T04:06:07.177223+00:00)

## What it is
Plot is a Swift DSL for writing type-safe HTML, XML, and RSS using native compiled Swift code. It is primarily aimed at static site generation and Swift-based web development, with automatic metadata insertion for SEO and social sharing.

## Use cases
- generate html pages in swift
- build a static site with swift
- create rss feeds programmatically
- write type-safe xml documents
- render web page templates in swift
- add seo and social meta tags automatically

## When to choose
- you want to generate HTML/XML/RSS from Swift code with compile-time safety
- you are building a static site generator or Swift-based web backend
- you want automatic metadata like Open Graph and Twitter cards

## When to avoid
- you need dynamic client-side rendering or a JavaScript frontend framework
- your project is not in the Swift ecosystem
- you need a full-featured templating language with logic and control flow beyond Swift code

## Facets
- artifact type: library
- maturity: maintenance
- function: templating, static-site-generator, ssr
- domain: web-development, frontend, documentation
- platform: -
- tags: dsl, html, xml, rss, type-safe, swift-package-manager, macos, linux, swift

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

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:07.177223+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:59:34.135436+00:00, confidence not recorded.
  - readme: https://github.com/JohnSundell/Plot (fetched 2026-08-28T04:06:07.177223+00:00, sha 91568131c186)
- Data as of 2026-08-30T08:39:29.467469+00:00.
