diff --git a/404.html b/404.html deleted file mode 100644 index 0bb55bd..0000000 --- a/404.html +++ /dev/null @@ -1,151 +0,0 @@ -页面没有找到 | SharwOrangeのBlog小屋 - - - - - - - -
Page not found

404

Page Not Found
\ No newline at end of file diff --git a/about/index.html b/about/index.html index 0099935..a70ca31 100644 --- a/about/index.html +++ b/about/index.html @@ -1,9 +1,9 @@ -关于SharwOrange橙夜 | SharwOrangeのBlog小屋 +关于SharwOrange橙夜 | SharwOrangeのBlog小屋 - + @@ -14,8 +14,8 @@ root: '/', algolia: undefined, localSearch: undefined, - translate: undefined, - noticeOutdate: undefined, + translate: {"defaultEncoding":2,"translateDelay":0,"msgToTraditionalChinese":"繁","msgToSimplifiedChinese":"簡"}, + noticeOutdate: {"limitDay":60,"position":"top","messagePrev":"距离上次更新已经","messageNext":"天,文章内容可能已过时"}, highlight: {"plugin":"highlight.js","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false}, copy: { success: '复制成功', @@ -26,7 +26,7 @@ homepage: false, post: false }, - runtime: '', + runtime: '天', dateSuffix: { just: '刚刚', min: '分钟前', @@ -34,7 +34,7 @@ day: '天前', month: '个月前' }, - copyright: undefined, + copyright: {"limitCount":50,"languages":{"author":"作者: SharwOrange","link":"链接: ","source":"来源: SharwOrangeのBlog小屋","info":"著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。"}}, lightbox: 'fancybox', Snackbar: undefined, infinitegrid: { @@ -46,14 +46,14 @@ isAnchor: false, percent: { toc: true, - rightside: false, + rightside: true, }, autoDarkmode: false }

个人介绍

树叶Leafлистья的服主
也是一名B站UP主
还是某个不知名小工作室(希望在即HopeNow)的创始人(官方吐槽: B工作室屁用没有那种 ( ̄ ‘i  ̄;)
平时爱搞一些技术类的东西
有DN42,可与我Peer,发邮件给我 头像下面有邮件的链接 (如果无法发件就发送给kuliangcha@qq.com
当然这个懒人到现在还没弄好一个可用的接入点 (;´д`)ゞ

+ })(window)

个人介绍

树叶Leafлистья的服主
也是一名B站UP主
还是某个不知名小工作室(希望在即HopeNow)的创始人(官方吐槽: B工作室屁用没有那种 ( ̄ ‘i  ̄;)
平时爱搞一些技术类的东西
有DN42,可与我Peer,发邮件给我 头像下面有邮件的链接 (如果无法发件就发送给kuliangcha@qq.com)
当然这个懒人到现在还没弄好一个可用的接入点 (;´д`)ゞ

站点简介

什么方面的东西都会写一点,可能今天写OpenWRT,明天就又跑去折腾Proxmox了
站点搭建在Github Pages(实在是没有80端口的机器了〒▽〒)
使用双仓库运行,所以需要过两遍Actions,在更新的时候大概会有一分钟左右的延迟
可以稍作等待
如果Github 404 就代表网站挂了(bushi

友链

只需要按照下面的格式发送到我的邮箱就行啦

    @@ -160,4 +151,44 @@
  • 简介:XXXX
  • 链接:https://example.com
  • 图片:https://example.com/favicon.png
  • -
公告
This is my Blog
最新文章
网站资讯
文章数目 :
3
本站访客数 :
本站总访问量 :
最后更新时间 :
\ No newline at end of file +

评论
公告
This is my Blog
最新文章
网站资讯
文章数目 :
3
已运行时间 :
本站访客数 :
本站总访问量 :
最后更新时间 :
\ No newline at end of file diff --git a/archives/2023/06/index.html b/archives/2023/06/index.html index bab8f9f..18343bb 100644 --- a/archives/2023/06/index.html +++ b/archives/2023/06/index.html @@ -10,8 +10,8 @@ root: '/', algolia: undefined, localSearch: undefined, - translate: undefined, - noticeOutdate: undefined, + translate: {"defaultEncoding":2,"translateDelay":0,"msgToTraditionalChinese":"繁","msgToSimplifiedChinese":"簡"}, + noticeOutdate: {"limitDay":60,"position":"top","messagePrev":"距离上次更新已经","messageNext":"天,文章内容可能已过时"}, highlight: {"plugin":"highlight.js","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false}, copy: { success: '复制成功', @@ -22,7 +22,7 @@ homepage: false, post: false }, - runtime: '', + runtime: '天', dateSuffix: { just: '刚刚', min: '分钟前', @@ -30,7 +30,7 @@ day: '天前', month: '个月前' }, - copyright: undefined, + copyright: {"limitCount":50,"languages":{"author":"作者: SharwOrange","link":"链接: ","source":"来源: SharwOrangeのBlog小屋","info":"著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。"}}, lightbox: 'fancybox', Snackbar: undefined, infinitegrid: { @@ -42,16 +42,16 @@ isAnchor: false, percent: { toc: true, - rightside: false, + rightside: true, }, autoDarkmode: false }
文章总览 - 1
2023
Blog终于弄好了
公告
This is my Blog
最新文章
网站资讯
文章数目 :
3
本站访客数 :
本站总访问量 :
最后更新时间 :
\ No newline at end of file + })(window)
文章总览 - 1
2023
Blog终于弄好了
公告
This is my Blog
最新文章
网站资讯
文章数目 :
3
已运行时间 :
本站访客数 :
本站总访问量 :
最后更新时间 :
\ No newline at end of file diff --git a/archives/2023/09/index.html b/archives/2023/09/index.html index 7f13fa1..7fdd8d7 100644 --- a/archives/2023/09/index.html +++ b/archives/2023/09/index.html @@ -10,8 +10,8 @@ root: '/', algolia: undefined, localSearch: undefined, - translate: undefined, - noticeOutdate: undefined, + translate: {"defaultEncoding":2,"translateDelay":0,"msgToTraditionalChinese":"繁","msgToSimplifiedChinese":"簡"}, + noticeOutdate: {"limitDay":60,"position":"top","messagePrev":"距离上次更新已经","messageNext":"天,文章内容可能已过时"}, highlight: {"plugin":"highlight.js","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false}, copy: { success: '复制成功', @@ -22,7 +22,7 @@ homepage: false, post: false }, - runtime: '', + runtime: '天', dateSuffix: { just: '刚刚', min: '分钟前', @@ -30,7 +30,7 @@ day: '天前', month: '个月前' }, - copyright: undefined, + copyright: {"limitCount":50,"languages":{"author":"作者: SharwOrange","link":"链接: ","source":"来源: SharwOrangeのBlog小屋","info":"著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。"}}, lightbox: 'fancybox', Snackbar: undefined, infinitegrid: { @@ -42,16 +42,16 @@ isAnchor: false, percent: { toc: true, - rightside: false, + rightside: true, }, autoDarkmode: false }
公告
This is my Blog
最新文章
网站资讯
文章数目 :
3
本站访客数 :
本站总访问量 :
最后更新时间 :
\ No newline at end of file + })(window)
公告
This is my Blog
最新文章
网站资讯
文章数目 :
3
已运行时间 :
本站访客数 :
本站总访问量 :
最后更新时间 :
\ No newline at end of file diff --git a/archives/2023/index.html b/archives/2023/index.html index 8b678b1..8e2e059 100644 --- a/archives/2023/index.html +++ b/archives/2023/index.html @@ -10,8 +10,8 @@ root: '/', algolia: undefined, localSearch: undefined, - translate: undefined, - noticeOutdate: undefined, + translate: {"defaultEncoding":2,"translateDelay":0,"msgToTraditionalChinese":"繁","msgToSimplifiedChinese":"簡"}, + noticeOutdate: {"limitDay":60,"position":"top","messagePrev":"距离上次更新已经","messageNext":"天,文章内容可能已过时"}, highlight: {"plugin":"highlight.js","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false}, copy: { success: '复制成功', @@ -22,7 +22,7 @@ homepage: false, post: false }, - runtime: '', + runtime: '天', dateSuffix: { just: '刚刚', min: '分钟前', @@ -30,7 +30,7 @@ day: '天前', month: '个月前' }, - copyright: undefined, + copyright: {"limitCount":50,"languages":{"author":"作者: SharwOrange","link":"链接: ","source":"来源: SharwOrangeのBlog小屋","info":"著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。"}}, lightbox: 'fancybox', Snackbar: undefined, infinitegrid: { @@ -42,16 +42,16 @@ isAnchor: false, percent: { toc: true, - rightside: false, + rightside: true, }, autoDarkmode: false }
公告
This is my Blog
最新文章
网站资讯
文章数目 :
3
本站访客数 :
本站总访问量 :
最后更新时间 :
\ No newline at end of file + })(window)
公告
This is my Blog
最新文章
网站资讯
文章数目 :
3
已运行时间 :
本站访客数 :
本站总访问量 :
最后更新时间 :
\ No newline at end of file diff --git a/archives/index.html b/archives/index.html index deeefb4..717509a 100644 --- a/archives/index.html +++ b/archives/index.html @@ -10,8 +10,8 @@ root: '/', algolia: undefined, localSearch: undefined, - translate: undefined, - noticeOutdate: undefined, + translate: {"defaultEncoding":2,"translateDelay":0,"msgToTraditionalChinese":"繁","msgToSimplifiedChinese":"簡"}, + noticeOutdate: {"limitDay":60,"position":"top","messagePrev":"距离上次更新已经","messageNext":"天,文章内容可能已过时"}, highlight: {"plugin":"highlight.js","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false}, copy: { success: '复制成功', @@ -22,7 +22,7 @@ homepage: false, post: false }, - runtime: '', + runtime: '天', dateSuffix: { just: '刚刚', min: '分钟前', @@ -30,7 +30,7 @@ day: '天前', month: '个月前' }, - copyright: undefined, + copyright: {"limitCount":50,"languages":{"author":"作者: SharwOrange","link":"链接: ","source":"来源: SharwOrangeのBlog小屋","info":"著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。"}}, lightbox: 'fancybox', Snackbar: undefined, infinitegrid: { @@ -42,16 +42,16 @@ isAnchor: false, percent: { toc: true, - rightside: false, + rightside: true, }, autoDarkmode: false }
公告
This is my Blog
最新文章
网站资讯
文章数目 :
3
本站访客数 :
本站总访问量 :
最后更新时间 :
\ No newline at end of file + })(window)
公告
This is my Blog
最新文章
网站资讯
文章数目 :
3
已运行时间 :
本站访客数 :
本站总访问量 :
最后更新时间 :
\ No newline at end of file diff --git a/categories/index.html b/categories/index.html index 26ddb13..f1330ef 100644 --- a/categories/index.html +++ b/categories/index.html @@ -12,8 +12,8 @@ root: '/', algolia: undefined, localSearch: undefined, - translate: undefined, - noticeOutdate: undefined, + translate: {"defaultEncoding":2,"translateDelay":0,"msgToTraditionalChinese":"繁","msgToSimplifiedChinese":"簡"}, + noticeOutdate: {"limitDay":60,"position":"top","messagePrev":"距离上次更新已经","messageNext":"天,文章内容可能已过时"}, highlight: {"plugin":"highlight.js","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false}, copy: { success: '复制成功', @@ -24,7 +24,7 @@ homepage: false, post: false }, - runtime: '', + runtime: '天', dateSuffix: { just: '刚刚', min: '分钟前', @@ -32,7 +32,7 @@ day: '天前', month: '个月前' }, - copyright: undefined, + copyright: {"limitCount":50,"languages":{"author":"作者: SharwOrange","link":"链接: ","source":"来源: SharwOrangeのBlog小屋","info":"著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。"}}, lightbox: 'fancybox', Snackbar: undefined, infinitegrid: { @@ -44,14 +44,14 @@ isAnchor: false, percent: { toc: true, - rightside: false, + rightside: true, }, autoDarkmode: false }
公告
This is my Blog
最新文章
网站资讯
文章数目 :
3
本站访客数 :
本站总访问量 :
最后更新时间 :
\ No newline at end of file + })(window)

