mirror of
https://github.com/Ad-closeNN/blog-fuwari.git
synced 2026-05-31 01:20:06 -04:00
friends&style: MeowCata 小站
This commit is contained in:
+6
-119
@@ -1,11 +1,5 @@
|
||||
# 关于 / Hi there!
|
||||
|
||||
:::note[信息]
|
||||
当前域名:<code><span id="cdns-hostname"></span></code>。解析为 <span id="cdns-type"></span>。
|
||||
:::
|
||||
|
||||
既然你来到了这里,就说明你在访问<span id="cdns"></span>
|
||||
|
||||
本站使用 [@saicaca/fuwari](https://github.com/saicaca/fuwari) 博客模板,部分代码来源于 [@afoim/fuwari](https://github.com/afoim/fuwari)。嗯,真漂亮,真好用。
|
||||
|
||||
::github{repo="saicaca/fuwari"}
|
||||
@@ -13,33 +7,8 @@
|
||||
::github{repo="Ad-closeNN/blog-fuwari"}
|
||||
::github{repo="afoim/fuwari"}
|
||||
|
||||
# 域名
|
||||
1. adclosenn.top
|
||||
2. adclosenn.dev
|
||||
3. 19991230.xyz
|
||||
4. adsb.dpdns.org
|
||||
5. adclosenn.dpdns.org
|
||||
6. ...
|
||||
|
||||
# 站点分流
|
||||
**主站**使用 Netlify 托管。但是它的节点稳定性等在**在中国大陆**不是很行。所以还有在其他平台部署的**试运行**站点,且非 Netlify 站点的**部分功能会缺失,不建议使用**:
|
||||
1. Cloudflare Worker(**无**优选):https://worker-cf.adclosenn.dev
|
||||
2. Cloudflare Worker([CMLiussss](https://cf.090227.xyz) 优选):https://youxuan-cf-worker.adclosenn.dev
|
||||
3. Cloudflare Pages(**无**优选):https://cf.adclosenn.dev
|
||||
4. Cloudflare Pages([Shopify](https://www.shopify.com) 优选):https://www.adclosenn.dev
|
||||
5. Vercel(**无**优选):https://origin.vercel.adclosenn.dev
|
||||
6. Vercel(`64.29.17.65` 优选):https://vercel.adclosenn.dev
|
||||
6. 腾讯 EdgeOne CDN(加速 Cloudflare Pages,`43.174.245.158` 优选):https://cf-eo.adclosenn.dev
|
||||
8. 腾讯 EdgeOne Pages(**无**优选):https://eo.adclosenn.top
|
||||
9. Fastly CDN:https://fastly.adclosenn.top
|
||||
|
||||
:::note[笔记]
|
||||
Cloudflare Pages 优选版站点,在中国大陆境内为**优选域名 `www.shopify.com`**,在境外或用1.1.1.1 DNS解析为源 `blog-fuwari-c8w.pages.dev`。
|
||||
:::
|
||||
|
||||
**在中国大陆境外你随便选一个访问,其速度和稳定性都几乎一样。**
|
||||
|
||||
---
|
||||
经过几个月的测试,**本站**之后将弃用 Netlify 托管,转而使用免费且更强大的 Cloudflare。之前使用过的分流测试版站点已移除。
|
||||
|
||||
# 关于我
|
||||
一位住在 [中华人民共和国广西壮族自治区](https://baike.baidu.com/item/%E5%B9%BF%E8%A5%BF%E5%A3%AE%E6%97%8F%E8%87%AA%E6%B2%BB%E5%8C%BA/163178) 的学生。 [me.adclosenn.top](https://me.adclosenn.top)
|
||||
@@ -49,8 +18,6 @@ Cloudflare Pages 优选版站点,在中国大陆境内为**优选域名 `www.s
|
||||
Discord:https://discord.com/users/1068060784300658688
|
||||
BlueSky:https://bsky.app/profile/adclosenn.top
|
||||
|
||||
---
|
||||
|
||||
# 关于本站
|
||||
## 字体
|
||||
使用的是 [MiSans VF](https://hyperos.mi.com/font) ,中英文可变字重字体从官方 CDN 服务器获取。
|
||||
@@ -60,11 +27,13 @@ BlueSky:https://bsky.app/profile/adclosenn.top
|
||||
使用的是 [一言语句接口(JSON)](https://developer.hitokoto.cn/sentence/) 。`v1.hitokoto.cn`
|
||||
|
||||
## 统计信息
|
||||
使用的是自托管( [Netlify](https://www.netlify.com) + [Neon](https://neon.com))的 [Umami](https://umami.is) 。具体可查看 [手把手自托管 Umami
|
||||
](/posts/umami/) 。
|
||||
使用的是自托管([Netlify](https://www.netlify.com) + [Neon](https://neon.com))的 [Umami](https://umami.is) 。具体可查看 [手把手自托管 Umami](/posts/umami/) 。
|
||||
|
||||
---
|
||||
|
||||
# 2026/2/28
|
||||
放弃了 [@imsyy/vitepress-theme-curve](https://github.com/imsyy/vitepress-theme-curve) 的 Curve VitePress 主题。此主题曾被试用于构建新博客。现已下线,继续使用 Fuwari 博客。
|
||||
|
||||
# 2025/9/19
|
||||
1. 发现微软做的 [Cascadia Mono](https://github.com/microsoft/cascadia-code) 字体不错,就让他替换 [JetBrains Mono](https://www.jetbrains.com/zh-cn/lp/mono/) 成为第一默认 Code 字体。同时还把用不到的 Roboto 删掉。
|
||||
```
|
||||
@@ -112,86 +81,4 @@ the error log is like driving with your eyes closed.
|
||||
- [/public/assets/apache.jpg](/assets/apache.jpg):网传的图片 
|
||||
|
||||
和一个 `JSON` 文件:
|
||||
- <a href="/assets/carbon-config.json" target="_blank">/public/assets/carbon-config.json</a> :[Carbon 官网](https://carbon.now.sh) 配置文件。
|
||||
|
||||
<script>
|
||||
function getHostname(){
|
||||
// 主机名解析
|
||||
const hostname = window.location.hostname;
|
||||
const siteType = document.getElementById('cdns');
|
||||
const hName = document.getElementById('cdns-hostname');
|
||||
const cdnType = document.getElementById('cdns-type');
|
||||
if (hostname === "localhost" || hostname === "127.0.0.1" || hostname.includes("192.168.")){
|
||||
// Local
|
||||
siteType.innerHTML = "本地服务器。";
|
||||
cdnType.textContent = "本地"
|
||||
}
|
||||
else if (hostname === "adclosenn.top"){
|
||||
// Netlify
|
||||
siteType.innerHTML = '由 <a href="https://www.netlify.com" target="_blank">Netlify</a> 托管的 <a href="https://adclosenn.top">https://adclosenn.top</a>。本站 Netlify Amazon CDN 优选 IP:<code>3.33.186.135</code>';
|
||||
cdnType.textContent = "Netlify";
|
||||
|
||||
}
|
||||
else if (hostname === "worker-cf.adclosenn.dev") {
|
||||
// Cloudflare Workers https://worker-cf.adclosenn.dev
|
||||
siteType.innerHTML = '由 <a href="https://workers.cloudflare.com" target="_blank">Cloudflare Workers</a> 托管的 <a href="https://worker-cf.adclosenn.dev">https://worker-cf.adclosenn.dev</a>。本站点未进行 IP 优选。';
|
||||
cdnType.textContent = "Cloudflare Workers";
|
||||
}
|
||||
else if (hostname === "youxuan-cf-worker.adclosenn.dev") {
|
||||
// Cloudflare Workers 优选 https://youxuan-cf-worker.adclosenn.dev
|
||||
siteType.innerHTML = '由 <a href="https://workers.cloudflare.com" target="_blank">Cloudflare Workers</a> 托管的 <a href="https://youxuan-cf-worker.adclosenn.dev">https://youxuan-cf-worker.adclosenn.dev</a>。本站点已进行 IP 优选,使用的 CNAME 为 <code>youxuan.cf.090227.xyz</code>。';
|
||||
cdnType.textContent = "Cloudflare Workers";
|
||||
}
|
||||
else if (hostname === "cf.adclosenn.dev") {
|
||||
// Cloudflare Pages https://cf.adclosenn.dev
|
||||
siteType.innerHTML = '由 <a href="https://pages.cloudflare.com" target="_blank">Cloudflare Pages</a> 托管的 <a href="https://cf.adclosenn.dev">https://cf.adclosenn.dev</a>。本站点未进行 IP 优选。';
|
||||
cdnType.textContent = "Cloudflare Pages";
|
||||
}
|
||||
else if (hostname === "www.adclosenn.dev") {
|
||||
// Cloudflare Pages 优选 https://www.adclosenn.dev
|
||||
siteType.innerHTML = '由 <a href="https://pages.cloudflare.com" target="_blank">Cloudflare Pages</a> 托管的 <a href="https://www.adclosenn.dev">https://www.adclosenn.dev</a>。本站点已进行 IP 优选,使用的 CNAME 为 <code>www.shopify.com</code>。';
|
||||
cdnType.textContent = "Cloudflare Pages";
|
||||
}
|
||||
else if (hostname === "origin.vercel.adclosenn.dev") {
|
||||
// Vercel https://origin.vercel.adclosenn.dev
|
||||
siteType.innerHTML = '由 <a href="https://vercel.com" target="_blank">Vercel</a> 托管的 <a href="https://origin.vercel.adclosenn.dev">https://origin.vercel.adclosenn.dev</a>。本站点未进行 IP 优选,使用的官方 CNAME 为 <code>cname.vercel-dns.com</code>。';
|
||||
cdnType.textContent = "Vercel";
|
||||
}
|
||||
else if (hostname === "vercel.adclosenn.dev") {
|
||||
// Vercel 优选 https://vercel.adclosenn.dev
|
||||
siteType.innerHTML = '由 <a href="https://vercel.com" target="_blank">Vercel</a> 托管的 <a href="https://vercel.adclosenn.dev">https://vercel.adclosenn.dev</a>。本站点已进行 IP 优选,使用的 IP 为 <code>64.29.17.65</code>。';
|
||||
cdnType.textContent = "Vercel";
|
||||
}
|
||||
else if (hostname === "cf-eo.adclosenn.dev") {
|
||||
// EdgeOne CDN https://cf-eo.adclosenn.dev
|
||||
siteType.innerHTML = '由 <a href="https://edgeone.ai/zh" target="_blank">EdgeOne CDN</a> 加速的 <a href="https://cf-eo.adclosenn.dev">https://cf-eo.adclosenn.dev</a>。本站点已进行 IP 优选,使用的 IP 为 <code>43.174.245.158</code>。源站为 Cloudflare Pages。';
|
||||
cdnType.textContent = "腾讯云 EdgeOne";
|
||||
}
|
||||
else if (hostname === "eo.adclosenn.top") {
|
||||
// EdgeOne Pages https://eo.adclosenn.top
|
||||
siteType.innerHTML = '由 <a href="https://edgeone.ai/zh/products/pages" target="_blank">EdgeOne Pages</a> 托管的 <a href="https://eo.adclosenn.top">https://eo.adclosenn.top</a>。本站点未进行 IP 优选。';
|
||||
cdnType.textContent = "腾讯云 EdgeOne";
|
||||
}
|
||||
else if (hostname === "fastly.adclosenn.top") {
|
||||
// Fastly CDN https://fastly.adclosenn.top
|
||||
siteType.innerHTML = '由 <a href="https://www.fastly.com" target="_blank">Fastly CDN</a> 加速的 <a href="https://fastly.adclosenn.top">fastly.adclosenn.top</a>。本站点已进行 IP 优选。';
|
||||
cdnType.textContent = "Fastly CDN";
|
||||
}
|
||||
else{
|
||||
siteType.innerHTML = "未知主机名:<code>" + hostname + "</code>。";
|
||||
cdnType.innerHTML = "未知主机名"
|
||||
}
|
||||
if (hostname != "") {
|
||||
hName.textContent = hostname;
|
||||
}
|
||||
else {
|
||||
hName.textContent = "本地 HTML 文件";
|
||||
}
|
||||
}
|
||||
|
||||
// 兼容 Astro 的客户端导航与首次加载
|
||||
document.addEventListener('astro:page-load', getHostname);
|
||||
document.addEventListener('astro:after-swap', getHostname);
|
||||
if (document.readyState !== 'loading') getHostname();
|
||||
document.addEventListener('DOMContentLoaded', getHostname);
|
||||
</script>
|
||||
- <a href="/assets/carbon-config.json" target="_blank">/public/assets/carbon-config.json</a> :[Carbon 官网](https://carbon.now.sh) 配置文件。
|
||||
+18
-9
@@ -73,14 +73,14 @@ import { Icon } from "astro-icon/components";
|
||||
<a href="https://ansonq.com" target="_blank" class="friend-card">
|
||||
<div class="flex items-center gap-2">
|
||||
<img src="https://ansonq.com/src/tx.png" loading="lazy" class="w-5 h-5 rounded">
|
||||
<div class="font-bold text-black dark:text-white">Anson主页</div>
|
||||
<div class="font-bold text-black dark:text-white">Anson 主页</div>
|
||||
</div>
|
||||
<div class="text-sm text-black/50 dark:text-white/50">Anson的国际导航页</div>
|
||||
<div class="text-sm text-black/50 dark:text-white/50">Anson 的国际导航页</div>
|
||||
</a>
|
||||
|
||||
<a href="https://bbos.me" target="_blank" class="friend-card">
|
||||
<div class="flex items-center gap-2">
|
||||
<img src="/assets/favicon/0x4E314E30.jpg" loading="lazy" class="w-5 h-5 rounded">
|
||||
<img src="/assets/friends-avatar/0x4E314E30.jpg" loading="lazy" class="w-5 h-5 rounded">
|
||||
<div class="font-bold text-black dark:text-white">五道口宇宙中心</div>
|
||||
</div>
|
||||
<div class="text-sm text-black/50 dark:text-white/50">什么都想了解一点</div>
|
||||
@@ -88,8 +88,8 @@ import { Icon } from "astro-icon/components";
|
||||
|
||||
<a href="https://blog.mckero.com" target="_blank" class="friend-card">
|
||||
<div class="flex items-center gap-2">
|
||||
<img src="https://tuchuang.mckero.top/OIP.jpeg" loading="lazy" class="w-5 h-5 rounded">
|
||||
<div class="font-bold text-black dark:text-white">MC_Kero的 blog</div>
|
||||
<img src="https://i0.hdslb.com/bfs/face/96a6399dffe9e203d3afcc83fe5af3377830fa19.png" loading="lazy" referrerpolicy="no-referrer" class="w-5 h-5 rounded">
|
||||
<div class="font-bold text-black dark:text-white">MC_Kero 的 blog</div>
|
||||
</div>
|
||||
<div class="text-sm text-black/50 dark:text-white/50">依稀当年泪目干!</div>
|
||||
</a>
|
||||
@@ -130,7 +130,7 @@ import { Icon } from "astro-icon/components";
|
||||
|
||||
<a href="https://tbmiao.dpdns.org" target="_blank" class="friend-card">
|
||||
<div class="flex items-center gap-2">
|
||||
<img src="/assets/172878250.png" loading="lazy" class="w-5 h-5 rounded">
|
||||
<img src="/assets/friends-avatar/tbmiao.dpdns.org_172878250.png" loading="lazy" class="w-5 h-5 rounded">
|
||||
<div class="font-bold text-black dark:text-white">AUNyaの小窝</div>
|
||||
</div>
|
||||
<div class="text-sm text-black/50 dark:text-white/50">一个热爱二次元的小萌新~</div>
|
||||
@@ -178,7 +178,7 @@ import { Icon } from "astro-icon/components";
|
||||
|
||||
<a href="https://xhc861.top" target="_blank" class="friend-card">
|
||||
<div class="flex items-center gap-2">
|
||||
<img src="/assets/99964145.jpg" loading="lazy" class="w-5 h-5 rounded">
|
||||
<img src="/assets/friends-avatar/xhc861.top_99964145.jpg" loading="lazy" class="w-5 h-5 rounded">
|
||||
<div class="font-bold text-black dark:text-white">xhc861's Blog</div>
|
||||
</div>
|
||||
<div class="text-sm text-black/50 dark:text-white/50">博客,远不止于博客~</div>
|
||||
@@ -199,16 +199,25 @@ import { Icon } from "astro-icon/components";
|
||||
</div>
|
||||
<div class="text-sm text-black/50 dark:text-white/50">潜水</div>
|
||||
</a>
|
||||
|
||||
<a href="https://miaocaty.top" target="_blank" class="friend-card">
|
||||
<div class="flex items-center gap-2">
|
||||
<img src="/assets/friends-avatar/miaocaty.top.jpeg" loading="lazy" class="w-5 h-5 rounded">
|
||||
<div class="font-bold text-black dark:text-white">MeowCata 小站</div>
|
||||
</div>
|
||||
<div class="text-sm text-black/50 dark:text-white/50">化学 × 随手记 × 心得 × 随缘更</div>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- 申请友链 -->
|
||||
<div class="sponsors-section mt-8">
|
||||
<h2 class="text-xl font-bold text-black dark:text-white mb-4 flex items-center gap-2">
|
||||
<Icon name="material-symbols:group" class="text-[1.5rem] text-[var(--primary)]"/>
|
||||
将您的网站加入本站友链
|
||||
将您的网站加入本站友链板块
|
||||
</h2>
|
||||
<p class="text-sm text-black/60 dark:text-white/60">
|
||||
请自行提交 Issue : <a target="_blank" href="https://github.com/Ad-closeNN/blog-friends/issues/new?title=%E5%8F%8B%E9%93%BE%E7%94%B3%E8%AF%B7%EF%BC%9A" class="transition link text-[var(--primary)] font-medium">点击这里提交</a>
|
||||
请自行提交 GitHub Issue : <a target="_blank" href="https://github.com/Ad-closeNN/form/issues/new?template=friends-link.yml" class="transition link text-[var(--primary)] font-medium">点击这里提交</a>
|
||||
</p>
|
||||
<br>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user