Render LaTeX math as pure Unicode text art for terminals, code comments, and emails.
LaTeX math as pure Unicode text. For terminals, code comments, emails, and everywhere rich formatting isn't a thing.
Every equation above is pure text -- you can select it and copy-paste it anywhere. The source is standard LaTeX.
Hyades takes standard LaTeX math like this:
$$
f(x) = \overbrace{\sum_{k=0}^{n} \frac{f^{(k)}(a)}{k!}
(x-a)^k}^{\mathit{Taylor polynomial}}
+ \underbrace{R_n(x)}_{\mathit{Remainder}}
$$
and renders it as multi-line Unicode text:
๐๐๐ฆ๐๐๐ ๐๐๐๐ฆ๐๐๐๐๐๐
โญโโโโโโโโโโโโดโโโโโโโโโโโโฎ
๐ (๐)
โโโ ๐ (๐) ๐
๐(๐ฅ) = โฒ โโโโโโโโโ (๐ฅ โ ๐) + ๐
(๐ฅ)
โฑโฝโฝ ๐! ๐
๐ = 0 โฐโโโโฌโโโโฏ
๐
๐๐๐๐๐๐๐๐
or plain ASCII if you ask it to:
n (k)
--- f (a) k
f(x) = \ --------- (x - a) + R (x)
/__ k! n
k = 0
It's a native CLI binary written in pure C. As such it is extremely fast and doesn't require any additional dependencies. Linux, MacOS, and Windows, and Web (WASM) are all supported out of the box.
Try it in your browser โ -- interactive WASM playground with tutorials and a full syntax reference. No installation required.
Fractions, roots, integrals, summations, products, limits, matrices, piecewise functions, aligned equations, Greek letters, auto-scaling delimiters, overbrace/underbrace, accents, primes, binomial coefficients, extensible arrows, equation tags, you name it... Paste your existing LaTeX and it just renders.
| Category | Commands |
|---|---|
| Fractions | \frac, \dfrac, \tfrac -- infinitely nestable |
| Roots | \sqrt{x}, \sqrt[n]{x} |
| Big operators | \sum, \prod, \int, \iint, \iiint, \oint, \oiint with limits |
| Limits | \lim, \limsup, \liminf, \max, \min, \argmax, \argmin |
| Matrices | \pmatrix, \bmatrix, \Bmatrix, \vmatrix, \Vmatrix -- \begin{pmatrix} syntax works too |
| Cases | \cases{...} -- piecewise functions |
| Aligned | \aligned{...} with \intertext and \tag |
| Greek | Full lowercase (\alphaโ\omega) and uppercase (\Gammaโ\Omega) |
| Delimiters | \left/\right auto-scaling, \middle, invisible \left.\right|, \bigโ\Bigg sizing |
| Accents | \hat, \bar, \tilde, \vec, \dot, \ddot, \acute, \grave, \breve, \check |
| Wide decorations | \overline, \underline, \overbrace, \underbrace, \overrightarrow, \widehat, \widetilde |
| Annotations | \overset, \underset, \stackrel, \boxed, \tag, \substack |
| Math fonts | \mathbf, \mathbb (โโคโโโ), \mathcal, \mathfrak (๐๐
โญ), \mathsf (๐ ๐ก๐ข), \mathscr, \boldsymbol (bold Greek ๐๐, bold โ โ ๐) |
| Relations | \leq, \geq, \neq, \ll, \gg, \prec, \succ, \approx, \equiv, \sim, \propto, \coloneqq, :=, \not prefix |
| Set theory | \in, \notin, \subset, \subseteq, \cup, \cap, \setminus, \emptyset |
| Logic | \forall, \exists, \neg, \land, \lor, \implies, \iff, \therefore, \because |
| Arrows | \rightarrow, \Rightarrow, \mapsto, \hookrightarrow, \xrightarrow{f}, \xleftarrow{g} |
| Number theory | \pmod, \bmod, \mid, \binom |
| Operators | \oplus, \otimes, \odot, \circ, \bullet, \star, \dagger, \ddagger |
| Functions | \sin, \cos, \log, \ln, \exp, \det, \ker, \gcd, \operatorname{...} |
| Layout | \phantom, \smash, \mathord, \mathbin, \mathrel |
| Compat | \displaystyle, \textstyle, \notag accepted as no-ops -- paste LaTeX directly |
\table with \row/\col, 6 frame styles (single, double, bold, rounded, dotted, none), padding, alignment, column spans\fancylist builds a list using Markdown syntaxhbox/vbox containers with auto/intrinsic/fixed-width children, horizontal and vertical alignment\textbf, \textit, \texttt, \verb|...|\hrule/\vrule with auto-sizing and smart automatic junction intersectionDownload from Releases (macOS, Linux, Windows), then run the install script:
# Linux / macOS
chmod a+x install.sh
./install.sh
# Windows (PowerShell)
.\install.ps1
The script will:
$HOME/.local/bin$env:USERPROFILE\bin$HOME/.local/share/hyades/docs$env:USERPROFILE\AppData\Local\hyades
This adds hyades, cassilda, and hyades-mcp to your PATH and integrates the tree-sitter grammar and LSP server into Helix and/or Neovim if installed.
cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build
# โ build/hyades, build/cassilda
# Render LaTeX from stdin
echo '$$\sum_{i=1}^n i^2$$' | hyades
# Render a source file
hyades equations.hy
# ASCII-only output
echo '$$\int_0^1 f(x) dx$$' | hyades --ascii
# Run an interactive-mode Hyades program
hyades -c matrix_rain.hy
| hyades | Renders .hy source (or stdin) to stdout. Use for quick math, piping, code comments. |
| cassilda | Document processor for .cld files. Renders labeled sections in-place, to your code comments, or to stdout -- think Jupyter notebooks in plain text. |
# Render a labeled section to stdout
cassilda render notebook.cld section_name
# Process all sections in-place
cassilda process notebook.cld
An MCP server lets AI assistants render math expressions on the fly.
Remote -- no install, Cloudflare Worker:
# Claude Code
claude mcp add hyades --transport http https://hyades-mcp.apg.workers.dev/mcp
# Claude Desktop / Cursor / Windsurf -- add to config:
{ "mcpServers": { "hyades": { "url": "https://hyades-mcp.apg.workers.dev/mcp" } } }
Local -- offline, native binary (included in releases):
# Claude Code
claude mcp add hyades /path/to/hyades-mcp
# Claude Desktop / Cursor / Windsurf -- add to config:
{ "mcpServers": { "hyades": { "command": "/path/to/hyades-mcp" } } }
The install script automatically configures any installed editors. Manual setup is also possible -- config files are in editor-configs/ within the release.
Helix and Neovim get full integration out of the box:
.hy and .cld files)
Hyades in Helix on MacOS (GhosTTY, font: PragmataPro Mono)
Hyades in Helix on Windows (font: JuliaMono)
A VS Code extension is also available. (I'm yet to polish and publish it, should be a matter of days.)
Hyades has an bytecode compiler and a stack-based VM (called Subnivean), which allows you to write pretty much any computational code to support your macros and rendering. Two fun examples are included in the release package. The first is the Matrix code effect for the terminal
And the second one is interactive Game of Life
Which is also a direct proof of Hyades' Turing-completeness.
I started this project before the era of AI, so about half of it was made without it, and later Claude helped me greatly to implement features that would take me weeks on my own, especially with a small baby to take care of, and to bring this project to completion.
This listing does not have a supported local package template. Use the maintainerโs documentation for its hosted endpoint, authentication, and client-specific setup. No install command has been inferred.