comparison src/freedit.html.luan @ 91:76baf48ea36b

add translation
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 02 May 2025 17:17:52 -0600
parents 8bd99d5f468e
children
comparison
equal deleted inserted replaced
90:0dced626778b 91:76baf48ea36b
1 local Luan = require "luan:Luan.luan" 1 local Luan = require "luan:Luan.luan"
2 local error = Luan.error 2 local error = Luan.error
3 local Io = require "luan:Io.luan" 3 local Io = require "luan:Io.luan"
4 local Http = require "luan:http/Http.luan" 4 local Site_translator = require "luan:gpt/Site_translator.luan"
5 local get_lang = Site_translator.get_lang or error()
6 local text_writer = Site_translator.text_writer or error()
5 local Shared = require "site:/lib/Shared.luan" 7 local Shared = require "site:/lib/Shared.luan"
6 local head = Shared.head or error() 8 local head = Shared.head or error()
7 local needed_header = Shared.needed_header or error() 9 local needed_header = Shared.needed_header or error()
10 local luan_url = Shared.luan_url or error()
8 11
9 12
10 return function() 13 return function()
11 Io.stdout = Http.response.text_writer() 14 local luan_url = luan_url()
15 Io.stdout = text_writer()
12 %> 16 %>
13 <!doctype html> 17 <!doctype html>
14 <html> 18 <html lang="<%=get_lang()%>">
15 <head> 19 <head>
16 <% head() %> 20 <% head() %>
17 <title>FreedIt - A Reddit Alternative</title> 21 <title>FreedIt - A Reddit Alternative</title>
18 </head> 22 </head>
19 <body> 23 <body>
45 49
46 <p>I had the basic idea for FreedIt for a long time. Before describing my current suggested implementation, I will describe my prior attempts.</p> 50 <p>I had the basic idea for FreedIt for a long time. Before describing my current suggested implementation, I will describe my prior attempts.</p>
47 51
48 <h3>Attempt 1 - Blasma</h3> 52 <h3>Attempt 1 - Blasma</h3>
49 53
50 <p>I wrote a page describing my original thoughts on <a href="https://www.luan.software/blasma.html">Blasma</a> and later posted <a href="https://saidit.net/s/PhoenixForum/comments/7i60/my_vision_for_social_forums/">my updated thoughts</a> on SaidIt. The basic idea was to have a distributed <a href="https://www.luan.software/">Luan</a> program with a flexible architecture that allows adding modules and having different views/templates. At one point I even offered to pay for someone to do this. I never got any volunteers, so this died.</p> 54 <p>I wrote a page describing my original thoughts on <a href="<%=luan_url%>/blasma.html">Blasma</a> and later posted <a href="https://saidit.net/s/PhoenixForum/comments/7i60/my_vision_for_social_forums/">my updated thoughts</a> on SaidIt. The basic idea was to have a distributed <a href="<%=luan_url%>/">Luan</a> program with a flexible architecture that allows adding modules and having different views/templates. At one point I even offered to pay for someone to do this. I never got any volunteers, so this died.</p>
51 55
52 <h3>Attempt 2 - SaidIt clone</h3> 56 <h3>Attempt 2 - SaidIt clone</h3>
53 57
54 <p>I chose the name "FreedIt" when I thought of using a clone of the <a href="https://saidit.net/">SaitIt</a> code to implement a free speech alternative. This would not have been decentralized, but my reasoning was that it should at least be easy to implement. This is where I was wrong. You can read about FreedIt in <a href="https://saidit.net/s/FreedIt/">/s/FreedIt</a>. The SaidIt code is in Python, so I found a Python programmer who was willing to try to work with the SaidIt code. And he did try, but in the end it just proved to be too difficult to work with. After all, it is modern software.</p> 58 <p>I chose the name "FreedIt" when I thought of using a clone of the <a href="https://saidit.net/">SaitIt</a> code to implement a free speech alternative. This would not have been decentralized, but my reasoning was that it should at least be easy to implement. This is where I was wrong. You can read about FreedIt in <a href="https://saidit.net/s/FreedIt/">/s/FreedIt</a>. The SaidIt code is in Python, so I found a Python programmer who was willing to try to work with the SaidIt code. And he did try, but in the end it just proved to be too difficult to work with. After all, it is modern software.</p>
55 59