本文最后更新于 2025年12月20日 晚上
博客更新记录
说明:
该页面用于记录博客更新日志 废话
以及一些参考资料
更新计划
发布博客pixi入门教程
为博客添加个人收藏夹页面
已完成
2025/10/19
发布第一篇教程向博客
花了我6、7个小时,仓促的写了2k字(因为马上要上学了
链接:https://skzxi.top/2025/10/18/amdgpu-windows-stable-diffusion-rocm7-pytorch2-9-launcher
2025/9/24
博客页脚修改
如题,更改页脚格式,隐藏访客记录
2025/7/30
域名重定向
如题,完成旧域名的重定向已经参数传递
2025/7/25
更换域名
从fallingstar.xyz迁移到skzxi.top
旧域名26年3月到期
新域名还有3年租期
2025/6/29
完成博客首图加载动画
猜猜是怎么做的,我不怎么会css,所以这个动画其实是gif动图,用ae做的(我简直是天才!

2025/6/21
完善博客特效
添加了鼠标点击反馈
2025/5/3
更改语录格式
一言api:https://v1.hitokoto.cn
我的中转api:https://hitokoto.skzxi.top
有点小无语,hexo fluid的首页语录在配置文件用的是[keys],不能拼接且只能有一个参数,一言的api又不支持指定返回参数,没办法,自己搭了个中转api,唉~
2025/3/22
为博客加入随机图片
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112
| document.addEventListener('DOMContentLoaded', () => { const banner = document.getElementById('banner'); if (!banner) return;
const config = { debounceTime: 300, maxRetry: 3, cacheBuster: true, transition: '1s ease' };
const APIs = [ 'https://api.mtyqx.cn/api/random.php', 'https://api.r10086.com/樱道随机图片api接口.php?图片系列= 动漫综合2', 'https://api.tomys.top/api/acgimg', 'https://www.loliapi.com/acg/pc/', 'https://t.alcy.cc/pc', 'https://t.alcy.cc/moe', 'https://www.loliapi.com/acg/', 'https://t.alcy.cc/ycy', 'https://t.alcy.cc/moez', 'https://www.loliapi.com/acg/pe/', 'https://t.alcy.cc/moemp', 'https://t.alcy.cc/mp'
];
let currentLoader = null; let retryCount = 0; let isPortrait = checkOrientation();
function selectAPI() { return isPortrait ? APIs.slice(-6) : APIs.slice(0, 9); }
function checkOrientation() { return window.matchMedia("(orientation: portrait)"). matches; }
function debounce(fn, delay) { let timer; return (...args) => { clearTimeout(timer); timer = setTimeout(() => fn.apply(this, args), delay); }; }
function setBackground(url) { banner.style.transition = `background-image ${config. transition}`; banner.style.backgroundImage = `url('${url}')`; }
function loadNewImage() { if (currentLoader) { currentLoader.onload = null; currentLoader.onerror = null; }
const apiPool = selectAPI(); const randomAPI = apiPool[Math.floor(Math.random() * apiPool.length)]; const finalURL = config.cacheBuster ? `${randomAPI}?r=${Date.now()}` : randomAPI;
currentLoader = new Image(); currentLoader.onload = () => { retryCount = 0; setBackground(finalURL); }; currentLoader.onerror = () => { if (retryCount < config.maxRetry) { retryCount++; loadNewImage(); } else { setBackground(theme.banner.default_bg); } }; currentLoader.src = finalURL; }
const handleOrientationChange = debounce(() => { const newOrientation = checkOrientation(); if (newOrientation !== isPortrait) { isPortrait = newOrientation; loadNewImage(); } }, config.debounceTime);
window.addEventListener('resize', handleOrientationChange);
window.addEventListener('beforeunload', () => { window.removeEventListener('resize', handleOrientationChange); });
loadNewImage(); });
|
2025/3/8
搭建个人图床
使用github+cloudflare+picgo实现
该图床除了显示图片,还可以直接显示md文件(没有渲染),txt文件,其他文件会直接下载(有兴趣可以自己多试试)
参考文章:
Github+Cloudflare搭建图床 | Cactus’s Blog
2025/3/2
博客嵌入markdown编辑器
嵌入的编辑器为 editor.md修改版
修改特色:
- 加入本地 md 文件读取功能
- 处理文档中相对路径图片的加载问题
- 给编辑器加入自动保存功能
- 编辑器代码大小优化
参考文章:
为博客加入一个好用的在线MD编辑工具 | DebuggerX’s Blog
2025/3/1
域名fallingstar.xyz上线
从下往上
配置github page
换cluodflare的dns
购买域名
2025/1/27
添加live2d看板娘
使用OhMyLive2D组件
参考资料:
如何给网页添加Live2D看板娘 | 莫 の 小屋
为你的个人博客添加一个Live2D看板娘_哔哩哔哩_bilibili
OhMyLive2D
2025/1/8
解决网站特效问题
得出结论: 你永远不知道访客的网络能不能访问cdn,所以还是用本地的吧…
参考资料:
Hexo + Fluid 美化 | EmoryHuang’s Blog
2025/1/2
博客主体完成
还有两周就期末统考,我在这心血来潮搭博客(捂脸
参考资料:
如何使用 Hexo 搭建博客 - licyk的小窝