This repository contains the backend part of Commentable.rs, if you're looking for client-side libraries, see https://github.com/netguru/commentable-js
The biggest selling point of Commentable.rs is the fact that it can be installed in less than a minute, is completely self-hosted and scales with your traffic thanks to the Serverless architecture. It supports regular comments, nested replies (with unlimited depth) and custom reactions. It uses Single Sign On with Google Auth and if your website already supports it, the authentication process is 100% automatic (that means users don't have to log in twice to post a comment like in other similar solutions)
Commentable.rs is written in the Rust programming language and running on AWS Lambda to achieve high scalability. It uses AWS DynamoDB for storage, which is a NoSQL database with a very flexible billing system. This choice of architecture allows users to install the whole app with just one press of a button. It also makes it free-tier eligible, which is very handy for small websites and during development (we were never billed more than $0, even during heavy testing).
The easiest way to install Commentable.rs is by using AWS Serverless Application Repository. Log in to you AWS account then visit this link and press Deploy
.
Follow these screenshots to get to the Url of your new application:
Alternatively, if you want, you can easily install Commentable.rs using the command line. You will need Docker for compilation as well as AWS CLI and AWS SAM CLI for deployment. The whole process is abstracted into a single make command, which makes it very straightforward.
$> git clone git@github.com:netguru/commentable-rs.git
$> cd commentable-rs
# <your_bucket_name> is the name of the AWS S3 bucket that will contain your binaries - it has to be globally unique so you need to provide your own name
$> BUCKET_NAME=<your_bucket_name> make install
No additional configuration is required on this part, but you will need to pass the URL of your application to the client library, so keep it handy. Follow the steps in https://github.com/netguru/commentable-js to implement and connect the UI on your website.