view src/forum.html.luan @ 116:21ff5226f821

add forum.html
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 11 Dec 2025 14:59:26 -0700
parents
children 419605a4a691
line wrap: on
line source

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