切换到个人域名

之前立的 flag, 保留之前的 github.io 域名的同时,增加部署到个人域名,也就是在 https://whyouare.federarks.xyz/。

1.复制了一份工程,创建了一个软链接,在新的工程目录下维护好 _config.icarus.yml

1
2
3
4
5
plugins:
webmention:
baseUrl: https://webmention.io
link: https://webmention.io/whyouare.federarks.xyz/webmention
pingbackLink: https://webmention.io/whyouare.federarks.xyz/xmlrpc

_config.yml

1
2
3
4
5
6
7
8
url: https://whyouare.federarks.xyz
root: /
deploy:
type: git
repo: git@whyouare111.github.com:whyouare111/f_blog.git
branch: main
name: WhyYouAre
email: whyouare556@protonmail.com

hexo c
hexo g
hexo d
发布一次。

  1. 在 Vercel 导入此工程,部署,添加域名,按引导配置上 CNAME DNS Record.

然后去 GitHub 在 Bio 里加上这个站点的链接,https://webmention.iohttps://telegraph.p3k.io/ 等 IndieWeb 服务就可以用域名登录了。

  1. 尝试装配 brid.gy 相关服务

我有一个 Mastodon 账号,方便起见走 Cross-Post 模式。之前自己配置流程的时候也是实验了这个方式,然后在时间线提供入口的模式

https://brid.gy/ 按引导选 Mastodon, 选 Cross-Post
输入 Mastodon 实例位置,我的当前在 mastodon.social
按引导一路下去,进入授权页,选同意

绑定成功后,能看到

Alt text

类似这样的界面。右边一开始是 Enable,可以点。
不论细节,可以理解为按 Micropub 格式解析 Post 发到 Mastodon

这篇因为包含了代码块,效果不是很好。还是先手动发一次试试了。

目前 Mastodon 的前端方案不再使用 h-entry 的样子,看来是不能直接发 webmention 了。
一般的文章还是靠 brid.gy 吧。

作者

WhyYouAre

发布于

2023-06-29

更新于

2023-06-29

许可协议

评论