# “迷你” Discourse + Chat？

**URL:** https://meta.discourse.org/t/a-mini-discourse-chat/222919
**Category:** General
**Created:** [2022年四月2日 08:03 UTC](https://meta.discourse.org/t/a-mini-discourse-chat/222919 "2022-04-02T08:03:30Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![philip\_rhoades](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/philip_rhoades/32/114647_2.png) [@philip\_rhoades](https://meta.discourse.org/u/philip_rhoades)
#### Post date: [2022年四月2日 08:03 UTC](https://meta.discourse.org/t/a-mini-discourse-chat/222919/1 "2022-04-02T08:03:30Z")

</div>

各位，

有人有兴趣构建一个非常精简、最小化的“迷你”Discourse，可以轻松地在任何发行版上构建（我的首选是 Fedora 和 Alpine），但我们可以在此进行实验，讨论中提到的聊天/社交功能：

> [@Why isn't Discourse more frequently recommended as a "community platform"?](https://meta.discourse.org/t/why-dont-people-mention-discourse-in-conversations/221040):
>
> I just ran across this lengthy Twitter thread: There are more than 100 replies, but the summary is basically a ton of votes for Circle.so, a good number for Mighty Networks, some reference to “why change from Discord?”, and then literally 3 or 4 mentions of Discourse, most of them without anywhere near as much conviction or endorsement as those espousing Circle and others, or heck, even those saying they use Telegram for community. That concerns me. I almost jumped-in and added a recommendatio…

吗？

---

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [2022年四月2日 08:55 UTC](https://meta.discourse.org/t/a-mini-discourse-chat/222919/2 "2022-04-02T08:55:45Z")

</div>

> [@philip\_rhoades](#):
>
> 一个非常精简、最小化的“迷你”Discourse，可以轻松地在任何发行版上构建（我的首选是 Fedora 和 Alpine）

根据我的经验，出于这类技术原因而牺牲功能通常是一个糟糕的决定。

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2022年四月2日 11:33 UTC](https://meta.discourse.org/t/a-mini-discourse-chat/222919/3 "2022-04-02T11:33:34Z")

</div>

您想分叉 discourse 并且不通过 docker 运行它？那样不会有什么好结果。

---

<div class="post-metadata">

### Author: ![philip\_rhoades](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/philip_rhoades/32/114647_2.png) [@philip\_rhoades](https://meta.discourse.org/u/philip_rhoades)
#### Post date: [2022年四月2日 13:18 UTC](https://meta.discourse.org/t/a-mini-discourse-chat/222919/4 "2022-04-02T13:18:48Z")

</div>

> [@pfaffman](#):
>
> 你想分叉 discourse 并且不通过 docker 运行它？这不会有好结果。

嗯……这篇文章是关于 FlatPak 的，但包含一些关于容器的一般性评论：

> **[Flatpak Is Not the Future](https://ludocode.com/blog/flatpak-is-not-the-future)**

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [2022年四月2日 14:15 UTC](https://meta.discourse.org/t/a-mini-discourse-chat/222919/5 "2022-04-02T14:15:12Z")

</div>

> 在 Linux 桌面部署应用程序很难。

本文讨论了容器化应用程序在用户桌面上的实用性。Discourse 从未打算与浏览器一起在本地笔记本电脑上运行，而是在服务器上运行，以便您的整个团队/社区都可以访问。

所以我不太明白这和 Discourse 有什么关系 🤔

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [2022年四月2日 15:11 UTC](https://meta.discourse.org/t/a-mini-discourse-chat/222919/6 "2022-04-02T15:11:40Z")

</div>

请介绍一下您认为这将实现的用例/场景。

---

<div class="post-metadata">

### Author: ![maiki](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maiki/32/233950_2.png) [@maiki](https://meta.discourse.org/u/maiki)
#### Post date: [2022年四月2日 17:30 UTC](https://meta.discourse.org/t/a-mini-discourse-chat/222919/7 "2022-04-02T17:30:08Z")

</div>

> [@philip\_rhoades](#):
>
> where we could experiment with some of the chat / social features

这并不涉及分叉，但我想到的第一件事是：[Discourse on a Raspberry Pi | Blog](https://meta.discourse.org/t/discourse-on-a-raspberry-pi-blog/211357?u=maiki%E3%80%82)

另一方面，启动一个小型 VPS 来测试 Discourse 并没有太大区别，而且对于实验来说很有帮助。🙂

---

<div class="post-metadata">

### Author: ![oshyan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/oshyan/32/212644_2.png) [@oshyan](https://meta.discourse.org/u/oshyan)
#### Post date: [2022年四月3日 04:09 UTC](https://meta.discourse.org/t/a-mini-discourse-chat/222919/8 "2022-04-03T04:09:15Z")

</div>

虽然我很欣赏这其中的灵感，但我老实说认为 Discourse 在一些地方相当容易尝试，其中最主要的是 Digital Ocean。它有一些核心要求，使其不如几乎任何基于 PHP 的论坛那么容易，但这完全是另一个问题，不值得在这里讨论。😅 但我确实认为，_如果_人们愿意在 Digital Ocean 中进行实验，Discourse 的测试对人们来说是相当容易的。存在一定的入门门槛，但考虑到 Discourse 的核心开发和托管方式（RoR、Docker 等），我真的无法想象有什么好方法来解决它。

我更大的疑问是，这是否触及了 Discourse _似乎_在“现代”社区平台讨论中不太“被提及”的核心原因之一。我的感觉是答案是否定的，我认为一些基本的设计和功能问题可能是一个更大的因素。但我很好奇你是否觉得不然。

---

<div class="post-metadata">

### Author: ![philip\_rhoades](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/philip_rhoades/32/114647_2.png) [@philip\_rhoades](https://meta.discourse.org/u/philip_rhoades)
#### Post date: [2022年四月5日 23:10 UTC](https://meta.discourse.org/t/a-mini-discourse-chat/222919/9 "2022-04-05T23:10:19Z")

</div>

> [@oshyan](#):
>
> 虽然我很欣赏这个的灵感，但我老实说认为 Discourse 在一些地方是相当容易尝试的，其中主要是 Digital Ocean。

问题不在于网站，而在于在 Ubuntu 以外的 Linux 上进行构建。

> [@oshyan](#):
>
> 我的感觉是答案是否定的，我认为存在一些基本的设计和功能问题，这可能是一个更大的因素。

但是，如果你要从头开始构建一个“迷你”Discourse，你将有一个全新的领域可以进行实验。

---

<div class="post-metadata">

### Author: ![philip\_rhoades](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/philip_rhoades/32/114647_2.png) [@philip\_rhoades](https://meta.discourse.org/u/philip_rhoades)
#### Post date: [2022年四月5日 23:12 UTC](https://meta.discourse.org/t/a-mini-discourse-chat/222919/10 "2022-04-05T23:12:17Z")

</div>

> [@Falco](#):
>
> Discourse 从来都不是为了让你在浏览器旁边的笔记本电脑上本地运行，而是在一个服务器上运行，以便你的整个团队/社区都可以访问。
> 
> 所以我不太明白这和 Discourse 有什么关系。

在一个小型局域网中，工作站和服务器之间的差异通常并不大。 .

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2022年四月6日 09:30 UTC](https://meta.discourse.org/t/a-mini-discourse-chat/222919/11 "2022-04-06T09:30:49Z")

</div>

> [@philip\_rhoades](#):
>
> 问题不在于网站，而在于在 Ubuntu 以外的 Linux 上构建。

您的意思是希望宿主操作系统不是 Ubuntu，而是使用标准的 Docker 容器吗？我认为这并不难。我

---

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [2022年四月6日 10:55 UTC](https://meta.discourse.org/t/a-mini-discourse-chat/222919/12 "2022-04-06T10:55:20Z")

</div>

> [@philip\_rhoades](#):
>
> 工作站和服务器之间的区别

重点是，这篇文章是关于 Linux 桌面应用程序的，而 Discourse 并不是一个桌面应用程序。

> [@](#):
>
> 为 Linux 桌面部署应用程序很难

---

<div class="post-metadata">

### Author: ![philip\_rhoades](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/philip_rhoades/32/114647_2.png) [@philip\_rhoades](https://meta.discourse.org/u/philip_rhoades)
#### Post date: [2022年四月7日 04:57 UTC](https://meta.discourse.org/t/a-mini-discourse-chat/222919/13 "2022-04-07T04:57:05Z")

</div>

> [@pfaffman](#):
>
> 你的意思是想让宿主操作系统不是Ubuntu，而是使用标准的Docker容器？我不认为这很难。

嗯，也许对你来说不难，但我花了不少时间才让Fedora开发版本运行起来，但在生产版本上却遇到了障碍。

不过，我的“迷你”建议正是为此——从头开始——也许使用Alpine——并制作发行包而不是Docker镜像。

---

<div class="post-metadata">

### Author: ![philip\_rhoades](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/philip_rhoades/32/114647_2.png) [@philip\_rhoades](https://meta.discourse.org/u/philip_rhoades)
#### Post date: [2022年四月7日 05:00 UTC](https://meta.discourse.org/t/a-mini-discourse-chat/222919/14 "2022-04-07T05:00:09Z")

</div>

> [@RGJ](#):
>
> 重点是，这篇文章是关于 Linux 桌面应用程序的，而 Discourse 不是桌面应用程序。

我显然没有把我的观点说清楚——正如我在另一个回复中刚说的：“但是我的‘Mini’建议就是这样——从头开始——也许用 Alpine——并制作发行版包而不是 Docker 镜像。 . . ”

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2022年四月7日 05:46 UTC](https://meta.discourse.org/t/a-mini-discourse-chat/222919/15 "2022-04-07T05:46:01Z")

</div>

> [@philip\_rhoades](#):
>
> 生产发行版包而不是 Docker 镜像

所以_这就是_你的意思。是的。正如你所见，这很难创建、维护和支持。你可能需要一个人全职工作来保持它的更新。有太多的部分需要跟踪，从复杂的 nginx 配置（这可能不是难点）到图像处理部分，而这仅仅是显而易见的部分。

不过，bitnami 的 docker 镜像确实这样做了，并且使用了不同的 rails Web 引擎，所以这是可能的，但就像 bitnami 一样，你需要自己来支持它。

你为什么认为这是一个好主意？你认为你可以做到这一点并以某种有形的方式降低系统要求吗？

---

<div class="post-metadata">

### Author: ![philip\_rhoades](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/philip_rhoades/32/114647_2.png) [@philip\_rhoades](https://meta.discourse.org/u/philip_rhoades)
#### Post date: [2022年四月7日 06:00 UTC](https://meta.discourse.org/t/a-mini-discourse-chat/222919/16 "2022-04-07T06:00:48Z")

</div>

> [@pfaffman](#):
>
> 你为什么认为这是一个好主意？你认为你能做到并以某种切实可行的方式降低系统要求吗？

嗯，我并不确定我的想法能得到多少支持，但考虑到之前关于 Discourse 在某些情况下不被考虑的讨论，也许重新评估和实验会很有用——所以我觉得发帖还是值得的。然而，我认为这样的努力只能从头开始——但需要现有开发人员就核心、最小化应用程序可能需要什么提供意见。

我仍然觉得一个更小、更轻、更简单的应用程序/软件包可能对小型商店有用。

如果其他人认为这个想法值得追求，我当然会尽我所能帮助这项工作！

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2022年四月7日 06:05 UTC](https://meta.discourse.org/t/a-mini-discourse-chat/222919/17 "2022-04-07T06:05:59Z")

</div>

> [@philip\_rhoades](#):
>
> 但是，需要听取现有开发人员关于核心、最小化应用程序可能需要什么的意见。

我认为问题在于这一点在不断变化。

Docker 版本可以在树莓派上运行。我不清楚“小型商店”想要针对什么。

---

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [2022年四月7日 06:46 UTC](https://meta.discourse.org/t/a-mini-discourse-chat/222919/18 "2022-04-07T06:46:03Z")

</div>

我确实不知道你想做什么。我以为我知道，但它变得越来越令人困惑。

你想“从头开始”，但也想要一个“删减版”。你想在任何发行版上轻松构建它，同时使其更简单。你引用了一篇关于在 Linux 桌面部署应用程序有多难的文章，其中讨论了启动时间和图形驱动程序，这些对我来说似乎都无关紧要。

目前我坚持我的第一个回应（到目前为止已被忽略）

> [@RGJ](#):
>
> 根据我的经验，为了这些技术方面的原因牺牲功能通常是一个糟糕的决定。

而且 @pfaffman 所说的确实非常正确

> [@pfaffman](#):
>
> Docker 版本可以在树莓派上运行。我不清楚“小型商店”想针对什么。

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [2022年四月7日 16:14 UTC](https://meta.discourse.org/t/a-mini-discourse-chat/222919/19 "2022-04-07T16:14:27Z")

</div>

> [@philip\_rhoades](#):
>
> 不确定我的想法是否会得到很多支持，但考虑到之前关于 Discourse 在某些情况下不被考虑的讨论，也许重新评估和实验会有用——所以我觉得发帖仍然是值得的。然而，我认为这样的努力只能从头开始——但是，通过在

仍然是这样：

> [@Stephen](#):
>
> 告诉我们您认为这将实现的用例/场景。

Discourse 不是桌面应用程序，它旨在安装在服务器上，并通过浏览器由远程客户端连接。您继续详细说明您认为 Discourse 可以如何精简，但没有给出用例说明_为什么_。

在桌面发行版上安装 Discourse 的 **目的是什么** 。当前安装不支持什么场景？

Discourse 可以在每月 5 美元的 VPS 或 35 美元的 [SBC](https://en.wikipedia.org/wiki/Single-board_computer) 上运行，大多数家庭互联网连接都可以。它到底需要多小？

---

<div class="post-metadata">

### Author: ![oshyan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/oshyan/32/212644_2.png) [@oshyan](https://meta.discourse.org/u/oshyan)
#### Post date: [2022年四月8日 01:08 UTC](https://meta.discourse.org/t/a-mini-discourse-chat/222919/20 "2022-04-08T01:08:42Z")

</div>

您是提议这项工作来帮助解决“对话中未提及话语”的问题（例如，使其更容易被更多人尝试）吗？还是您的意图与此不同？我必须说，我并不完全理解您的实际目标，除了“使话语更容易在多个发行版上设置”。我的意思是，我不明白这会实现什么更广泛的目标，满足了哪些更大的需求。更多的实验潜力？
