fix
BIN
public/icon/4hqjfn7m6n5hno3doamuhgef.jpg
Normal file
After Width: | Height: | Size: 56 KiB |
BIN
public/icon/fmnwe2six767bnsxd7qcr55x.jpg
Normal file
After Width: | Height: | Size: 113 KiB |
BIN
public/icon/hrrl32cdaxffmu66a4qrmpqy.jpg
Normal file
After Width: | Height: | Size: 140 KiB |
BIN
public/icon/ott5psyszgaeoksg6j7ngkvk.jpg
Normal file
After Width: | Height: | Size: 53 KiB |
BIN
public/icon/qexgypv67x75g7bjrelr5gof.jpg
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
public/icon/qt25nzrb3esppxyzfoxkqhme.jpg
Normal file
After Width: | Height: | Size: 207 KiB |
BIN
public/icon/uqzpqmrjnptsxezjx4xuh2mn.jpg
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
public/icon/xecxvd2v5fgyisue7f5ik3o3.jpg
Normal file
After Width: | Height: | Size: 80 KiB |
BIN
public/icon/ywc4pk3qhdio4vgzjabc6tfh.jpg
Normal file
After Width: | Height: | Size: 51 KiB |
24
scpt/icon.zsh
Executable file
@ -0,0 +1,24 @@
|
|||||||
|
#!/bin/zsh
|
||||||
|
|
||||||
|
d=${0:a:h}
|
||||||
|
dd=${0:a:h:h}
|
||||||
|
icon=$dd/public/icon
|
||||||
|
|
||||||
|
echo $d
|
||||||
|
echo $dd
|
||||||
|
echo ---
|
||||||
|
api=api.syui.ai
|
||||||
|
avatar=`curl -sL $api/users/2/ma|jq -r ".[].avatar"`
|
||||||
|
n=`echo $avatar|wc -l`
|
||||||
|
for ((i=1;i<=$n;i++))
|
||||||
|
do
|
||||||
|
img=`echo $avatar|awk "NR==$i"`
|
||||||
|
did=`echo $img|cut -d / -f 7|cut -d : -f 3`
|
||||||
|
echo $i
|
||||||
|
echo $img
|
||||||
|
echo $did
|
||||||
|
f=$icon/$did.jpg
|
||||||
|
if [ ! -f $f ];then
|
||||||
|
curl -sL $img -o $icon/$did.jpg
|
||||||
|
fi
|
||||||
|
done
|
@ -52,7 +52,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="bsky_comment">
|
<div class="bsky_comment">
|
||||||
<span v-for="i in api_json.data" class="comment">
|
<span v-for="i in api_json.data" class="comment">
|
||||||
<p class="comment-body" v-if="i.text">
|
<p class="comment-body" v-if="i.text">
|
||||||
|