评论
公告
This is my Blog
最新文章
网站资讯
文章数目 :
3
已运行时间 :
本站访客数 :
本站总访问量 :
最后更新时间 :
\ No newline at end of file diff --git a/css/index.css b/css/index.css index 7ff3d77..b3b8525 100644 --- a/css/index.css +++ b/css/index.css @@ -1606,14 +1606,14 @@ blockquote > :last-child { margin-bottom: 0 !important; } :root { - --hl-color: #90a4ae; - --hl-bg: #f6f8fa; - --hltools-bg: #e6ebf1; - --hltools-color: #90a4ae; - --hlnumber-bg: #f6f8fa; - --hlnumber-color: rgba(144,164,174,0.5); - --hlscrollbar-bg: #dce4eb; - --hlexpand-bg: linear-gradient(180deg, rgba(246,248,250,0.6), rgba(246,248,250,0.9)); + --hl-color: #eff; + --hl-bg: #212121; + --hltools-bg: #1c1c1c; + --hltools-color: rgba(238,255,255,0.8); + --hlnumber-bg: #212121; + --hlnumber-color: rgba(238,255,255,0.5); + --hlscrollbar-bg: #353535; + --hlexpand-bg: linear-gradient(180deg, rgba(33,33,33,0.6), rgba(33,33,33,0.9)); } [data-theme='dark'] { --hl-color: rgba(255,255,255,0.7); @@ -1638,10 +1638,10 @@ figure.highlight pre .addition { color: #105ede; } figure.highlight pre .meta { - color: #7c4dff; + color: #c792ea; } figure.highlight pre .comment { - color: rgba(149,165,166,0.8); + color: #969896; } figure.highlight pre .variable, figure.highlight pre .attribute, @@ -1655,10 +1655,10 @@ figure.highlight pre .css .id, figure.highlight pre .tag .name, figure.highlight pre .css .class, figure.highlight pre .css .pseudo { - color: #e53935; + color: #ff5370; } figure.highlight pre .tag { - color: #39adb5; + color: #89ddff; } figure.highlight pre .number, figure.highlight pre .preprocessor, @@ -1666,10 +1666,10 @@ figure.highlight pre .literal, figure.highlight pre .params, figure.highlight pre .constant, figure.highlight pre .command { - color: #f76d47; + color: #f78c6c; } figure.highlight pre .built_in { - color: #ffb62c; + color: #ffcb6b; } figure.highlight pre .ruby .class .title, figure.highlight pre .css .rules .attribute, @@ -1682,12 +1682,12 @@ figure.highlight pre .xml .cdata, figure.highlight pre .special, figure.highlight pre .number, figure.highlight pre .formula { - color: #91b859; + color: #c3e88d; } figure.highlight pre .keyword, figure.highlight pre .title, figure.highlight pre .css .hexcolor { - color: #39adb5; + color: #89ddff; } figure.highlight pre .function, figure.highlight pre .python .decorator, @@ -1697,14 +1697,14 @@ figure.highlight pre .ruby .title .keyword, figure.highlight pre .perl .sub, figure.highlight pre .javascript .title, figure.highlight pre .coffeescript .title { - color: #6182b8; + color: #82aaff; } figure.highlight pre .tag .attr, figure.highlight pre .javascript .function { - color: #7c4dff; + color: #c792ea; } #article-container figure.highlight .line.marked { - background-color: rgba(128,203,196,0.251); + background-color: rgba(97,97,97,0.314); } #article-container figure.highlight table { display: block; @@ -4241,6 +4241,21 @@ h1.page-title + .tag-cloud-list { display: none; } } +#rightside #go-up .scroll-percent { + display: none; +} +#rightside #go-up.show-percent .scroll-percent { + display: block; +} +#rightside #go-up.show-percent .scroll-percent + i { + display: none; +} +#rightside #go-up:hover .scroll-percent { + display: none; +} +#rightside #go-up:hover .scroll-percent + i { + display: block; +} #sidebar #menu-mask { position: fixed; z-index: 102; @@ -6134,3 +6149,75 @@ blockquote.pullquote.right { display: none; background: rgba(0,0,0,0.6); } +#local-search .search-dialog .local-search-box { + margin: 0 auto; + max-width: 100%; + width: 100%; +} +#local-search .search-dialog .local-search-box input { + padding: 5px 14px; + width: 100%; + outline: none; + border: 2px solid #49b1f5; + border-radius: 40px; + background: var(--search-bg); + color: var(--search-input-color); + -webkit-appearance: none; +} +#local-search .search-dialog .search-wrap { + display: none; +} +#local-search .search-dialog .local-search-hit-item { + position: relative; + padding-left: 24px; + line-height: 1.7; +} +#local-search .search-dialog .local-search-hit-item:hover:before { + border-color: var(--pseudo-hover); +} +#local-search .search-dialog .local-search-hit-item:before { + position: absolute; + top: 0.45em; + left: 0; + width: 0.5em; + height: 0.5em; + border: 3px solid #49b1f5; + border-radius: 0.5em; + background: transparent; + content: ''; + line-height: 0.5em; + -webkit-transition: all 0.2s ease-in-out; + -moz-transition: all 0.2s ease-in-out; + -o-transition: all 0.2s ease-in-out; + -ms-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; +} +#local-search .search-dialog .local-search-hit-item a { + display: block; + color: var(--search-a-color); +} +#local-search .search-dialog .local-search-hit-item a:hover { + color: #49b1f5; +} +#local-search .search-dialog .local-search-hit-item .search-result-title { + font-weight: 600; +} +#local-search .search-dialog .local-search-hit-item .search-result { + margin: 0 0 8px; +} +#local-search .search-dialog .search-result-list { + overflow-y: overlay; + margin: 0 -20px; + padding: 0 22px; + max-height: calc(80vh - 200px); +} +@media screen and (max-width: 768px) { + #local-search .search-dialog .search-result-list { + max-height: calc(var(--search-height) - 220px) !important; + } +} +.search-keyword { + background: transparent; + color: #f47466; + font-weight: bold; +} diff --git a/index.html b/index.html index 90bc1c9..767566b 100644 --- a/index.html +++ b/index.html @@ -10,8 +10,8 @@ root: '/', algolia: undefined, localSearch: undefined, - translate: undefined, - noticeOutdate: undefined, + translate: {"defaultEncoding":2,"translateDelay":0,"msgToTraditionalChinese":"繁","msgToSimplifiedChinese":"簡"}, + noticeOutdate: {"limitDay":60,"position":"top","messagePrev":"距离上次更新已经","messageNext":"天,文章内容可能已过时"}, highlight: {"plugin":"highlight.js","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false}, copy: { success: '复制成功', @@ -22,7 +22,7 @@ homepage: false, post: false }, - runtime: '', + runtime: '天', dateSuffix: { just: '刚刚', min: '分钟前', @@ -30,7 +30,7 @@ day: '天前', month: '个月前' }, - copyright: undefined, + copyright: {"limitCount":50,"languages":{"author":"作者: SharwOrange","link":"链接: ","source":"来源: SharwOrangeのBlog小屋","info":"著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。"}}, lightbox: 'fancybox', Snackbar: undefined, infinitegrid: { @@ -42,16 +42,16 @@ isAnchor: false, percent: { toc: true, - rightside: false, + rightside: true, }, autoDarkmode: false }
公告
This is my Blog
最新文章
网站资讯
文章数目 :
3
已运行时间 :
本站访客数 :
本站总访问量 :
最后更新时间 :
\ No newline at end of file diff --git a/js/duration.js b/js/duration.js deleted file mode 100644 index 1fb33d4..0000000 --- a/js/duration.js +++ /dev/null @@ -1,31 +0,0 @@ -!(function() { - /** 计时起始时间,自行修改 **/ - var start = new Date("2023/06/10 00:00:00"); - - function update() { - var now = new Date(); - now.setTime(now.getTime()+250); - days = (now - start) / 1000 / 60 / 60 / 24; - dnum = Math.floor(days); - hours = (now - start) / 1000 / 60 / 60 - (24 * dnum); - hnum = Math.floor(hours); - if(String(hnum).length === 1 ){ - hnum = "0" + hnum; - } - minutes = (now - start) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum); - mnum = Math.floor(minutes); - if(String(mnum).length === 1 ){ - mnum = "0" + mnum; - } - seconds = (now - start) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum); - snum = Math.round(seconds); - if(String(snum).length === 1 ){ - snum = "0" + snum; - } - document.getElementById("timeDate").innerHTML = "本站安全运行 "+dnum+" 天"; - document.getElementById("times").innerHTML = hnum + " 小时 " + mnum + " 分 " + snum + " 秒"; - } - - update(); - setInterval(update, 1000); -})(); \ No newline at end of file diff --git a/link/index.html b/link/index.html index c79c9ce..a02ae68 100644 --- a/link/index.html +++ b/link/index.html @@ -14,8 +14,8 @@ root: '/', algolia: undefined, localSearch: undefined, - translate: undefined, - noticeOutdate: undefined, + translate: {"defaultEncoding":2,"translateDelay":0,"msgToTraditionalChinese":"繁","msgToSimplifiedChinese":"簡"}, + noticeOutdate: {"limitDay":60,"position":"top","messagePrev":"距离上次更新已经","messageNext":"天,文章内容可能已过时"}, highlight: {"plugin":"highlight.js","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false}, copy: { success: '复制成功', @@ -26,7 +26,7 @@ homepage: false, post: false }, - runtime: '', + runtime: '天', dateSuffix: { just: '刚刚', min: '分钟前', @@ -34,7 +34,7 @@ day: '天前', month: '个月前' }, - copyright: undefined, + copyright: {"limitCount":50,"languages":{"author":"作者: SharwOrange","link":"链接: ","source":"来源: SharwOrangeのBlog小屋","info":"著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。"}}, lightbox: 'fancybox', Snackbar: undefined, infinitegrid: { @@ -46,14 +46,14 @@ isAnchor: false, percent: { toc: true, - rightside: false, + rightside: true, }, autoDarkmode: false }

评论
公告
This is my Blog
最新文章
网站资讯
文章数目 :
3
已运行时间 :
本站访客数 :
本站总访问量 :
最后更新时间 :
\ No newline at end of file diff --git a/posts/20230609182444.html b/posts/20230609182444.html index 156e9d5..58f5264 100644 --- a/posts/20230609182444.html +++ b/posts/20230609182444.html @@ -14,8 +14,8 @@ root: '/', algolia: undefined, localSearch: undefined, - translate: undefined, - noticeOutdate: undefined, + translate: {"defaultEncoding":2,"translateDelay":0,"msgToTraditionalChinese":"繁","msgToSimplifiedChinese":"簡"}, + noticeOutdate: {"limitDay":60,"position":"top","messagePrev":"距离上次更新已经","messageNext":"天,文章内容可能已过时"}, highlight: {"plugin":"highlight.js","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false}, copy: { success: '复制成功', @@ -26,7 +26,7 @@ homepage: false, post: false }, - runtime: '', + runtime: '天', dateSuffix: { just: '刚刚', min: '分钟前', @@ -34,7 +34,7 @@ day: '天前', month: '个月前' }, - copyright: undefined, + copyright: {"limitCount":50,"languages":{"author":"作者: SharwOrange","link":"链接: ","source":"来源: SharwOrangeのBlog小屋","info":"著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。"}}, lightbox: 'fancybox', Snackbar: undefined, infinitegrid: { @@ -46,14 +46,14 @@ isAnchor: false, percent: { toc: true, - rightside: false, + rightside: true, }, autoDarkmode: false }

Blog终于弄好了

Blog小屋搭建好啦!

🥳🥳🥳部署好啦

两天的努力(应该是三天了)终于把小屋弄好了🥳
从8日(准备工作呢其中还删了一次>﹏<)开始到今天
8天高考的时间,用去了三天😨虽然明天晚上就要上那B晚自习了😭
不过还仅仅是能看,背景图啥的还没换呢(某只懒猪还知道啊╯︿╰)

+ })(window)

