{"repo":"1amageek/swift-artifact","free":true,"listed":false,"github":"https://github.com/1amageek/swift-artifact","clone":"git clone https://github.com/1amageek/swift-artifact.git","description":"Swift/SwiftUI library for rendering LLM-generated <artifact> blocks in chat interfaces. Supports Markdown, JSON, CSV, Code, SVG, GeoJSON, HTML, React, Mermaid, LaTeX, Vega-Lite, GLTF, USDZ.","language":"Swift","stars":10,"topics":["ai","anthropic","artifact","chat","claude","ios","json-ld","knowledge-graph","latex","llm"],"license":"MIT","category":"mobile-apps","readme_excerpt":"swift-artifact A Swift/SwiftUI library for displaying LLM-generated blocks inside chat interfaces. Parses Claude-style artifact tags, models them as values, and renders each one through a pluggable renderer protocol — with first-class support for partial rendering while a model is still streaming. - Swift 6.3+ , iOS / macOS / iPadOS / visionOS / Mac Catalyst 26+ - One umbrella module ( SwiftArtifact ) or five fine-grained libraries — pick your granularity - Two-stage rendering model : every renderer declares a refine( :) step that reduces the in-flight payload to a renderer-valid subset, so the body never sees half-formed input - Streaming-aware refiners for JSON, SVG, Mermaid, LaTeX, CSV, Markdown, GeoJSON, Turtle, TriG, N-Quads, RDF/XML, and JSON-LD — partial output is drawn as it arrives, not after the final token. Binary document and image renderers wait for a complete payload before decoding. - Environment-driven renderer registry — call .artifactRenderer( :) once at the top of your view tree and let ArtifactView resolve the right renderer - Local and HTTPS file entry points through ArtifactCanvas(url:) , with bounded loading, MIME detection, and the same renderer registry used by inline artifacts This README and the public API documentation define the current contract. SPEC.md is retained only as a historical pre-implementation draft. Installation The simplest option is the umbrella product SwiftArtifact , which re-exports every sub-module: If you want to pull in only a","default_branch":null,"files":null,"tree":[],"storefront":"/r/1amageek","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/1amageek/swift-artifact/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}