ClaudeMods
☰
ZH-CN
● 0 人在线 · 浏览 0 次
赞助提交作品
GitHub 仓库 · 发布者 DJPalefaceSD

logo

您自己的徽标显示在提示符上方的仪表板上。它位于您的其他条带旁边,例如油量表和速度计,因此仪表板带有您的品牌。

DJPalefaceSD@DJPalefaceSD

DJPalefaceSD/rostech-mods/tree/main/plugins/logo

已翻译

关于这个 mod

徽标

您自己的徽标显示在提示符上方的仪表板上。它位于您的其他条带旁边,例如油量表和速度计,因此仪表板带有您的品牌。

  • /logo set C:/path/to/logo.png 将 PNG 放在仪表板上。带有粗体形状的方形徽标效果最佳。
  • /logo 显示正在使用的文件。
  • /logo hide 和 /logo show 切换它。

徽标以彩色块字符绘制,每个字符两个像素,因此它可以在任何可以显示颜色的终端中显示。不需要图片。

为了获得最清晰的徽标,请自行绘制一个用于仪表板的小型 PNG,边长 40 像素或更小。16x16 像素的 PNG 是一个不错的尺寸。小型 PNG 会完全按照您绘制的方式绘制,每个像素对应半个字符,没有任何模糊。

更大的 PNG 也可以。它的透明边框会被修剪,并缩小到 16x16 像素。每个像素要么是纯色,要么是透明的,绝不会是两者的模糊,但细线在该尺寸下仍然可能会断裂。

当您在自己的机器上使用 Windows PowerShell 设置它时,PNG 会被读取一次,结果会保存在 Claude Code 的插件存储中,跨会话保留。没有任何内容会被发送到任何地方。PNG 的透明部分会采用您终端自己的颜色。

目前仅限 Windows,因为读取 PNG 使用 PowerShell。

已使用 Claude Code 2.1.288 进行测试。

安装

请先查看作者 README 确认 marketplace 和插件名称;命令可能随仓库结构改变。

claude plugin marketplace add DJPalefaceSD/rostech-mods
claude plugin install logo
原文 / README

Logo

Your own logo on the dash above the prompt. It sits beside your other bands, such as Gas Gauge and Speedometer, so the dash carries your brand.

  • /logo set C:/path/to/logo.png puts a PNG on the dash. A square logo with bold shapes reads best.
  • /logo shows which file is in use.
  • /logo hide and /logo show toggle it.

The logo is drawn in coloured block characters, two pixels to a character, so it shows in any terminal that can show colour. Pictures are not needed.

For the sharpest logo, draw a small PNG for the dash yourself, 40 pixels a side or smaller. A 16 by 16 PNG is a good size. A small PNG is drawn exactly as you drew it, one pixel to half a character, with nothing blurred.

A bigger PNG works too. Its see-through border is trimmed, and it is shrunk to 16 by 16 pixels. Every pixel comes out either solid colour or clear, never a blur of the two, but thin lines can still break up at that size.

The PNG is read once when you set it, on your own machine with Windows PowerShell, and the result is kept across sessions in Claude Code's plugin store. Nothing is sent anywhere. See-through parts of the PNG take your terminal's own colour.

Windows only for now, because reading the PNG uses PowerShell.

Tested with Claude Code 2.1.288.

更多类似作品