Scrybe CLI — headless Markdown render/lint/mermaid tool (binary wheel)
Project description
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 four primary 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, --full-html, --output |
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 |
scrybe mermaid verify PNG |
Verify SHA-256 integrity of embedded source; exits 1 if tampered |
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scrybe_cli-0.1.0a4-py3-none-win_amd64.whl.
File metadata
- Download URL: scrybe_cli-0.1.0a4-py3-none-win_amd64.whl
- Upload date:
- Size: 1.9 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c17c8e995128aae40ac9c47c85762cb7bbbc751c799b1eb4e1733a4437a0593
|
|
| MD5 |
1a4320520dc308527c82b82c20d80352
|
|
| BLAKE2b-256 |
1fc34857e50f3472c7ef6cc4f7fd5fd61a1a093968ae4d472d32d36741a47e9b
|
Provenance
The following attestation bundles were made for scrybe_cli-0.1.0a4-py3-none-win_amd64.whl:
Publisher:
release.yml on hartsock/scrybe
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scrybe_cli-0.1.0a4-py3-none-win_amd64.whl -
Subject digest:
5c17c8e995128aae40ac9c47c85762cb7bbbc751c799b1eb4e1733a4437a0593 - Sigstore transparency entry: 1479621530
- Sigstore integration time:
-
Permalink:
hartsock/scrybe@b9792f385aa8ee5a7c9dd13116ed1e8205cabcf7 -
Branch / Tag:
refs/heads/release/v0.1.0a4 - Owner: https://github.com/hartsock
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b9792f385aa8ee5a7c9dd13116ed1e8205cabcf7 -
Trigger Event:
push
-
Statement type:
File details
Details for the file scrybe_cli-0.1.0a4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: scrybe_cli-0.1.0a4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 2.2 MB
- Tags: Python 3, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7bd1e1ad6557a05712d919e187ceb8e37d5e55e1f2fa8d57af8bc04dfc21912a
|
|
| MD5 |
d75d85755547dc6fd9495f7213f8793e
|
|
| BLAKE2b-256 |
9a601430f08a04f885d6c72c395c69b2b146551ea059dc25fd3bcf836839c879
|
Provenance
The following attestation bundles were made for scrybe_cli-0.1.0a4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
release.yml on hartsock/scrybe
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scrybe_cli-0.1.0a4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
7bd1e1ad6557a05712d919e187ceb8e37d5e55e1f2fa8d57af8bc04dfc21912a - Sigstore transparency entry: 1479621584
- Sigstore integration time:
-
Permalink:
hartsock/scrybe@b9792f385aa8ee5a7c9dd13116ed1e8205cabcf7 -
Branch / Tag:
refs/heads/release/v0.1.0a4 - Owner: https://github.com/hartsock
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b9792f385aa8ee5a7c9dd13116ed1e8205cabcf7 -
Trigger Event:
push
-
Statement type:
File details
Details for the file scrybe_cli-0.1.0a4-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: scrybe_cli-0.1.0a4-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 2.0 MB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02aedc34401613e2e11e020c11be9cacb728ba2a1b2e360bb265cf639d5638c6
|
|
| MD5 |
4b7b9b2ec92df6bedc97ba5391df41ee
|
|
| BLAKE2b-256 |
3dc40ae46e2b325f1d7410454e4f6ad350d2d25d4937082ef1bfd4e5a78e0e08
|
Provenance
The following attestation bundles were made for scrybe_cli-0.1.0a4-py3-none-macosx_11_0_arm64.whl:
Publisher:
release.yml on hartsock/scrybe
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scrybe_cli-0.1.0a4-py3-none-macosx_11_0_arm64.whl -
Subject digest:
02aedc34401613e2e11e020c11be9cacb728ba2a1b2e360bb265cf639d5638c6 - Sigstore transparency entry: 1479621456
- Sigstore integration time:
-
Permalink:
hartsock/scrybe@b9792f385aa8ee5a7c9dd13116ed1e8205cabcf7 -
Branch / Tag:
refs/heads/release/v0.1.0a4 - Owner: https://github.com/hartsock
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b9792f385aa8ee5a7c9dd13116ed1e8205cabcf7 -
Trigger Event:
push
-
Statement type: