使用CDN加速Waline-emoji-多吉云
After Width: | Height: | Size: 21 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 21 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 13 KiB |
@ -0,0 +1 @@
|
||||
{"0": ["184064198.png", "184064199.png", "184064200.png", "184064201.png", "184064202.png", "184064203.png", "184064204.png", "184064205.png", "184064206.png", "184064207.png", "184064208.png", "184064209.png", "184064210.png", "184064211.png", "184064212.png", "184064213.png", "184064214.png", "184064215.png", "184064216.png", "184064217.png", "184064218.png", "184064219.png", "184064220.png", "184064221.png", "184064222.png", "184064223.png", "184064224.png", "184064225.png", "184064226.png", "184064227.png", "184064228.png", "184064229.png", "184064230.png", "184064231.png", "184064232.png", "184064233.png", "184064234.png", "184064235.png", "184064236.png", "184064237.png"]}
|
@ -0,0 +1 @@
|
||||
{"name": "Arcaea", "icon": "184064198.png", "items": ["184064198.png", "184064199.png", "184064200.png", "184064201.png", "184064202.png", "184064203.png", "184064204.png", "184064205.png", "184064206.png", "184064207.png", "184064208.png", "184064209.png", "184064210.png", "184064211.png", "184064212.png", "184064213.png", "184064214.png", "184064215.png", "184064216.png", "184064217.png", "184064218.png", "184064219.png", "184064220.png", "184064221.png", "184064222.png", "184064223.png", "184064224.png", "184064225.png", "184064226.png", "184064227.png", "184064228.png", "184064229.png", "184064230.png", "184064231.png", "184064232.png", "184064233.png", "184064234.png", "184064235.png", "184064236.png", "184064237.png"]}
|
@ -0,0 +1,24 @@
|
||||
#-*- coding: utf-8 -*-
|
||||
import os
|
||||
|
||||
def walkFile(FilePath):
|
||||
S='''{"0":['''
|
||||
for root, dirs, files in os.walk(FilePath):
|
||||
for f in files:
|
||||
if f!='mini.py':
|
||||
Path=os.path.join(root, f)
|
||||
S+='"'+f+'",'
|
||||
S+="]}"
|
||||
S=S.replace(",]}", "]}")
|
||||
print("正在写入文件,这通常不会太久...")
|
||||
with open("./index.json","wb") as ff:
|
||||
ff.write(S.encode("utf-8"))
|
||||
print("恭喜,已成功完成")
|
||||
if __name__=="__main__":
|
||||
print("请坐和放宽,我们正帮你搞定一切......")
|
||||
FilePath="."
|
||||
try:
|
||||
walkFile(FilePath)
|
||||
except Exception as e:
|
||||
print("生成失败!我们都有不顺利的时候.")
|
||||
print(e)
|
@ -0,0 +1,53 @@
|
||||
import os
|
||||
remotepath = 'https://valinecdn.bili33.top/'
|
||||
prefix= input("请输入前缀:")
|
||||
FilePath="."
|
||||
def findAllFile(base):
|
||||
for root, ds, fs in os.walk(base):
|
||||
for f in fs:
|
||||
if f!='Generate.py':
|
||||
yield f
|
||||
|
||||
def walkFile(FilePath):
|
||||
print("正在生成MiniValine所需的index.json文件")
|
||||
S='''{"0":['''
|
||||
for root, dirs, files in os.walk(FilePath):
|
||||
for f in files:
|
||||
if f!='Generate.py':
|
||||
Path=os.path.join(root, f)
|
||||
S+='"'+f+'",'
|
||||
S+="]}"
|
||||
S=S.replace(",]}", "]}")
|
||||
print("正在写入文件,这通常不会太久...")
|
||||
with open("./index.json","wb") as ff:
|
||||
ff.write(S.encode("utf-8"))
|
||||
print("恭喜,已成功完成")
|
||||
|
||||
def main():
|
||||
base = './'
|
||||
linklist=[]
|
||||
num=1
|
||||
print('# {}'.format(prefix))
|
||||
print('MiniValine:')
|
||||
print('> https://valinecdn.bili33.top/{}'.format(prefix))
|
||||
print('```json')
|
||||
print('{')
|
||||
for i in findAllFile(base):
|
||||
if i!='Generate.py':
|
||||
print('\"{}{}\": \"{}/{}\",'.format(prefix,num,prefix,i))
|
||||
num=num+1
|
||||
print('}')
|
||||
print('```')
|
||||
num=1
|
||||
for i in findAllFile(base):
|
||||
if i!='Generate.py':
|
||||
print('![{}{}]({}{}/{})'.format(prefix,num,remotepath,prefix,i))
|
||||
num=num+1
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
print("请坐和放宽,我们正帮你搞定一切......")
|
||||
try:
|
||||
walkFile(FilePath)
|
||||
except Exception as e:
|
||||
print("生成失败!我们都有不顺利的时候.")
|
||||
print(e)
|
After Width: | Height: | Size: 36 KiB |
After Width: | Height: | Size: 32 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 46 KiB |
After Width: | Height: | Size: 40 KiB |
After Width: | Height: | Size: 40 KiB |
After Width: | Height: | Size: 35 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 29 KiB |
After Width: | Height: | Size: 34 KiB |
After Width: | Height: | Size: 34 KiB |
After Width: | Height: | Size: 32 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 34 KiB |
After Width: | Height: | Size: 31 KiB |
After Width: | Height: | Size: 36 KiB |
After Width: | Height: | Size: 33 KiB |
After Width: | Height: | Size: 32 KiB |
After Width: | Height: | Size: 30 KiB |
After Width: | Height: | Size: 31 KiB |
After Width: | Height: | Size: 33 KiB |
After Width: | Height: | Size: 38 KiB |
After Width: | Height: | Size: 35 KiB |
After Width: | Height: | Size: 36 KiB |
After Width: | Height: | Size: 33 KiB |
After Width: | Height: | Size: 34 KiB |
After Width: | Height: | Size: 30 KiB |
After Width: | Height: | Size: 32 KiB |
After Width: | Height: | Size: 31 KiB |
After Width: | Height: | Size: 32 KiB |
After Width: | Height: | Size: 31 KiB |
After Width: | Height: | Size: 35 KiB |
After Width: | Height: | Size: 29 KiB |
After Width: | Height: | Size: 29 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 30 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 30 KiB |
After Width: | Height: | Size: 21 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 21 KiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 27 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 32 KiB |
After Width: | Height: | Size: 36 KiB |
After Width: | Height: | Size: 32 KiB |
After Width: | Height: | Size: 32 KiB |
After Width: | Height: | Size: 37 KiB |
After Width: | Height: | Size: 33 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 28 KiB |