2022-01-17 14:06:12 +01:00
|
|
|
# theforum
|
|
|
|
A simple forum written in JavaScript, with no browser-side JS required
|
|
|
|
|
|
|
|
# Why another forum?
|
|
|
|
This one's a bit special. It's entirely written using node.js,
|
2022-05-10 21:28:42 +02:00
|
|
|
requires no JS in the browser, and therefore supports browsers with
|
|
|
|
noscript. It's also very easy to set up, so anyone can make a
|
2022-01-17 14:06:12 +01:00
|
|
|
simple platform for friends etc.
|
|
|
|
|
|
|
|
All pages are server-side-rendered, similarly to how PHP works,
|
|
|
|
just that this is JavaScript instead.
|
|
|
|
|
|
|
|
# The goal
|
|
|
|
- Simple
|
2022-05-09 12:10:47 +02:00
|
|
|
- <500sloc
|
2022-01-17 14:06:12 +01:00
|
|
|
- Entries sorted by newest
|
|
|
|
- Very large amount of sub-threads supported
|
|
|
|
(current limiting factor is stack overflow errors, this will be
|
|
|
|
fixed.)
|
|
|
|
- Easy setup
|
|
|
|
- Anonymous
|
|
|
|
- No JS on browser-side required
|
|
|
|
- Usable on Text-Based browsers like lynx
|
2023-03-19 15:55:50 +01:00
|
|
|
|
|
|
|
# Setup
|
|
|
|
```
|
|
|
|
git clone https://github.com/tudbut/theforum
|
|
|
|
cd theforum
|
|
|
|
npm install
|
|
|
|
```
|
|
|
|
## Running
|
|
|
|
```
|
2023-03-19 16:03:36 +01:00
|
|
|
node index.js <port>
|
2023-03-19 15:55:50 +01:00
|
|
|
```
|