From 4100c7f2f7adca05734daaae4a1c9f497b5dc245 Mon Sep 17 00:00:00 2001 From: xdavidwu Date: Mon, 23 Aug 2021 01:51:02 +0800 Subject: [PATCH] update for new domain --- README.md | 2 +- _config.yml | 12 ++++++------ _posts/2020-10-05-gemini-support.md | 2 +- _posts/2021-08-12-matrix-comments.md | 4 ++-- _posts/arch-linux-install | 2 +- gemini/index.gmi | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index abf6505..be33ef2 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# xdavidwu.eglo.ga +# xdavidwu.link Content is CC-BY-SA 4.0. Code is MIT. diff --git a/_config.yml b/_config.yml index 7a1db2c..76865f1 100644 --- a/_config.yml +++ b/_config.yml @@ -50,11 +50,11 @@ comments: branch: # "master" endpoint: # "https://{your Staticman v3 API}/v3/entry/github/" matrix: - homeserver_url: "https://eglo.ga" - homeserver: "eglo.ga" - site: "xdavidwu.eglo.ga" - admin: "@xdavidwu:eglo.ga" - bot: "@xdavidwu.eglo.ga-comment-bot:eglo.ga" + homeserver_url: "https://xdavidwu.link" + homeserver: "xdavidwu.link" + site: "xdavidwu.link" + admin: "@xdavidwu:xdavidwu.link" + bot: "@comment-bot:xdavidwu.link" reCaptcha: siteKey: secret: @@ -120,7 +120,7 @@ author: url: "https://github.com/xdavidwu/" - label: "Matrix" icon: "fa fa-fw fa-matrix-org" - url: "https://matrix.to/#/@xdavidwu:eglo.ga" + url: "https://matrix.to/#/@xdavidwu:xdavidwu.link" - label: "Pleroma" icon: "fa fa-fw fa-pleroma" url: "https://pleroma.xdavidwu.link/xdavidwu" diff --git a/_posts/2020-10-05-gemini-support.md b/_posts/2020-10-05-gemini-support.md index 5649ffe..0af1c0b 100644 --- a/_posts/2020-10-05-gemini-support.md +++ b/_posts/2020-10-05-gemini-support.md @@ -7,6 +7,6 @@ tags: - en --- -This blog is now also available under [Gemini](https://gemini.circumlunar.space/) protocol, in Gemtext format, at [gemini://xdavidwu.eglo.ga](gemini://xdavidwu.eglo.ga). Post contents are identical. +This blog is now also available under [Gemini](https://gemini.circumlunar.space/) protocol, in Gemtext format, at [gemini://xdavidwu.link](gemini://xdavidwu.link). Post contents are identical. It is still a WIP. Index is currently available in date order only. There are no comments support in posts. diff --git a/_posts/2021-08-12-matrix-comments.md b/_posts/2021-08-12-matrix-comments.md index d11cdb7..61ab4ed 100644 --- a/_posts/2021-08-12-matrix-comments.md +++ b/_posts/2021-08-12-matrix-comments.md @@ -12,7 +12,7 @@ I have changed the commenting platform from Disqus to one based on Matrix. There are Matrix rooms for each posts, and you can comment by either the embedded web frontend or any Matrix client. Room aliases are located above the embedded web frontend. -You can also browse all comment rooms from Matrix Space at \#comments\_xdavidwu.eglo.ga:eglo.ga +You can also browse all comment rooms from Matrix Space at \#comments\_xdavidwu.link:xdavidwu.link Here is the story behind this: @@ -32,6 +32,6 @@ Later, I learned about Matrix, the federated messaging protocol that supported l To make this work, I need an embeddable web client with a simple UI and ability to view as guest. This had been in my todo (with low priority though) until I discovered [Cactus Comments](https://cactus.chat/). They had the same idea of using Matrix room for commenting platform and they already built it! But I do not like thier method for creating the rooms. If I understand the code correctly, they hook into homeserver by appservice API, and create the room when an alias that does not exists is queried. This can be abused to create many unwanted rooms and bring troubles to site owner and homeserver admin. The use of appservice API also make it harder to deploy. -So I use their web client, and create the rooms in my own way. I write a hook for the static-site generator I am using (Jekyll), and it provisions rooms when building the site. This is done under a new user, and it will invite me to become an admin in newly created room. All room creations happen automatically under my control. If interested, see `_plugins/matrix-room-provision.rb` of the site [source code](https://gitlab.eglo.ga/xdavidwu/xdavidwu.eglo.ga/-/blob/master/_plugins/matrix-room-provision.rb). +So I use their web client, and create the rooms in my own way. I write a hook for the static-site generator I am using (Jekyll), and it provisions rooms when building the site. This is done under a new user, and it will invite me to become an admin in newly created room. All room creations happen automatically under my control. If interested, see `_plugins/matrix-room-provision.rb` of the site [source code](https://gitlab.xdavidwu.link/xdavidwu/xdavidwu.xdavidwu.link/-/blob/master/_plugins/matrix-room-provision.rb). There are still many spaces for improvements, like more CSS work to make the experience more immersive to this site, and support of login mechanisms other than native username / password. diff --git a/_posts/arch-linux-install b/_posts/arch-linux-install index a7fdc3f..c4329e1 160000 --- a/_posts/arch-linux-install +++ b/_posts/arch-linux-install @@ -1 +1 @@ -Subproject commit a7fdc3f279c16088e241a1a04d8ce8fd46d73b79 +Subproject commit c4329e1f7ad139725c21a018c93ca595fad1012d diff --git a/gemini/index.gmi b/gemini/index.gmi index a62bcf5..3b82c74 100644 --- a/gemini/index.gmi +++ b/gemini/index.gmi @@ -2,6 +2,6 @@ This is gemini:// version of xdavidwu's "Hacking Life" blog[1], post contents are identical. -=> https://xdavidwu.eglo.ga/ 1: https://xdavidwu.eglo.ga +=> https://xdavidwu.link/ 1: https://xdavidwu.link ## Posts -- 2.43.0