mirror of
https://github.com/Ad-closeNN/blog-fuwari.git
synced 2026-05-31 02:00:05 -04:00
docs(telegram 能直连了?)
This commit is contained in:
@@ -7,6 +7,12 @@ import ImageWrapper from "../misc/ImageWrapper.astro";
|
||||
const config = profileConfig;
|
||||
---
|
||||
<div class="card-base p-3">
|
||||
<div class="text-center text-sm text-neutral-500 dark:text-neutral-400 border-neutral-100 dark:border-neutral-700">一言 / hitokoto</div>
|
||||
<div class="text-center text-sm text-neutral-500 dark:text-neutral-400 border-neutral-100 dark:border-neutral-700">
|
||||
<p id="hitokoto">正在加载一言...</p>
|
||||
</div>
|
||||
<div class="text-center text-sm text-neutral-500 dark:text-neutral-400 mt-3 pt-3 border-t border-neutral-200 dark:border-neutral-700">
|
||||
</div>
|
||||
<a aria-label="Go to About Page" href={url('/about/')}
|
||||
class="group block relative mx-auto mt-1 lg:mx-0 lg:mt-0 mb-3
|
||||
max-w-[12rem] lg:max-w-none overflow-hidden rounded-xl active:scale-95">
|
||||
@@ -46,6 +52,20 @@ const config = profileConfig;
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
// 调用一言 API
|
||||
fetch("https://api.xinac.net/words")
|
||||
.then(response => response.json())
|
||||
.then(data => {
|
||||
// API 返回的字段是 data.text
|
||||
document.getElementById("hitokoto").innerText = data.text;
|
||||
})
|
||||
.catch(error => {
|
||||
console.error("获取一言失败:", error);
|
||||
document.getElementById("hitokoto").innerText = "获取失败,请稍后再试。";
|
||||
});
|
||||
</script>
|
||||
|
||||
<script define:vars={{ umamiConfig }}>
|
||||
// 获取全站访问量统计
|
||||
async function loadSiteStats() {
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@ export const siteConfig: SiteConfig = {
|
||||
background: {
|
||||
enable: true, // Enable background image
|
||||
//src: "https://eo-pic.2x.nz/h", // Background image URL (supports HTTPS)
|
||||
src: "https://bing.img.run/rand_1366x768.php", // Bing daily theme
|
||||
src: "https://bing.ee123.net/img", // Bing daily theme
|
||||
position: "center", // Background position: 'top', 'center', 'bottom'
|
||||
size: "cover", // Background size: 'cover', 'contain', 'auto'
|
||||
repeat: "no-repeat", // Background repeat: 'no-repeat', 'repeat', 'repeat-x', 'repeat-y'
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 710 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 357 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.6 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 44 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 477 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 389 KiB |
@@ -0,0 +1,45 @@
|
||||
---
|
||||
title: 什么?Telegram 能直连了?
|
||||
published: 2025-08-08
|
||||
tags: ["GFW"]
|
||||
description: 2025/8/8 早上,Telegram 竟可在国内被访问,不过现在失效了(悲)
|
||||
image: ../assets/images/telegram-devices-panel-china.jpg
|
||||
category: 记录
|
||||
draft: false
|
||||
---
|
||||
|
||||
# Telegram 能直连了?
|
||||
### 目前已被墙
|
||||
[t.me/zaihuapd/34943](https://t.me/zaihuapd/34943)
|
||||
```
|
||||
今早部分地区 GFW 放松了对 Telegram DC5 的封锁
|
||||
|
||||
根据多位 TG 用户测试,目前 Telegram DC5 可以在部分地区直接连接,而无需通过任何代理。
|
||||
|
||||
这可能是 Telegram 所在 IP 进行变更,GFW 未及时更新响应导致。
|
||||
|
||||
请问各位所在地区是否可以直连?
|
||||
|
||||
群友补充:DC5 数据中心和官网都很绿
|
||||
|
||||
群友目前反馈,已经无法直连
|
||||
```
|
||||
|
||||
:::note
|
||||
仅 DC5(数据中心) 用户(包括手机号+86)可直连
|
||||

|
||||
:::
|
||||
|
||||
8月8日早上 6:40 **之前**,GFW 放开了对 Telegram 的限制。不幸的是,仅仅几小时的 9:30 左右,GFW 已再次封禁 Telegram 的访问。 ~~默哀~~
|
||||
|
||||
## 除此之外
|
||||
另外,再扯一个 Cloudflare Warp,它具有国内直连节点。概率连上后,Google 将会显示国内 Cloudflare Warp IP。
|
||||
|
||||
# 合影留念
|
||||
- Telegram **China** IP: 
|
||||
- Telegram **中国上海市** IP:(错误的定位) 
|
||||
|
||||
---
|
||||
|
||||
- Google **广西** IP(Cloudflare Warp): 
|
||||
- Google **中国浙江省杭州市** IP(错误的定位,Cloudflare Warp): 
|
||||
@@ -1,5 +1,5 @@
|
||||
# 关于 / Hi there!
|
||||
既然你来到了这里,就说明你在访问由 [Netlify](https://www.netlify.com) 托管的 [adclosenn.top](https://adclosenn.top)。
|
||||
既然你来到了这里,就说明你在访问由 [Netlify](https://www.netlify.com) 托管的 [adclosenn.top](https://adclosenn.top)。本站 Netlify 优选 IP:`3.33.186.135`
|
||||
|
||||
本站使用 [@satcaca/fuwari](https://github.com/saicaca/fuwari) 博客模板。嗯,真漂亮,真好用。
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
::github{repo="withastro/astro"}
|
||||
|
||||
## 域名
|
||||
目前你现在见到的,也就是 [adclosenn.top](https://adclosenn.top)。除了这个,还有其他的域名:
|
||||
目前你现在见到的,也就是 [adclosenn.top](https://adclosenn.top)。除了这个,我还有其他的域名(部分):
|
||||
|
||||
1. adclosenn.top
|
||||
2. 19991230.xyz
|
||||
@@ -24,4 +24,9 @@
|
||||
一位住在[中华人民共和国广西壮族自治区梧州市](https://baike.baidu.com/item/%E6%A2%A7%E5%B7%9E%E5%B8%82/7260153)的苦逼学生。长吗?长就对了!谁让广西是自治区呢!
|
||||
|
||||
### 爱好
|
||||
玩游戏、写代码、写博客(也许吧),哦,还有读书。只会一点 [Python](https://baike.baidu.com/item/Python/407313),初学者罢了。
|
||||
玩游戏、写代码、写博客(也许吧),哦,还有读书。只会一点 [Python](https://baike.baidu.com/item/Python/407313),初学者罢了。
|
||||
|
||||
## 关于本站
|
||||
### 字体
|
||||
使用的是 [MiSans](https://hyperos.mi.com/font),中英文可变字重字体从官方 CDN 服务器获取。
|
||||
# [点此查看详情](/misans/)
|
||||
@@ -0,0 +1,25 @@
|
||||
# 关于/MiSans
|
||||
# [返回关于页](/about/)
|
||||
本站使用了 [MiSans](https://hyperos.mi.com/font) 作为显示字体。字体来源为**小米官网**使用的 CDN 服务器。
|
||||
|
||||
:::tip
|
||||
以下是本网站框架的配置文件 `tailwind.config.cjs`,位于网站根目录下。\
|
||||
如需使用本站同款 `MiSans VF`(可变字重),可点击此处 <a href="/assets/misans.css" target="_blank" rel="noopener noreferrer">assets/misans.css</a> 获取对应的 `.css` 文件,然后将 `misans.css` 中所有内容插入到 `src/styles/main.css` 内,再将 `tailwind.config.cjs` 修改一下即可。
|
||||
:::
|
||||
|
||||
```js title="tailwind.config.cjs" {9}
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
const defaultTheme = require("tailwindcss/defaultTheme")
|
||||
module.exports = {
|
||||
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue,mjs}"],
|
||||
darkMode: "class", // allows toggling dark mode manually
|
||||
theme: {
|
||||
extend: {
|
||||
fontFamily: {
|
||||
sans: ["MiSans VF", "HarmonyOS Sans SC", ...defaultTheme.fontFamily.sans],
|
||||
},
|
||||
},
|
||||
},
|
||||
plugins: [require("@tailwindcss/typography")],
|
||||
}
|
||||
```
|
||||
@@ -0,0 +1,25 @@
|
||||
---
|
||||
|
||||
import { getEntry, render } from "astro:content";
|
||||
import Markdown from "@components/misc/Markdown.astro";
|
||||
import I18nKey from "../i18n/i18nKey";
|
||||
import { i18n } from "../i18n/translation";
|
||||
import MainGridLayout from "../layouts/MainGridLayout.astro";
|
||||
|
||||
const aboutPost = await getEntry("spec", "misans");
|
||||
|
||||
if (!aboutPost) {
|
||||
throw new Error("About page content not found");
|
||||
}
|
||||
|
||||
const { Content } = await render(aboutPost);
|
||||
---
|
||||
<MainGridLayout title="关于/MiSans" description={i18n(I18nKey.about)}>
|
||||
<div class="flex w-full rounded-[var(--radius-large)] overflow-hidden relative min-h-32">
|
||||
<div class="card-base z-10 px-9 py-6 relative w-full ">
|
||||
<Markdown class="mt-2">
|
||||
<Content />
|
||||
</Markdown>
|
||||
</div>
|
||||
</div>
|
||||
</MainGridLayout>
|
||||
Reference in New Issue
Block a user