Rust webserver for embeddable comments
Find a file
2022-10-22 15:13:38 +02:00
src Form refill 2022-10-22 15:13:38 +02:00
templates Form refill 2022-10-22 15:13:38 +02:00
.gitignore Initial commit 2022-10-15 15:32:57 +02:00
Cargo.lock Form errors 2022-10-20 20:17:49 +02:00
Cargo.toml Form errors 2022-10-20 20:17:49 +02:00
LICENSE Initial commit 2022-10-15 15:32:57 +02:00
README.md Antispam 2022-10-21 19:33:20 +02:00
rustfmt.toml Initial commit 2022-10-15 15:32:57 +02:00

webcomment

Rust webserver for comments, that you can easily embed in a website.

Early development, not safe for production yet

Features

  • List and post comments by topic (e.g. each article in your blog is a topic)
  • Admin approval
  • Admin notification on new comment via Matrix
  • Embedded one-file webserver
  • Tera templates
  • Comment frequency limit per IP

Use

webcomment init

# This adds an admin password to the config (password are hashed)
webcomment psw

# edit ~/.config/webcomment/config.toml

webcomment start

Each topic is accessible at /t/<topic_name>.

Admin login is accessible at /admin. Once authenticated, you can see the pending comments on the topic pages.

License

CopyLeft 2022 Pascal Engélibert (why copyleft?)

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, version 3 of the License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.