Skip to main content

arthash

Sterne10
Forks1
Aktualisiert18. Mai 2026 um 09:53

Use arthash to add tiny placeholder-image hashes (17–400 bytes) to an application — the artistic alternative to blurhash / thumbhash / sqip. Trigger this skill when the user wants to render a low-quality image preview (LQIP) while a real image loads, replace blurhash or thumbhash, generate SVG placeholders without spawning a Go subprocess (sqip), or produce a stylised mosaic from a palette. arthash ships three SDKs (Rust crate, Python `arthash`, npm `arthash`) that all read and write the same byte format, so a hash made on the server decodes identically in the browser. This skill covers picking the right SDK, the right mode (default `RECT` and other shape modes `TRIANGLE` / `CIRCLE` / `SQUARE` / `ROTATED_RECT` for SVG, `PIXEL` for mosaic, `DCT` only when you specifically want a blurhash/thumbhash-style blurry look), the right palette, the encode → store → decode → render lifecycle, and the small pitfalls (codecs are not in the bytes; inputs must be small; SVG modes vs raster modes). Per-language API details l

Installation

Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.

Datei-Explorer
4 Dateien
SKILL.md
readonly