scrybe-cli
Headless CLI binary for Scrybe: render, lint, mermaid encode/decode, and GUI
launcher. Distributed as a maturin binary wheel (scrybe-cli). Python on
the outside, Rust on the inside.
What it does
Provides a scrybe command-line tool with a set of subcommands plus a
bare invocation shortcut. The binary is self-contained — no Python runtime
required at execution time when installed from the wheel.
Role in the architecture
scrybe-cli is the human-facing entry point for headless use and scripting.
It delegates to scrybe-core, scrybe-render, and scrybe-mermaid. It is
also the launcher for the Tauri GUI app: scrybe file.md locates the
Scrybe.app bundle (macOS) or scrybe-app binary and opens the file in it.
Subcommands
| Command | Description |
|---|---|
scrybe render [FILE] |
Render Markdown to HTML (stdin → stdout by default); --theme, --profile app|site (default app), --body-only, --full-html, --output |
scrybe view FILE |
View a Markdown file in the terminal (single-pane TUI): j/k scroll, g/G top/bottom, q quits; requires a TTY (exits 2 in a pipe) |
scrybe lint FILE |
Word count, headings, code blocks, broken links; --json for machine output; exits 1 if broken links found |
scrybe mermaid embed PNG SOURCE |
Embed Mermaid source into PNG iTXt chunk |
scrybe mermaid extract PNG |
Print embedded Mermaid source, verifying its SHA-256 by default; exit 2 if tampered, --unverified to skip the check (forensics) |
scrybe mermaid verify PNG |
Verify SHA-256 integrity of embedded source; exits 1 if tampered or digest missing |
scrybe open [PATH] |
Launch the Scrybe GUI, optionally at a file or directory |
scrybe version |
Print version and active feature flags |
scrybe [PATH] |
Bare invocation with a path injects open automatically |
On macOS, scrybe open prefers the .app bundle via open -n -a to satisfy
WebKit's bundle entitlement requirements.
Key library helpers (for integration)
| Symbol | Description |
|---|---|
lint_document(doc) -> LintReport |
Programmatic lint used by both CLI and MCP lint tool |
wrap_full_html(output, title) |
Wraps a RenderOutput in a complete <!DOCTYPE html> with CDN tags |
version_string() / active_features() |
Used by scrybe version |
Build and install
# Rust build (produces scrybe binary)
cargo build -p scrybe-cli --release
# Python wheel (maturin)
maturin build -m scrybe-cli/Cargo.toml --release
pip install target/wheels/scrybe_cli-*.whl
# Run tests
cargo test -p scrybe-cli
Site HTML fragments
Use scrybe render --profile site --body-only with Markdown on stdin to write a
body-only HTML fragment on stdout for a site converter. The site profile enables
smart punctuation and keeps math delimiters literal. --body-only omits the theme
<style> block and conflicts with --full-html. Site uses unhighlighted,
production-shaped code blocks, ordinary Mermaid fences, automatic heading IDs,
and namespaced footnote IDs. HTML remains escaped. Without the new flags, output is
unchanged: the app dialect with theme CSS prepended. Unknown profiles are rejected.
Metadata
Release files for scrybe-cli 0.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| scrybe_cli-0.7.0.tar.gz | 220.5 kB | With provenance | Details for scrybe_cli-0.7.0.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| scrybe_cli-0.7.0-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details for scrybe_cli-0.7.0-py3-none-win_amd64.whl |
| scrybe_cli-0.7.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl | Python 3 | none | Linux glibc 2.17+ x86-64 | Details for scrybe_cli-0.7.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
| scrybe_cli-0.7.0-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details for scrybe_cli-0.7.0-py3-none-macosx_11_0_arm64.whl |
Total release size: 16.7 MB
Release files / scrybe_cli-0.7.0.tar.gz
| Download URL | scrybe_cli-0.7.0.tar.gz |
|---|---|
| Size | 220.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
537b00bdb0bba069f5f7a04479901d46bd1029777fdbfa5fa4179b25b10da737
|
|
BLAKE2b-256 checksum How to use checksums |
5829ef62c50064953c2ae7711bcc1b29c019462dab9662bef44a0cd98493d19d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.
Transparency logRelease files / scrybe_cli-0.7.0-py3-none-win_amd64.whl
| Download URL | scrybe_cli-0.7.0-py3-none-win_amd64.whl |
|---|---|
| Size | 5.2 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
294aa195be1a2332264925832903644cd90097a00356ceed69445f7d6c2a8c0c
|
|
BLAKE2b-256 checksum How to use checksums |
93096d82550c80895491c6ab8b579671f01449e38e9db9bd06aa0e912cd4ac28
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.
Transparency logRelease files / scrybe_cli-0.7.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | scrybe_cli-0.7.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 6.0 MB |
| Tags | Linux glibc 2.17+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
442f39048fa9ae610acf88fcb550a1a21dcd2577a06e106c73f977bbd8f0bb86
|
|
BLAKE2b-256 checksum How to use checksums |
96eefd670da7907dc447b7cf1556aad6f8fbefdadaa0ac1cead878c6fe315069
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.
Transparency logRelease files / scrybe_cli-0.7.0-py3-none-macosx_11_0_arm64.whl
| Download URL | scrybe_cli-0.7.0-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 5.3 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
de188e3e6ae7df29bc3a003605d8709561b941e673e6feb68932e035ae53ad81
|
|
BLAKE2b-256 checksum How to use checksums |
ca2f59b88131d8908c28fa17e32c817fdd4eaee034fd832f4ec81c06140a4c0b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.
Transparency logSecurity for scrybe-cli 0.7.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 4 files in this release have been uploaded with provenance metadata.
Attestation for scrybe_cli-0.7.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.