Small scripts. A shared open-source library.
Explore scripts created and reviewed by OpenViST for AI, agents, blockchain and crypto. Understand each task, check its sources and download the open examples for your own environment.
79 recipes found.
Python
Summarize field presence and value types in JSON records with Python
Inspect a small JSON array of objects and report field coverage and top-level value type counts without printing the values.
Open recipe → Python · v0.1.0 · OriginalCompare two JSON objects and report changed paths with Python
Find added, removed and changed JSON object paths without fetching an API or altering either input.
Open recipe → Python · v0.1.0 · OriginalValidate CSV columns and detect duplicate rows with Python
Check required CSV columns and identify exact duplicate rows before an import.
Open recipe → Python · v0.1.1 · OriginalCalculate effective PumpSwap quote reserves from pool values
Given a PumpSwap pool's quote-vault token amount and signed virtual quote reserves, calculate and display the effective quote reserves used for quoting and pricing.
Open recipe → Python · v0.1.1 · OriginalCompare Local CSV Records by a Chosen Key
Compare two local CSV files using a CLI-selected key column and report keys that are added, removed, or present in both files with changed values, without modifying either file.
Open recipe → Python · v0.1.1 · OriginalValidate JSON Arguments in Saved XML Tool Calls
Read a local XML workflow and report tool-call elements whose `arguments` attribute is not valid JSON, without executing or modifying the workflow.
Open recipe → Python · v0.1.0 · OriginalCheck Local XML Workflow References
Read an XML workflow file and report elements whose `ref` attribute points to no declared `id`, without executing or modifying the workflow.
Open recipe → Python · v0.1.0 · OriginalInspect Agent Workflow Nodes in a Local XML File
Read a saved XML workflow file and print the tag names and attributes of elements selected by an exact tag name, without executing or modifying the workflow.
Open recipe →Rust
Audit Tabs in Saved Text
Read one UTF-8 text file or standard input and report the total number of tab characters, the number of lines containing at least one tab, and the one-based line numbers of those lines. Treat the input as read-only data; do not execute or modify it.
Open recipe → Rust · v0.1.0 · AdaptedCount Lines in a Local UTF-8 File or Standard Input
Create a Rust 2021 CLI that streams one UTF-8 file or standard input (`-`) and reports total, blank, and nonblank line counts. Propagate I/O and UTF-8 errors instead of silently truncating input.
Open recipe →JavaScript
Group HTTP(S) URLs by Hostname from a Local Text File
Read a UTF-8 text file or standard input, parse each nonempty line as an absolute HTTP(S) URL, and print a JSON object of hostname counts. Reject malformed lines without fetching any URL.
Open recipe → JavaScript · v0.1.0 · OriginalValidate Hexadecimal Event IDs and Find Duplicates
Read a JSON array of hexadecimal event ID strings from a UTF-8 file or standard input, validate each value, normalize valid IDs to lowercase without an optional leading `0x`, and report duplicate positions. Do not convert IDs to numbers or claim chain validity.
Open recipe →Adjustable code previews are assembled locally in your browser. Running the downloaded examples requires your own environment and, where applicable, a provider account.
A recipe has a history
Every example records its sources, scope of testing and version. New versions are imported after their code and instructions are checked.
Explore the project directory and documented task routes for the wider context.
