M README.md => README.md +1 -1
@@ 1,4 1,4 @@
-# xdavidwu.eglo.ga
+# xdavidwu.link
Content is CC-BY-SA 4.0. Code is MIT.
M _config.yml => _config.yml +6 -6
@@ 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"
M _posts/2020-10-05-gemini-support.md => _posts/2020-10-05-gemini-support.md +1 -1
@@ 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.
M => +2 -2
@@ 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.
M _posts/arch-linux-install => _posts/arch-linux-install +1 -1
@@ 1,1 1,1 @@
-Subproject commit a7fdc3f279c16088e241a1a04d8ce8fd46d73b79
+Subproject commit c4329e1f7ad139725c21a018c93ca595fad1012d
M gemini/index.gmi => gemini/index.gmi +1 -1
@@ 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