Mercurial Hosting > reactionary
changeset 116:21ff5226f821 default tip
add forum.html
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Thu, 11 Dec 2025 14:59:26 -0700 |
| parents | b551ccb5896a |
| children | |
| files | src/forum.html.luan src/needed.html.luan |
| diffstat | 2 files changed, 48 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/forum.html.luan Thu Dec 11 14:59:26 2025 -0700 @@ -0,0 +1,47 @@ +local Luan = require "luan:Luan.luan" +local error = Luan.error +local Io = require "luan:Io.luan" +local Site_translator = require "luan:ai/Site_translator.luan" +local get_lang = Site_translator.get_lang or error() +local text_writer = Site_translator.text_writer or error() +local Shared = require "site:/lib/Shared.luan" +local head = Shared.head or error() +local needed_header = Shared.needed_header or error() +local luan_url = Shared.luan_url or error() + + +return function() + Io.stdout = text_writer() +%> +<!doctype html> +<html lang="<%=get_lang()%>"> + <head> +<% head() %> + <title>Reactionary Software - Forum</title> + </head> + <body> +<% needed_header() %> + <div content> + +<h1>Forum Platform</h1> + +<p>A platform contains forums. A forum contains threads. A thread contains messages.</p> +<p>Discord and Reddit are platforms. In the forum world, a "board" is a platform. Discord servers and Reddit subreddits are forums. Discord channels are threads.</p> + +<p>The only difference between forum platforms and chat platforms is server push.</p> + +<p>Free speech means no censorship at the platform level. Forum moderators can moderate their forums however they want.</p> + +<p>Reddit has a feed of threads across subscribed forums. This isn't needed. Discord's approach is better. Just list subscribed forums with an indicator for new content.</p> + +<p>Discord's discovery (ability to find new forums) is pathetic. One should be able to search for content across the platform as Reddit allows.</p> + +<p>I propose implementing a forum platform in <a href="<%=luan_url()%>/">Luan</a>. Each forum would be a Luan site which means that users could actually customize the code of their own site if they want. Forums (Luan sites) would get platform-wide info like search results using MapReduce.</p> + +<p>If implemented, this project should <a href="nabble.html">replace Nabble</a>.</p> + + </div> + </body> +</html> +<% +end
--- a/src/needed.html.luan Thu Dec 11 13:18:49 2025 -0700 +++ b/src/needed.html.luan Thu Dec 11 14:59:26 2025 -0700 @@ -23,8 +23,8 @@ <div content> <h1>Needed Reactionary Software</h1> <ul links> + <li><a href="forum.html">Forum Platform</a></li> <li><a href="lucene.html">Lucene Fork</a></li> - <li><a href="nabble.html">Forum - Nabble Rewrite</a></li> <li><a href="hg_dev.html">Mercurial Development</a></li> <li><a href="laf.html">Swing Look and Feel</a></li> <li><a href="java_fork.html">Java Fork</a></li>
