blog

My blog at www.shimmy1996.com

git clone git://git.shimmy1996.com/blog.git
commit 6c9215adddf0936435008fde239bf39a09499648
parent 6b853bbb9f9853eced9d41994e1ea5504cd5e8c5
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date:   Sun,  5 Apr 2020 08:52:10 -0500

Add translation for Static Alternatives to Mastadon and Gitea

Diffstat:
Mcontent/posts/2020-04-04-static-alternatives-to-mastodon-and-gitea.en.md | 16++++++++--------
Acontent/posts/2020-04-04-static-alternatives-to-mastodon-and-gitea.zh.md | 34++++++++++++++++++++++++++++++++++
Morg/2020.org | 50++++++++++++++++++++++++++++++++++++++++++--------
3 files changed, 84 insertions(+), 16 deletions(-)
diff --git a/content/posts/2020-04-04-static-alternatives-to-mastodon-and-gitea.en.md b/content/posts/2020-04-04-static-alternatives-to-mastodon-and-gitea.en.md
@@ -24,16 +24,16 @@ front ends.
 
 Starting with Mastadon, I'm using the [twtxt](https://twtxt.readthedocs.io/en/latest/) format to store and serve my micro
 blog. The format has existed for some time now, but enjoyed a recent resurgence
-in the tildeverse community. While there is now a whole community supported
-ecosystem of various syntax extensions and software seeking to add more features
-to the format, I have found the barebone timestamp-tab-and-then-text syntax to
-be sufficient. The write-and-forget cycle is really addicting, and even more so
-when using a command line client written by oneself (mine is aptly named
-[twixter](https://git.shimmy1996.com/twixter/)).
+in the tildeverse (a series of websites offering public access Unix-like
+systems). While there is now a whole community supported ecosystem of various
+syntax extensions and software seeking to add more features to the format, I
+have found the barebone timestamp-tab-and-then-text syntax to be sufficient. The
+write-and-forget cycle is really addicting, and even more so when using a
+command line client (mine is aptly named [twixter](https://git.shimmy1996.com/twixter/)).
 
 As for Gitea, while an excellent Github replacement in my opinion, is more
-suitable for a established community than as a personal project dumping
-ground. I opted to manage the Git repositories directly (see Chapter [4.4](https://git-scm.com/book/en/v2/Git-on-the-Server-Setting-Up-the-Server) and [4.5](https://git-scm.com/book/en/v2/Git-on-the-Server-Git-Daemon)
+suitable for community collaboration than as a personal project dumping
+ground. I opted to manage the git repositories directly (see Chapter [4.4](https://git-scm.com/book/en/v2/Git-on-the-Server-Setting-Up-the-Server) and [4.5](https://git-scm.com/book/en/v2/Git-on-the-Server-Git-Daemon)
 of _Pro Git_), and use [stagit](https://git.codemadness.org/stagit/) to generate the corresponding HTML files. These
 stagit-generated pages have replaced Gitea as the new [Trantor Holocron](https://git.shimmy1996.com/).
 
diff --git a/content/posts/2020-04-04-static-alternatives-to-mastodon-and-gitea.zh.md b/content/posts/2020-04-04-static-alternatives-to-mastodon-and-gitea.zh.md
@@ -0,0 +1,34 @@
++++
+title = "Mastodon和Gitea的静态替代品"
+date = 2020-04-04
+slug = "static-alternatives-to-mastodon-and-gitea"
+draft = false
++++
+
+就像我当时决定换掉Wordpress一样,我觉得我已经受够了运行Mastodon和Gitea。
+
+跟上Gitea设置选项的频繁改变一直很烦人,而使用Mastodon时,由于系统库版本不匹配
+(通常是protobuf)造成的依赖软件包出错十分常见。尽管后者不是Mastodon本身的错,但
+需要额外安装两个软件包管理器(分别用于Ruby和Node.js)来运行一个程序对我来说是很
+荒谬的。
+
+我于2018年开始在服务器上运行两者:先开始的是作为Twitter替代品的Mastadon,而Gitea
+则是我后来对微软收购Github的回应。回头想想,相对于我的需求,这有点大材小用:我的
+git服务器和微型博客的主要用例都是单用户中心的只写任务。这意味着这些内容应以只读
+形式提供给我网站的访问者,而静态网页正是完美的替代品。
+
+从Mastadon开始说起,我现在使用[twtxt](https://twtxt.readthedocs.io/en/latest/)格式存储和发布我的微型博客。这一格式已经存在
+了一段时间,但最近在波浪号社区(tildeverse,一系列提供可公共访问的类Unix系统的网
+站)中开始重新流行。尽管现在有一整个旨在为该格式添加更多功能的社区支持的生态系统
+(其中包含各种语法扩展和软件),但我发现最基本的的时间戳加制表键加文字的语法已足
+够满足我的需求。这种即写即忘的形式确实很容易上瘾,尤其是与自己写的命令行客户端搭
+配使用时(我的版本被恰当地命名为[twixter](https://git.shimmy1996.com/twixter/))。
+
+至于Gitea,虽然我认为是Github的优秀替代品,但它更适合于多用户协作,而不是作为个
+人项目的闲置场。我决定直接自己管理git仓库(参阅_Pro Git_的[4.4](https://git-scm.com/book/zh/v2/%25E6%259C%258D%25E5%258A%25A1%25E5%2599%25A8%25E4%25B8%258A%25E7%259A%2584-Git-%25E9%2585%258D%25E7%25BD%25AE%25E6%259C%258D%25E5%258A%25A1%25E5%2599%25A8)和[4.5](https://git-scm.com/book/zh/v2/%25E6%259C%258D%25E5%258A%25A1%25E5%2599%25A8%25E4%25B8%258A%25E7%259A%2584-Git-Git-%25E5%25AE%2588%25E6%258A%25A4%25E8%25BF%259B%25E7%25A8%258B)章),然后使用
+[stagit](https://git.codemadness.org/stagit/)生成相应的HTML文件。这些由stagit生成的页面已经替代Gitea作为新生的[川陀全系
+档案馆](https://git.shimmy1996.com/)。
+
+在解决了我在线存在的只写任务需求后,我将继续探索剩下的两个难题:只读(内容消费)
+和交互(通讯方式)类操作。目前,订阅源和电子邮件是我最好的答案,但是它们仍然不足
+以涵盖我所有的需求。
diff --git a/org/2020.org b/org/2020.org
@@ -284,16 +284,16 @@ front ends.
 
 Starting with Mastadon, I'm using the [[https://twtxt.readthedocs.io/en/latest/][twtxt]] format to store and serve my micro
 blog. The format has existed for some time now, but enjoyed a recent resurgence
-in the tildeverse community. While there is now a whole community supported
-ecosystem of various syntax extensions and software seeking to add more features
-to the format, I have found the barebone timestamp-tab-and-then-text syntax to
-be sufficient. The write-and-forget cycle is really addicting, and even more so
-when using a command line client written by oneself (mine is aptly named
-[[https://git.shimmy1996.com/twixter/][twixter]]).
+in the tildeverse (a series of websites offering public access Unix-like
+systems). While there is now a whole community supported ecosystem of various
+syntax extensions and software seeking to add more features to the format, I
+have found the barebone timestamp-tab-and-then-text syntax to be sufficient. The
+write-and-forget cycle is really addicting, and even more so when using a
+command line client (mine is aptly named [[https://git.shimmy1996.com/twixter/][twixter]]).
 
 As for Gitea, while an excellent Github replacement in my opinion, is more
-suitable for a established community than as a personal project dumping
-ground. I opted to manage the Git repositories directly (see Chapter [[https://git-scm.com/book/en/v2/Git-on-the-Server-Setting-Up-the-Server][4.4]] and [[https://git-scm.com/book/en/v2/Git-on-the-Server-Git-Daemon][4.5]]
+suitable for community collaboration than as a personal project dumping
+ground. I opted to manage the git repositories directly (see Chapter [[https://git-scm.com/book/en/v2/Git-on-the-Server-Setting-Up-the-Server][4.4]] and [[https://git-scm.com/book/en/v2/Git-on-the-Server-Git-Daemon][4.5]]
 of /Pro Git/), and use [[https://git.codemadness.org/stagit/][stagit]] to generate the corresponding HTML files. These
 stagit-generated pages have replaced Gitea as the new [[https://git.shimmy1996.com/][Trantor Holocron]].
 
@@ -302,3 +302,37 @@ online presence, I will continue to explore options for the remaining two
 pillars: read-only (content consumption) and interaction (means of
 communication). Web feeds and email are my best answers now, but they still
 don't cover all the bases in my experience.
+
+** DONE zh
+:PROPERTIES:
+:EXPORT_FILE_NAME: 2020-04-04-static-alternatives-to-mastodon-and-gitea.zh.md
+:EXPORT_TITLE: Mastodon和Gitea的静态替代品
+:END:
+
+就像我当时决定换掉Wordpress一样,我觉得我已经受够了运行Mastodon和Gitea。
+
+跟上Gitea设置选项的频繁改变一直很烦人,而使用Mastodon时,由于系统库版本不匹配
+(通常是protobuf)造成的依赖软件包出错十分常见。尽管后者不是Mastodon本身的错,但
+需要额外安装两个软件包管理器(分别用于Ruby和Node.js)来运行一个程序对我来说是很
+荒谬的。
+
+我于2018年开始在服务器上运行两者:先开始的是作为Twitter替代品的Mastadon,而Gitea
+则是我后来对微软收购Github的回应。回头想想,相对于我的需求,这有点大材小用:我的
+git服务器和微型博客的主要用例都是单用户中心的只写任务。这意味着这些内容应以只读
+形式提供给我网站的访问者,而静态网页正是完美的替代品。
+
+从Mastadon开始说起,我现在使用[[https://twtxt.readthedocs.io/en/latest/][twtxt]]格式存储和发布我的微型博客。这一格式已经存在
+了一段时间,但最近在波浪号社区(tildeverse,一系列提供可公共访问的类Unix系统的网
+站)中开始重新流行。尽管现在有一整个旨在为该格式添加更多功能的社区支持的生态系统
+(其中包含各种语法扩展和软件),但我发现最基本的的时间戳加制表键加文字的语法已足
+够满足我的需求。这种即写即忘的形式确实很容易上瘾,尤其是与自己写的命令行客户端搭
+配使用时(我的版本被恰当地命名为[[https://git.shimmy1996.com/twixter/][twixter]])。
+
+至于Gitea,虽然我认为是Github的优秀替代品,但它更适合于多用户协作,而不是作为个
+人项目的闲置场。我决定直接自己管理git仓库(参阅/Pro Git/的[[https://git-scm.com/book/zh/v2/%25E6%259C%258D%25E5%258A%25A1%25E5%2599%25A8%25E4%25B8%258A%25E7%259A%2584-Git-%25E9%2585%258D%25E7%25BD%25AE%25E6%259C%258D%25E5%258A%25A1%25E5%2599%25A8][4.4]]和[[https://git-scm.com/book/zh/v2/%25E6%259C%258D%25E5%258A%25A1%25E5%2599%25A8%25E4%25B8%258A%25E7%259A%2584-Git-Git-%25E5%25AE%2588%25E6%258A%25A4%25E8%25BF%259B%25E7%25A8%258B][4.5]]章),然后使用
+[[https://git.codemadness.org/stagit/][stagit]]生成相应的HTML文件。这些由stagit生成的页面已经替代Gitea作为新生的[[https://git.shimmy1996.com/][川陀全系
+档案馆]]。
+
+在解决了我在线存在的只写任务需求后,我将继续探索剩下的两个难题:只读(内容消费)
+和交互(通讯方式)类操作。目前,订阅源和电子邮件是我最好的答案,但是它们仍然不足
+以涵盖我所有的需求。