Ok, sorry, bitter old man coming through: this is Web 2.0, not 1.0. For all the buzzwords, Web 2.0 was defined by the dynamic interactive solicitation of user input as opposed to Web 1.0 being just static HTML. I don't think we've coined a good catchphrase for fat applications implemented in tons of Javascript with only lightweight AJAX calls to the backend.<p>And then, of course, there's Web 0.1: <a href="https://thedailywtf.com/articles/Web_0_0x2e_1" rel="nofollow">https://thedailywtf.com/articles/Web_0_0x2e_1</a>
The irony is that because of the lean structure behind the server, this forum actually responds faster than most webfora that do use AJAX/SPA.<p>Funny given that the whole purpose of AJAX/SPA was to reduce response time. That's it's reason for existing.<p>Turns out it just complicates things ...
I'd recommend you to use Argon2 instead of bcrypt for storing password. It has won the Password Hashing Competition last year and is the recommended way to store passwords. Bcrypt is not bad but it could be used with insecure parameters while Argon2 does not have insecure parameters.<p>The way you create cookies is also insecure, you should be using crypto/rand instead of math/rand AND rather hex.EncodeToString() the result instead of just generating random numbers in the alphanumeric range.
Interesting.. Looks sleek.. DLang forum [1] is similarly lightweight and it runs as a newsgroup, IIRC. Source code at [2] and previous discussions on HN [3]<p>[1] <a href="http://forum.dlang.org/" rel="nofollow">http://forum.dlang.org/</a><p>[2] <a href="https://github.com/CyberShadow/DFeed" rel="nofollow">https://github.com/CyberShadow/DFeed</a><p>[3] <a href="https://news.ycombinator.com/item?id=3592769" rel="nofollow">https://news.ycombinator.com/item?id=3592769</a>
The old style forums are showing their age and need to be modernized but not abandoned. See the Archlinux forums based on Fluxbb. It's fast and effective.<p>The newer ones led by Discourse, Nodebb and Flarum have completely gone in another direction in reinventing how discussion forums should be and perhaps gone too far. They feel strangely 'rootless' and completely lack the 'community feel' of user forums.<p>This looks promising for something fast, lightweight and easy to deploy.
The term "Web 2.0" is an unfortunate choice and as a consequence it has been rarely used correctly. Funny enough I've been to a Web 2.0 Conference about 10 years ago where almost every speaker used it incorrectly.<p>Web 2.0 has nothing to do with a technical revision or change in the Web. It was used by Tim O'Reilly back in 2004 (and became popular) and refers to the rapid change in the way the web is used, more specifically the switch from static web to user generated content.<p>I'm sorry but your forum is all about UGC, and AJAX has nothing to do with Web 2.0.
Works beautifully with w3m which has become my main site test lately. Another great example is HN itself.<p>If it doesn't work well with w3m something is wrong with the site philosophy or execution.
Five years ago I wrote a 5KB PHP forum system I called <a href="https://github.com/Xeoncross/forumfive" rel="nofollow">https://github.com/Xeoncross/forumfive</a><p>It relied on BrowserID though so it's no longer working and I was thinking about re-doing it using Go so I'll look at this.
Looks like you'll need to start moderating this already, as of an hour ago, at least.<p>The process of setting up a public sandbox for users to play with seems like it should be easy, but abusive/obscene posts by users make a testing sandbox unusable/NSFW very easily.
I appreciate the philosophy. Is there a live demo so we can try it out?<p>edit: I turned on my brain and found the link was on the homepage the whole time.
Here's one written in lisp ;)<p><a href="https://github.com/arclanguage/anarki/blob/master/lib/news.arc" rel="nofollow">https://github.com/arclanguage/anarki/blob/master/lib/news.a...</a>
I really like this movement of going back to the basics, web 1.0 style web apps/sites.<p>I do feel however that there can be a compromise, I think we can build our web applications in the 1.0 style and power them up in the 2.0 style, allowing the capability of the client drive the presentation of the application.<p>For hints on how I'm doing this for Remarkbox (<a href="https://www.remarkbox.com" rel="nofollow">https://www.remarkbox.com</a>) - please read <a href="http://russell.ballestrini.net/capability-driven-presentation/" rel="nofollow">http://russell.ballestrini.net/capability-driven-presentatio...</a>
Take a look at <a href="https://hashnode.com" rel="nofollow">https://hashnode.com</a> if you want to see fast MERN[1] stack forum<p>[1] <a href="https://hashnode.com/post/hashnode-looks-pretty-amazing-its-very-fast-smooth-and-looks-client-heavy-i-am-curious-about-the-stack-used-in-hashnode-ciij5a1k101mplc536dav792z#ciijdrq8w01uxlc53ci1jvn5j" rel="nofollow">https://hashnode.com/post/hashnode-looks-pretty-amazing-its-...</a>
This post is hilarious!<p><a href="https://groups.goodoldweb.com/topics?id=67" rel="nofollow">https://groups.goodoldweb.com/topics?id=67</a>
Can I ask what (if any) are your future plans with this? And what's the reason you decided to create it? (only to showcase web 1.0 style forums, or ... other reasons too?)<p>For example are you planning to provide hosting?<p>Continue developing the open source version and add features like spam protection? Google and FB login?
I think you guys are awesome. Keep up good work. Battery, CPU and RAM of my laptop are having the same feeling. Can I deploy it as fcgi script on cheap shared Apache hosting?
in the demo when a response is massive it takes a long time to load. example: <a href="https://groups.goodoldweb.com/topics?id=33" rel="nofollow">https://groups.goodoldweb.com/topics?id=33</a><p>It needs to limit entries to a certain number of characters where you can click a "see all" button to see the rest of the long entry.
I built a forum from scratch once and it is a comical amount of work.<p>The initial CRUD weekend-ware is straight forward. LIMIT/OFFSET for pagination. Throw in some Markdown support. Seems easy enough.<p>But the devil is in all the individual features that make a forum usable. Like getting notified when someone @mentions or replies to you, marking threads that you've posted in, tracking the high watermark per user per thread so you can create a "go to first unread post", implementing a decent search, making deep pagination fast, a PM system, trying to generalize it.<p>A serious amount of breadth between weekend #1 and production if your users want the feature set of Xenforo. The main positive I can say is that my forum is cheap to host.
This is cool. I've been thinking about this for a while. The best way to write high quality web applications is to use compiled languages and minimize the complexity of the infrastructure by using e.g. SQLite instead of PostgreSQL.<p>I hope this trend starts to pick up more steam and become the sane default that everyone just assumes. Instead of the current mess where everyone assumes that it's "normal" to live in this messy world of countless abstractions and frameworks and micro servers, etc.