1
0
This commit is contained in:
2023-04-01 04:51:52 +09:00
commit ad8daeb7d1
65 changed files with 344 additions and 0 deletions

80
public/card/card.json Normal file
View File

@@ -0,0 +1,80 @@
[
{
"id": 0,
"h": "創造",
"src": "89",
"cid": "bafkreibh4nmdgyzvjvkhek2ultx4lsrrq2dnc7z2lqbua2ik47xo2zgkru"
},
{
"id": 1,
"h": "夢幻",
"src": "100",
"cid": "bafkreiajf5lblrojyo7vcqdhiqgbhd5eaj3u47mvvqf63kvexwfwphpx2y"
},
{
"id": 2,
"h": "光輝",
"src": "109",
"cid": "bafkreieywv4thvjrwbcf2dcol4svwmculf5qm2kvjtu2ywyyh56c7swi64"
},
{
"id": 3,
"h": "中性子",
"src": "88",
"cid": "bafkreieuphzhesuoqouszzwuv3iw7d5nz4eamlqc2csfv26d5vmcdg2qby"
},
{
"id": 4,
"h": "太陽",
"src": "59",
"cid": "bafkreifw7f44ldmi7bufs5rzwftjvgmsflekkvxazqns63venm7hqnql3q"
},
{
"id": 5,
"h": "夜空",
"src": "112",
"cid": "bafkreicuieuz6wjva7l7t2u5n46izxs7nku6tedlgtlgkabszjz5dn3yl4"
},
{
"id": 6,
"h": "白雪",
"src": "15",
"cid": "bafkreihl5ifvl3ougbfdjfdjwrhdjrncqm5opj65cteow5f2aj7p6nz42y"
},
{
"id": 7,
"h": "雷帝",
"src": "30",
"cid": "bafkreihylxc22kfcb3bereypl6tvqkiqtazod3tp7vbze7yxdqedwli6z4"
},
{
"id": 8,
"h": "超究",
"src": "108",
"cid": "bafkreieq4tdiq72tsbvqv5bnitd5sj5bbvtmee5off3k4nvl7za3plhj5m"
},
{
"id": 9,
"h": "剣技",
"src": "103",
"cid": "bafkreig2uzf5cyn5fty5ftumd6wyg7vf5wry37h4v4mmorkx5msvn3uqvu"
},
{
"id": 10,
"h": "破壊",
"src": "87",
"cid": "bafkreifcos5ur6y753jepmy4ttgylasvcyk5osguzlaojcnlrshl3q6k3a"
},
{
"id": 11,
"h": "地球",
"src": "78",
"cid": "bafkreigpxxkzz2oesnb2mnfe42nrgk57wnr73ssn5luriy3j25mij43uki"
},
{
"id": 12,
"h": "天ノ川",
"src": "115",
"cid": "bafkreiefcjjplklmo6wrc7pq23yaewg2zgjm7nsmjy5q7mut2dnxydomnm"
}
]

BIN
public/card/card_0.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 KiB

BIN
public/card/card_0.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

BIN
public/card/card_0.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

BIN
public/card/card_1.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 KiB

BIN
public/card/card_1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 MiB

BIN
public/card/card_1.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

BIN
public/card/card_10.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 225 KiB

BIN
public/card/card_10.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 MiB

BIN
public/card/card_10.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

BIN
public/card/card_11.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 KiB

BIN
public/card/card_11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 MiB

BIN
public/card/card_11.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

BIN
public/card/card_12.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 KiB

BIN
public/card/card_12.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 MiB

BIN
public/card/card_12.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

BIN
public/card/card_2.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 155 KiB

BIN
public/card/card_2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

BIN
public/card/card_2.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

BIN
public/card/card_3.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 KiB

BIN
public/card/card_3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 MiB

BIN
public/card/card_3.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

BIN
public/card/card_4.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 208 KiB

BIN
public/card/card_4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 MiB

BIN
public/card/card_4.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

BIN
public/card/card_5.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 KiB

BIN
public/card/card_5.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

BIN
public/card/card_5.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

BIN
public/card/card_6.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 KiB

BIN
public/card/card_6.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 MiB

BIN
public/card/card_6.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

BIN
public/card/card_7.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 191 KiB

BIN
public/card/card_7.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 MiB

BIN
public/card/card_7.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

BIN
public/card/card_8.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 KiB

BIN
public/card/card_8.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

BIN
public/card/card_8.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

BIN
public/card/card_9.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 KiB

BIN
public/card/card_9.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

BIN
public/card/card_9.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

21
public/card/t.zsh Executable file
View File

@@ -0,0 +1,21 @@
#!/bin/zsh
d=${0:a:h}
j=$d/card.json
n=`cat $j|jq length`
n=$((n - 1))
for ((i=0;i<=$n;i++))
do
t=`cat $j|jq ".[$i].cid"`
id=`cat $j|jq ".[$i].id"`
f=card_${id}.webp
if ls $f;then
cid=`atr img-upload $f|head -n 1`
echo $cid
if cat $j |jq ".[$i]|= .+ {\"cid\":\"$cid\"}";then
cat $j |jq ".[$i]|= .+ {\"cid\":\"$cid\"}" >! $j.back
mv $j.back $j
cat $j|jq ".[$i]"
fi
fi
done