← 返回
未分类 中文

avatar-generator

Generate a deterministic pixel-art avatar SVG from a seed string using the @bitmappunks/avatar-generator npm package (version 0.0.5, run via npx), and save i...
使用 @bitmappunks/avatar-generator npm 包(版本 0.0.5,使用 npx)从种子字符串生成确定性像素艺术头像 SVG 并保存 ...
tt-u tt-u 来源
未分类 clawhub v0.1.2 1 版本 100000 Key: 无需
★ 1
Stars
📥 424
下载
💾 0
安装
1
版本
#latest

概述

Avatar Generator

> English · 中文

Generate a deterministic SVG avatar by running @bitmappunks/avatar-generator@0.0.5 via npx. Same seed → same avatar.

Version is locked to 0.0.5. Do not upgrade or drop the version pin without explicit user instruction.

Inputs required

  1. seed — the string that deterministically produces the avatar. Optional: if omitted, default to the current Unix timestamp in seconds so the result changes each time, and report the exact seed used back to the user.
  2. output path — where the .svg file is saved. If the user gave a directory, join it with .svg. If no path was given, default to ./.svg in the current working directory and tell the user what path you used.

Ask only if the output path is ambiguous.

Run

npx -y @bitmappunks/avatar-generator@0.0.5 --out "<output-path>" --seed "<seed>"
  • -y auto-accepts the npx install prompt.
  • The @0.0.5 pin is required — never run it unpinned (@latest or bare).
  • Resolve to the user-provided seed, otherwise use the current Unix timestamp in seconds.

Preview

Render the generated SVG inline in the terminal using the bundled scripts/svg-tui.js (resolve its path from this skill's base directory, shown in the skill-load message):

node "<skill-base-dir>/scripts/svg-tui.js" "<output-path>"

It parses the avatar's pixel stripes and prints them as ANSI truecolor blocks — works in any terminal transcript that supports 24-bit color, with no external dependency beyond node (already required by npx).

Confirm

Tell the user the absolute output path and the seed. One sentence.

Notes

  • Output is SVG only. For PNG or resizing, convert separately (e.g. rsvg-convert, sharp) — don't silently change format.
  • One seed per invocation. For multiple seeds, loop the command.
  • If npx errors (network, registry, install), surface the error — don't retry silently or fall back to a different version.

版本历史

共 1 个版本

  • v0.1.2 当前
    2026-05-03 08:23 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

design-media

Video Frames

steipete
使用 ffmpeg 从视频中提取帧或短片。
★ 137 📥 53,437
design-media

UI/UX Pro Max

xobi667
提供 UI/UX 设计智能与实现指导,帮助打造精美界面。适用于 UI 设计、UX 流程、信息架构、视觉风格、设计系统/标记、组件规格、文案/微文案、无障碍及前端 UI(HTML/CSS/JS、React、Next.js、Vue、Svelte
★ 233 📥 49,867
design-media

Nano Banana Pro

steipete
使用 Nano Banana Pro (Gemini 3 Pro Image) 生成或编辑图像。支持文生图、图生图及 1K/2K/4K 分辨率,适用于图像创建、修改及编辑请求,使用 --input-image 指定输入图像。
★ 439 📥 118,575