Skip to main content

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, 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scrybe_cli-0.6.1.tar.gz (164.0 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

scrybe_cli-0.6.1-py3-none-win_amd64.whl (4.9 MB view details)

Uploaded Python 3Windows x86-64

scrybe_cli-0.6.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.7 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

scrybe_cli-0.6.1-py3-none-macosx_11_0_arm64.whl (5.1 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

Details for the file scrybe_cli-0.6.1.tar.gz.

File metadata

  • Download URL: scrybe_cli-0.6.1.tar.gz
  • Upload date:
  • Size: 164.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for scrybe_cli-0.6.1.tar.gz
Algorithm Hash digest
SHA256 0f8d73453ea4bf0c687c19600d3c816aa2fbc6a0b48215dc4da3e625dea99862
MD5 9ff36b0519f3ef7e358c68ecb5dbf8ae
BLAKE2b-256 1cd44477a9aff4f38e12282092abab2d781b6b7e0c1c80ed8a6ba87afc90822d

See more details on using hashes here.

Provenance

The following attestation bundles were made for scrybe_cli-0.6.1.tar.gz:

Publisher: release.yml on hartsock/scrybe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file scrybe_cli-0.6.1-py3-none-win_amd64.whl.

File metadata

  • Download URL: scrybe_cli-0.6.1-py3-none-win_amd64.whl
  • Upload date:
  • Size: 4.9 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for scrybe_cli-0.6.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 acc2dc4a043a205225760e427d236e2a84e2c54f2bc35e5b6c504c8895b8d57a
MD5 e3f09b9282685b99d7de745389eb1c17
BLAKE2b-256 2b0ea5b5c72561bfb76a681caf7b99b30994948b3c5a33955bb811c73caed593

See more details on using hashes here.

Provenance

The following attestation bundles were made for scrybe_cli-0.6.1-py3-none-win_amd64.whl:

Publisher: release.yml on hartsock/scrybe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file scrybe_cli-0.6.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for scrybe_cli-0.6.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 de5d4a58995aa5f68abc1283cbd002e97ec693ca010a4deafeb8fd2d425facb6
MD5 250a0ddd05db89a5f950d6156d0077bf
BLAKE2b-256 42f14a38c320c26e6fc83ce72f80706fceea92e51a249b0d713967280d453272

See more details on using hashes here.

Provenance

The following attestation bundles were made for scrybe_cli-0.6.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on hartsock/scrybe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file scrybe_cli-0.6.1-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for scrybe_cli-0.6.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b1768521091eb3d42e56574a2f8dce13d2ffeb53481571518837acbe20d0ce16
MD5 4f11430e2364672673a1fca529bcfa1e
BLAKE2b-256 3fdcff83356ea23a5285f5ebed3c2950180357d763f0515685c303e40f0c175a

See more details on using hashes here.

Provenance

The following attestation bundles were made for scrybe_cli-0.6.1-py3-none-macosx_11_0_arm64.whl:

Publisher: release.yml on hartsock/scrybe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page