Lurker News
Hello HN!

I've found my SQL knowledge to be lacking, so I made a project that uses SQLite as a backend.
As it is intended for self-hosting I aim to make it easy to set up and maintain. Getting it up & running takes no more than a few commands (bar setting up a proxy such as nginx, which is out of scope).
I've set up a "demo" site at https://forum.agreper.com/ if you want to try out the UI.

Comments (155) 36 threads

Earlier comments
barefeg1 reply#
Out of curiously, does HN use JS heavily? It feels quite lightweight, and it’s sort of a forum
lifthrasiir1 reply#
Very sparingly: https://news.ycombinator.com/hn.js

I'm pretty okay with that, my only complaint is that when you vote a comment or story it creates an invisible image with a voting URL, which may be loaded much later so the click may not register from time to time.

donio#
And all of it is optional. You can do all operations (readinig, posting, commenting, voting, flagging) with JS disabled, you just get page loads rather than dynamic updates.
aimor#
Thanks for sharing this. I've been writing my own simple websites for a couple years now and I really like seeing what other people have done. Sometimes I learn better ways to do things, and sometimes I realize what I did was perfectly acceptable.
cubancigar111 reply#
Please accept my sincere respect. I have been trying to create a blog of sorts with no or clear degradation upon no javascript myself, but I am not much of a UI expert and have failed to make my UI good looking.

You are using flask. How is the performance? I moved away from flask to FastAPI but another one of my goal has been to create a program that can run on cheapest VMs availalble in the market, which means very low ram. I am currently trying to rewrite the server into Go and use something that can consume jinja2 templates in it.

demindiro#
Performance is pretty good: CPU usage has so far not been higher than 2.5% and is usually <1% on a single core of a 3900X. Currently 192MiB of RAM is used (162MiB by systemd-journald, 4x 37MiB + 22MiB for the workers according to htop).

I'm renting a VPS in New York which costs ~€20 a month (€15 for VPS with 1 dedi 3900X core, 4GB RAM and 80GB NVMe, €3 for DDoS protection and €1.5 for up to 7 daily backups), which in hindsight is overkill.

Zopieux#
Looks nice! But as with any 2022 project that publishes user input, please put a section in the README describing counter-abuse and moderation features, even if (especially when!) there is none. Here it seems there is an easily defeated captcha.

Load more comments