# gfngfn/SATySFi

A statically-typed, functional typesetting system

Repository: https://github.com/gfngfn/SATySFi
Canonical: https://ross.abutalabs.com/products/satysfi
Language: OCaml
License: LGPL-3.0
License Family: copyleft
Topics: ocaml, markup-language, latex, functional-programming, pdf-generation, opentype, satysfi, opam, pdf, typesetting-system, programming-language
Last push: 2026-04-12T17:02:54+00:00

## Health v2 (maintenance only)
Score: 57/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 77, release rhythm 8, longevity 100
- inputs: {"age_days": 4185, "days_push": 143, "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 1247, forks 86 (observed 2026-08-28T04:04:07.548452+00:00)

## What it is
SATySFi is a typesetting system built around a statically-typed, functional programming language, producing PDF documents. It combines a LaTeX-like text layer for writing documents with an OCaml-like program layer for defining custom commands, with informative type error reporting.

## Use cases
- typeset academic papers and technical documents to pdf
- write documents with custom markup commands
- find a latex alternative with better error messages
- define reusable document macros in a functional language
- generate pdfs with precise opentype font control

## When to choose
- you want programmable, statically-checked typesetting with custom commands
- you prefer functional programming over latex macros
- you need informative type errors while writing documents

## When to avoid
- you need a mature ecosystem with extensive latex package compatibility
- you want a wysiwyg word processor
- you cannot install ocaml/opam toolchains

## Facets
- artifact type: application
- maturity: active
- function: templating, pdf, programming-language, parser
- domain: documentation, pdf, programming-languages, text-editors
- platform: windows, cli
- tags: typesetting, latex-alternative, ocaml, statically-typed, opentype, document-preparation, linux, macos

## Member repositories
- gfngfn/SATySFi (main) score 57

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:07.548452+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-30T05:07:57.216787+00:00, confidence not recorded.
  - readme: https://github.com/gfngfn/SATySFi (fetched 2026-08-28T04:04:07.548452+00:00, sha 9fc5729af3dc)
- Data as of 2026-08-30T08:39:29.467469+00:00.
