Secryst is coined from scrying + crystal: gazing into an opaque script to reveal its hidden reading — the vowels, phonemes, and word boundaries that live in the reader's mind but not on the page.
This package is the TypeScript/Node crystal of the family (Python:
pip install secryst — secryst/secryst-py;
Ruby: gem secryst — secryst/secryst).
All crystals implement the interscript-ml contract: the models.yaml
index, IMF v1 model zips (sha256-verified), and shared golden sets
(interscript/interscript-ml).
npm install secryst onnxruntime-node
onnxruntime-node is an optional peer: registry/index consumers can use
this package without it.
import { load } from "secryst";
const model = await load("khm-latn-1.0"); // resolve -> download ->
// sha256-verify -> cache
await model.translate("ភាសា"); // -> "pheasaea"Env overrides: SECRYST_INDEX (index URL or path), SECRYST_CACHE
(cache dir; default ~/.cache/secryst). Cache hits are re-verified
against the index.
Golden sets are generated by the Python crystal (the reference); Ruby and TypeScript crystals diff against them in CI.
License: BSD-3-Clause.