Blog终于弄好了

Blog小屋搭建好啦!

🥳🥳🥳部署好啦

两天的努力(应该是三天了)终于把小屋弄好了🥳
从8日(准备工作呢其中还删了一次>﹏<)开始到今天
8天高考的时间,用去了三天😨虽然明天晚上就要上那B晚自习了😭
不过还仅仅是能看,背景图啥的还没换呢(某只懒猪还知道啊╯︿╰)

后续准备🤔

可能过几天有空会把部署Blog的日志上传上来
毕竟是珍贵经验(折腾了三天能不珍贵么😢)
可以帮自己也能帮别人
博客是用Github Actions部署到Github Pages的,双仓库
一个是源码,一个是静态页面
(这点不得不表扬一下Hexo😋

就这样?🤔

可能还会更新这篇(?
站点写的东西吧(按照关于页的自我吐槽就是啥都写,杂七杂八的)
总之后续写什么,就敬请期待啦(这个b自己都不确定😶)

-
文章作者: SharwOrange
文章链接: https://blog.hope-now.top:8443/posts/20230609182444
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 SharwOrangeのBlog小屋
\ No newline at end of file +
文章作者: SharwOrange
文章链接: https://blog.hope-now.top:8443/posts/20230609182444
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 SharwOrangeのBlog小屋

评论
\ No newline at end of file diff --git a/posts/20230902142755.html b/posts/20230902142755.html index 7087f2e..c181c1c 100644 --- a/posts/20230902142755.html +++ b/posts/20230902142755.html @@ -14,8 +14,8 @@ root: '/', algolia: undefined, localSearch: undefined, - translate: undefined, - noticeOutdate: undefined, + translate: {"defaultEncoding":2,"translateDelay":0,"msgToTraditionalChinese":"繁","msgToSimplifiedChinese":"簡"}, + noticeOutdate: {"limitDay":60,"position":"top","messagePrev":"距离上次更新已经","messageNext":"天,文章内容可能已过时"}, highlight: {"plugin":"highlight.js","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false}, copy: { success: '复制成功', @@ -26,7 +26,7 @@ homepage: false, post: false }, - runtime: '', + runtime: '天', dateSuffix: { just: '刚刚', min: '分钟前', @@ -34,7 +34,7 @@ day: '天前', month: '个月前' }, - copyright: undefined, + copyright: {"limitCount":50,"languages":{"author":"作者: SharwOrange","link":"链接: ","source":"来源: SharwOrangeのBlog小屋","info":"著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。"}}, lightbox: 'fancybox', Snackbar: undefined, infinitegrid: { @@ -46,14 +46,14 @@ isAnchor: false, percent: { toc: true, - rightside: false, + rightside: true, }, autoDarkmode: false }

让Geyser用上外置登录(使用Authlib-Injector)

平心而论,在我开测试服的时候顺便兼容了基岩版本加了Geyser插件(本人也是一位服主)
而在正式服,又忍受不了登录插件的许多毛病;在外网ip只有一个而且还是DDNS来连接的情况下,需要开不止一个服务器,本身就是个问题带端口也不好看主要是
在尝试跨服解决方案后又因为登录插件的问题导致有盗号漏洞
又想到了在很久之前因为没折腾出来基岩版的使用方案而被废弃的外置登录
在仔细看了Authlib-InjectorGeyser的关于基岩版使用外置的所有Issue之后,折腾出了这么些方案

+ })(window)

让Geyser用上外置登录(使用Authlib-Injector)

平心而论,在我开测试服的时候顺便兼容了基岩版本加了Geyser插件(本人也是一位服主)
而在正式服,又忍受不了登录插件的许多毛病;在外网ip只有一个而且还是DDNS来连接的情况下,需要开不止一个服务器,本身就是个问题带端口也不好看主要是
在尝试跨服解决方案后又因为登录插件的问题导致有盗号漏洞
又想到了在很久之前因为没折腾出来基岩版的使用方案而被废弃的外置登录
在仔细看了Authlib-InjectorGeyser的关于基岩版使用外置的所有Issue之后,折腾出了这么些方案


准备环节

  1. 外置登录解决方案(这个应该不用多说了吧,这里用Blessing Skin加上其插件 Yggdrasil API 举例)
  2. @@ -163,16 +154,53 @@

    开始操作

    外置登录解决方案的配置

    安装Blessing Skin的步骤就不赘述了,官方文档已经写得很清楚了
    仅仅安装完Blessing Skin还不够,若要实现外置登录的功能,需要进入管理面板,左侧的插件市场,安装 Yggdrasil API 插件和 单角色限制 插件

    如果出现 “严重错误 Undefined array key “packages” ” 请在.env文件的最后一行加入如下内容

    1
    PLUGINS_REGISTRY=https://d2jw1l0ullrzt6.cloudfront.net/registry_{lang}.json
    -

    Minecraft服务端与Geyser的配置

    我想大家让服务器使用外置应该都是为了安全,和去掉登录插件(香草原版服务器无法使用插件功能)

    -

    在你的server.properties中开启正版验证(由于验证地址由Authlib-Injector修改成了外置登录的地址,所以这个正版验证会验证外置账户是否一致而不是Minecraft在线账户)

    -
    1
    online-mode=true
    - -

    如果你是插件版的Geyser,直接放入服务端的 Plugins 文件夹即可
    如果你是独立版的Geyser,下载下来后修改配置文件让Geyser连接到Java版本服务器即可
    具体步骤请看Geyser官方文档
    如果你啃不动生肉,这里有非官方的中文文档,但是时效性问题,并不是最新的(怎么说呢,我因为这个原因排查了一个晚上版本的问题,最后才发现这两个手册已经差别很大了)

    +

    在你的server.properties中开启正版验证(由于验证地址由Authlib-Injector修改成了外置登录的地址,所以这个正版验证会验证外置账户是否一致而不是Minecraft在线账户)

    1
    online-mode=true

    +

    如果你是插件版的Geyser,直接放入服务端的 Plugins 文件夹即可
    如果你是独立版的Geyser,下载下来后修改配置文件让Geyser连接到Java版本服务器即可
    具体步骤请看Geyser官方文档
    如果你啃不动生肉,这里有非官方的中文文档,但是时效性问题,并不是最新的(怎么说呢,我因为这个原因排查了一个晚上版本的问题,最后才发现这两个手册已经差别很大了)

    进入服务器方式

    Java版本应该不用多说
    基岩版只需要进入服务器后选择“使用 Mojang 账户登录”
    随后输入邮箱与密码(如果上面没有载入 单角色限制 插件,你会出现 此服务器需要一个付费的Java账号 后被踢出服务器

    -

    (可选)修改登录文字

    其实这个就简单了,不需要去改源码,下载下来的jar文件用Bandizip或者7zip打开后找到languages文件夹中的texts文件夹(./languages/texts)
    在里面找到你对应的语言文件修改即可

    +

    (可选)修改登录文字

    其实这个就简单了,不需要去改源码,下载下来的jar文件用Bandizip或者7zip打开后找到languages文件夹中的texts文件夹(./languages/texts)
    在里面找到你对应的语言文件修改即可

    结尾

    到这里其实已经完成了(防火墙什么的应该不用说吧)
    这么简单的东西对吧 我折腾了几周才摸索出来是怎么个回事


    相关Issues:
    https://github.com/yushijinhun/authlib-injector/issues/83
    https://github.com/GeyserMC/MCProtocolLib/issues/552
    https://github.com/yushijinhun/authlib-injector/issues/132
    https://github.com/GeyserMC/Geyser/issues/1611
    https://github.com/yushijinhun/authlib-injector/issues/132
    https://github.com/GeyserMC/Geyser/issues/1000
    https://github.com/yushijinhun/authlib-injector/issues/83
    https://github.com/yushijinhun/authlib-injector/issues/220
    https://github.com/GeyserMC/Geyser/issues/974
    https://github.com/GeyserMC/Geyser/issues/1178

    如果本文有些没提到的,你可以去以上Issues寻找解决方案或者在本文下留言(

    -
文章作者: SharwOrange
文章链接: https://blog.hope-now.top:8443/posts/20230902142755
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 SharwOrangeのBlog小屋
\ No newline at end of file +
文章作者: SharwOrange
文章链接: https://blog.hope-now.top:8443/posts/20230902142755
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 SharwOrangeのBlog小屋

评论
\ No newline at end of file diff --git a/posts/20230904214934.html b/posts/20230904214934.html index 6f90b0e..2b412cc 100644 --- a/posts/20230904214934.html +++ b/posts/20230904214934.html @@ -14,8 +14,8 @@ root: '/', algolia: undefined, localSearch: undefined, - translate: undefined, - noticeOutdate: undefined, + translate: {"defaultEncoding":2,"translateDelay":0,"msgToTraditionalChinese":"繁","msgToSimplifiedChinese":"簡"}, + noticeOutdate: {"limitDay":60,"position":"top","messagePrev":"距离上次更新已经","messageNext":"天,文章内容可能已过时"}, highlight: {"plugin":"highlight.js","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false}, copy: { success: '复制成功', @@ -26,7 +26,7 @@ homepage: false, post: false }, - runtime: '', + runtime: '天', dateSuffix: { just: '刚刚', min: '分钟前', @@ -34,7 +34,7 @@ day: '天前', month: '个月前' }, - copyright: undefined, + copyright: {"limitCount":50,"languages":{"author":"作者: SharwOrange","link":"链接: ","source":"来源: SharwOrangeのBlog小屋","info":"著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。"}}, lightbox: 'fancybox', Snackbar: undefined, infinitegrid: { @@ -46,14 +46,14 @@ isAnchor: false, percent: { toc: true, - rightside: false, + rightside: true, }, autoDarkmode: false }

御三家启动器外置使用教程(PCL2、HMCL、BakaXL)

就接着上文来说,如果你部署好了外置服务器,但是又没有这么多时间来一个个地教玩家们使用;或者你作为玩家,想要学习关于关于外置登录的使用,那相信你也能很快上手

+ })(window)

御三家启动器外置使用教程(PCL2、HMCL、BakaXL)

就接着上文来说,如果你部署好了外置服务器,但是又没有这么多时间来一个个地教玩家们使用;或者你作为玩家,想要学习关于关于外置登录的使用,那相信你也能很快上手


网页部分

这个部分其实更适合叫做 皮肤站部分,因为大多数的外置其实都是使用皮肤站配合 Yggdrasil API 插件实现外置的功能
其实都大差不多,这里用Blessing Skin举例,如果你在首页往下滑,能看到Blessing Skin字样的,基本都是用Blessing Skin部署的皮肤站,或者说外置系统了

账户注册

账户注册这个应该都清楚。只需要去注册一个账户并邮箱验证即可(该项视情况而定,个别皮肤站并没有邮箱验证的要求)
因为本文主要为本人所开的服务器做教程,所以会用自己搭建的外置来验证,下文也均使用自己搭建的外置来作教程举例
即使不是本服务器的玩家,也能使用该教程(大同小异)

@@ -176,23 +167,63 @@
  1. 点击右上角的添加账户(若原先有账户,将会显示上一次启动游戏所使用的账户)
  2. 点击右下角的添加认证服务器
  3. -
  4. 输入 https://link.hope-now.top:20008/api/yggdrasilhttps://link.hope-now.top:20008 (HMCL将会自动补全,如果你记不住,可以使用后者,两者并无差异)
  5. +
  6. 输入 https://link.hope-now.top:20008/api/yggdrasilhttps://link.hope-now.top:20008 (HMCL将会自动补全,如果你记不住,可以使用后者,两者并无差异)
  7. 确认服务器认证地址为 https://link.hope-now.top:20008/api/yggdrasil ;名称为 Hope Now 验证系统。并点击确定
  8. 在左侧找到刚才添加的认证服务器并点击(一般会显示为 Hope Now 验证系统
  9. 输入邮箱与密码 !注意:该项的用户名对应的是邮箱,并不是角色名
  10. 使用最右上角的返回,返回主页后选择需要启动的游戏,点击启动游戏即可
-

BakaXL

该启动器的配置较为繁琐,如果可以,请优先考虑上文提到的 “通用启动器配置”

+

BakaXL

该启动器的配置较为繁琐,如果可以,请优先考虑上文提到的 “通用启动器配置”

若无法使用通用启动器配置,可以尝试如下操作

  1. “主页” 找到 “本体设置”
  2. 随后找到 “账户与档案”
  3. 点击 “添加一个档案”
  4. “账户类型” 中的 “游戏启动模式” 改为 “外置账户(authlib-injector)”
  5. -
  6. “账户类型” 中的 “验证服务器地址(API Root)” 填入 https://link.hope-now.top:20008/api/yggdrasilhttps://link.hope-now.top:20008 (BakaXL将会自动补全,如果你记不住,可以使用后者,两者并无差异)
  7. +
  8. “账户类型” 中的 “验证服务器地址(API Root)” 填入 https://link.hope-now.top:20008/api/yggdrasilhttps://link.hope-now.top:20008 (BakaXL将会自动补全,如果你记不住,可以使用后者,两者并无差异)
  9. 输入邮箱与密码
  10. 点击 “进行验证并返回”
  11. 使用最左上角的主页按钮返回主页后,选择需要启动的游戏,点击启动游戏即可

结尾

好好好,九月份居然突破记录写了两篇文章
不过不是为了凑数
因为我懒得一个个口头说咋弄外置了
其实是因为你服老有人问咋弄,直接用皮肤站的公告感觉没人看,就干脆写这么一篇然后放群公告了

-
文章作者: SharwOrange
文章链接: https://blog.hope-now.top:8443/posts/20230904214934
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 SharwOrangeのBlog小屋
\ No newline at end of file +
文章作者: SharwOrange
文章链接: https://blog.hope-now.top:8443/posts/20230904214934
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 SharwOrangeのBlog小屋

评论
\ No newline at end of file diff --git a/tags/index.html b/tags/index.html index 08c75a0..bc05cc9 100644 --- a/tags/index.html +++ b/tags/index.html @@ -12,8 +12,8 @@ root: '/', algolia: undefined, localSearch: undefined, - translate: undefined, - noticeOutdate: undefined, + translate: {"defaultEncoding":2,"translateDelay":0,"msgToTraditionalChinese":"繁","msgToSimplifiedChinese":"簡"}, + noticeOutdate: {"limitDay":60,"position":"top","messagePrev":"距离上次更新已经","messageNext":"天,文章内容可能已过时"}, highlight: {"plugin":"highlight.js","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false}, copy: { success: '复制成功', @@ -24,7 +24,7 @@ homepage: false, post: false }, - runtime: '', + runtime: '天', dateSuffix: { just: '刚刚', min: '分钟前', @@ -32,7 +32,7 @@ day: '天前', month: '个月前' }, - copyright: undefined, + copyright: {"limitCount":50,"languages":{"author":"作者: SharwOrange","link":"链接: ","source":"来源: SharwOrangeのBlog小屋","info":"著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。"}}, lightbox: 'fancybox', Snackbar: undefined, infinitegrid: { @@ -44,14 +44,14 @@ isAnchor: false, percent: { toc: true, - rightside: false, + rightside: true, }, autoDarkmode: false }
公告
This is my Blog
最新文章
网站资讯
文章数目 :
3
本站访客数 :
本站总访问量 :
最后更新时间 :
\ No newline at end of file + })(window)

评论
公告
This is my Blog
最新文章
网站资讯
文章数目 :
3
已运行时间 :
本站访客数 :
本站总访问量 :
最后更新时间 :
\ No newline at end of file