3456562af9 | 4 years ago | |
---|---|---|
dbmigration | 4 years ago | |
stacosys | 4 years ago | |
tests | 4 years ago | |
.gitignore | 4 years ago | |
LICENSE | 4 years ago | |
README.md | 4 years ago | |
config.ini | 4 years ago | |
poetry.lock | 4 years ago | |
pyproject.toml | 4 years ago | |
run.py | 4 years ago | |
run.sh | 4 years ago |
README.md
Stacosys
Stacosys (aka STAtic blog COmment SYStem) is a fork of Pecosys trying to fix Pecosys design drawbacks and to provide an humble alternative to comment hosting services like Disqus. Stacosys protects your readers's privacy.
Stacosys works with any static blog or even a simple HTML page. It uses e-mails to communicate with the blog administrator. It doesn't sound hype but I'm an old-school guy. E-mails are reliable and an universal way to communicate. You can answer from any device using an e-mail client.
Features overview
Stacosys main feature is comment management.
Here is the workflow:
- Readers submit comments via a comment form embedded in blog pages
- Blog administrator receives an email notification from Stacosys when a comment is submitted
- Blog administrator can approve or drop the comment by replying to e-mail
- Stacosys stores approved comment in its database.
Privacy concerns: only surname, gravatar id and comment itself are stored in DB. E-mail is requested in submission form (but optional) to resolve gravatar id and it it not sent to stacosys.
Stacosys is localized (english and french).
Technically speaking, how does it work?
Stacosys can be hosted on the same server or on a different server than the blog. Stacosys offers a REST API to retrieve and post comments. Static blog is HTML-based and a piece of JavaScript code interacts with Stacosys using HTTP requests. Each page has a unique id and a simple request allows to retrieve comments for a given page. Similarly a form request allows to post a comment which is relayed to the administrator by e-mail. For this purpose a dedicated email is assigned to Stacosys.
### FAQ
How do you block spammers?
- Current comment form is basic: no captcha support but a honey pot.
Which database is used?
- SQLite.
Which technologies are used?
Installation
Build is based on Poetry but you can also use published releases on GitHub or the Docker image.
Improvements
Stacosys fits my needs and it manages comments on my blog for a while. I don't have any plan to make big changes, it's more a python playground for me. So I strongly encourage you to fork the project and enhance the project if you need more features.