extract-vault-protocol-logo
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseExtract vault protocol logo
提取Vault协议Logo
This skill extracts and saves a logo for vault protocol metadata stored in this repo.
本Skill用于提取并保存存储在本仓库中的Vault协议元数据对应的Logo。
Inputs
输入
- Vault protocol name
- Vault协议名称
Step 1: Find protocol homepage link
步骤1:查找协议主页链接
Get the homepage link from the protocol-specific YAML file in .
eth_defi/data/vaults/metadata从目录下的协议专属YAML文件中获取主页链接。
eth_defi/data/vaults/metadataStep 2: Extract the logo
步骤2:提取Logo
Use skill.
extract-project-logo- Give the protocol homepage link as an input
- Save the logos to the folder
eth_defi/data/vaults/original_logos/{protocol slug} - Use filenames like
- for generic logo versions
{protocol slug}.generic.{image file extension} - for light background theme
{protocol slug}.light.{image file extension} - for dark background theme
{protocol slug}.dark.{image file extension}
Don't convert image file formats or do any image post-processing of the logos yet, just save as many as possible original logos for now.
使用 Skill。
extract-project-logo- 将协议主页链接作为输入
- 将Logo保存到文件夹中
eth_defi/data/vaults/original_logos/{protocol slug} - 使用如下命名规则:
- 通用版本Logo命名为
{protocol slug}.generic.{image file extension} - 浅色背景主题Logo命名为
{protocol slug}.light.{image file extension} - 深色背景主题Logo命名为
{protocol slug}.dark.{image file extension}
- 通用版本Logo命名为
目前暂不要转换图片格式或对Logo进行任何后期图像处理,只需尽可能多地保存原始Logo即可。