← Commit history
1.0.2: binary as release asset (#132), draco-capable build; hero + discovery
3 files changed
+55−4
docs/hero.pngadded⋯ 1 unchanged line ⋯
install.sh+15@@ -1,6 +1,21 @@ #!/bin/bash set -e PKG_DIR="$(cd "$(dirname "$0")" && pwd)"++# Binary ships as a wiki RELEASE ASSET (issue #132: the tarball never carried+# it and the old 102MB files entry was a phantom). Version from the manifest.+DEST="/usr/local/bin/adom-glb2png"+VER="$(grep -o '"version"[^,]*' "$PKG_DIR/package.json" | grep -o '[0-9][0-9.]*' | head -1)"+BIN_URL="https://wiki.adom.inc/download/kyle/adom-glb2png/${VER}/adom-glb2png"+TMP_BIN="$(mktemp)"+if curl -fsSL "$BIN_URL" -o "$TMP_BIN"; then+ if [ -w "$(dirname "$DEST")" ]; then install -m 0755 "$TMP_BIN" "$DEST"; else sudo install -m 0755 "$TMP_BIN" "$DEST"; fi+ echo "Installed adom-glb2png ${VER} binary -> $DEST"+else+ echo "WARN: no release asset at $BIN_URL — skills installed, binary skipped" >&2+fi+rm -f "$TMP_BIN"+ SKILLS_DIR="$HOME/.claude/skills" mkdir -p "$SKILLS_DIR/adom-glb2png" if [ -f "$PKG_DIR/SKILL.md" ]; then
package.json+40−4@@ -1,11 +1,47 @@ { "slug": "adom-glb2png",- "version": "1.0.0",+ "version": "1.0.2", "type": "app",- "description": "Render a GLB to a PNG via headless three.js. CLI sibling to step2glb / adom-pin1-truth — gives Claude (and you) a way to verify 3D component models without spinning up a webview screenshot loop.",+ "description": "Render a GLB to a PNG via headless three.js. CLI sibling to step2glb / adom-pin1-truth \u2014 gives Claude (and you) a way to verify 3D component models without spinning up a webview screenshot loop.", "dependencies": {}, "scripts": { "install": "./install.sh", "uninstall": "./uninstall.sh"- }-}+ },+ "tags": [+ "cli",+ "3d",+ "glb",+ "render",+ "molecule-pipeline"+ ],+ "hero": {+ "headline": "adom-glb2png",+ "subhead": "GLB to PNG renders via headless three.js",+ "screenshot": "docs/hero.png"+ },+ "discovery_triggers": [+ "glb to png",+ "render glb",+ "glb thumbnail",+ "molecule thumbnail",+ "3d model screenshot",+ "board render png",+ "glb2png"+ ],+ "discovery_pitch": "Render any GLB (molecule, board, chip) to a clean PNG from the terminal \u2014 headless three.js with draco support, five camera views, no GUI needed.",+ "sample_prompts": [+ {+ "label": "Render a molecule",+ "prompt": "Render this molecule GLB to a PNG"+ },+ {+ "label": "Top-view thumbnail",+ "prompt": "Make a thumbnail of board.glb from the top view"+ },+ {+ "label": "Model screenshot",+ "prompt": "Screenshot this 3D model as a PNG"+ }+ ]+}