Show HN: Simple self-hosted voting for posts (github.com)

6 points by codebyamir ↗ HN
I built this after launching a blog site with Hugo and wanting a simple solution for adding support for upvotes and downvotes on posts.

For the database, I was initially leaning towards using a key-value database like LevelDB to store the votes but chose SQLite because it has widespread support and gives me the ability to add other features later (e.g. comments).

1 comment

[ 3.2 ms ] story [ 14.5 ms ] thread
Isn't preventing a user from voting twice on the same post something that has to be done on the server?