update README, licence GPL v2 upgraded to v3
This commit is contained in:
parent
59e020228a
commit
3456562af9
2 changed files with 599 additions and 264 deletions
25
README.md
25
README.md
|
|
@ -1,9 +1,8 @@
|
|||
## Stacosys
|
||||
|
||||
Stacosys (aka STAtic blog COmment SYStem) is a fork of [Pecosys](http://github.com/kianby/pecosys) trying to fix Pecosys design drawbacks and to provide an alternative to hosting services like Disqus. Stacosys protects your readers's privacy.
|
||||
Stacosys (aka STAtic blog COmment SYStem) is a fork of [Pecosys](http://github.com/kianby/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 privilegiates e-mails to communicate with the blog administrator. It doesn't sound *hype* but I'm an old-school guy ;-) E-mail is reliable and an
|
||||
universal way to discuss. You can answer from any device using an e-mail client.
|
||||
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
|
||||
|
||||
|
|
@ -17,33 +16,35 @@ Here is the workflow:
|
|||
- 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 POST request allows to send a comment from reader browser to Stacosy server. The comment post is relayed to the administrator by e-mail. for this purpose a dedicated email is assigned to Stacosys to communicate with blog administrator and blog subscribers.
|
||||
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. Second defense barrier: admin can tag comment as SPAM and, for example, link stacosys log to fail2ban tool.
|
||||
|
||||
- Current comment form is basic: no captcha support but a honey pot.
|
||||
|
||||
*Which database is used?*
|
||||
- Thanks to Peewee ORM a wide range of databases is supported. I personnaly uses SQLite.
|
||||
|
||||
- SQLite.
|
||||
|
||||
*Which technologies are used?*
|
||||
|
||||
- [Python](https://www.python.org)
|
||||
- [Python 3.9](https://www.python.org)
|
||||
- [Flask](http://flask.pocoo.org)
|
||||
- [Peewee ORM](http://docs.peewee-orm.com)
|
||||
- [Markdown](http://daringfireball.net/projects/markdown)
|
||||
|
||||
### Installation
|
||||
|
||||
Python 3.7
|
||||
Build is based on [Poetry](https://python-poetry.org/) but you can also use [published releases on GitHub](https://github.com/kianby/stacosys/releases) or the [Docker image](https://hub.docker.com/repository/docker/kianby/stacosys).
|
||||
|
||||
pip libs: flask peewee pyrss2gen markdown clize flask-apscheduler profig requests
|
||||
### Improvements
|
||||
|
||||
### Ways of improvement
|
||||
|
||||
Current version of Stacosys fits my needs and it serves comments on [my blog](https://blogduyax.madyanne.fr). However Stacosys has been designed to serve several blogs and e-mail can be a constraint for some people. So an area of improvement would be to add an administration UI to configure sites, approve or reject comments, keep track of usage statistics and get rid of e-mails. I encourage you to fork the project and create such improvements if you need them.
|
||||
Stacosys fits my needs and it manages comments on [my blog](https://blogduyax.madyanne.fr) 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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue