changeset 116:98b2dc732ca0 default tip

add discord.html
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 04 Dec 2025 12:13:01 -0700
parents 6193996b333d
children
files src/discord.html.luan
diffstat 1 files changed, 46 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/discord.html.luan	Thu Dec 04 12:13:01 2025 -0700
@@ -0,0 +1,46 @@
+local Luan = require "luan:Luan.luan"
+local error = Luan.error
+local Io = require "luan:Io.luan"
+local Http = require "luan:http/Http.luan"
+local Shared = require "site:/lib/Shared.luan"
+local head = Shared.head or error()
+local header = Shared.header or error()
+
+
+return function()
+	Io.stdout = Http.response.text_writer()
+%>
+<!doctype html>
+<html lang="en">
+	<head>
+<%		head() %>
+	</head>
+	<body>
+<%		header() %>
+		<div content>
+
+<h1>Discord Clone Proposal</h1>
+
+<p>This is a proposal to make a Discord clone based on <a href="about.html">Luan Chat</a>.  What Discord calls a "server", I will call a "forum" because it is basically a chat forum.  I propose these steps:</p>
+
+<ol>
+
+<li><p>We start with Luan Chat.  We use it to communicate.  fschmidt adds missing features including better login (like Fluentaro) and Markdown.  Deleted User installs the code locally and fully understands it.  Deleted User can also suggest changes.</p></li>
+
+<li><p>We design the Discord clone for a stand-alone forum.  No coding here, just design discussion.  This includes features, UI, and program design.</p></li>
+
+<li><p>Fork Luan Chat and use that to implement stand-alone forum.  Deleted User will do this with fschmidt's help.</p></li>
+
+<li><p>Move the Arkian Discord server to use this.  Deleted User will fix issues until this is stable.</p></li>
+
+<li><p>Design for multiple forums.  Again no coding, just design discussion.</p></li>
+
+<li><p>Implement multiple forums.  This will probably require new Luan features which fschmidt will implement.  Both Deleted User and fschmidt will work on adding this to the Discord clone code.</p></li>
+
+</ol>
+
+		</div>
+	</body>
+</html>
+<%
+end