Skip to content
/ commento Public
forked from adtac/commento

A fast, bloat-free comments platform (Github mirror)

License

Notifications You must be signed in to change notification settings

cnp96/commento

 
 

Repository files navigation

Social9 Comments

Social9 implements the comment service using an open-source project Commento.

Development Setup

Start the Database This is exposed to localhost:5432

$ docker-compose up db

Build Source Code

$ make prod

Run Source Code

Export the following environment variables in a .env file.

COMMENTO_ORIGIN=<Origin Address>
COMMENTO_PORT=8080

COMMENTO_POSTGRES=postgres:https://postgres:postgres@localhost:5432/commento?sslmode=disable
POSTGRES_DB=commento
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres

COMMENTO_SMTP_HOST=<Mail Host>
COMMENTO_SMTP_PORT=<Mail Port>
COMMENTO_SMTP_USERNAME=<Maili Username>
COMMENTO_SMTP_PASSWORD=<Mail Password>
COMMENTO_SMTP_FROM_ADDRESS=<Mail From Address>

COMMENTO_GOOGLE_KEY=<Google App Key For OAuth>
COMMENTO_GOOGLE_SECRET=<Google App Secret>
COMMENTO_GITHUB_KEY=<Github App Key For OAuth>
COMMENTO_GITHUB_SECRET=<Github App Secret>

COMMENTO_IDP_ENDPOINT=<LoginRadius IDP En Endpoint>
COMMENTO_IDP_APIKEY=<LoginRadius App API Key>

Start the services

$ make prod
$ source .env && ./build/prod/commento

Commento - OpenSource

Commento is a platform that you can embed in your website to allow your readers to add comments. It's reasonably fast lightweight. Supports markdown, import from Disqus, voting, automated spam detection, moderation tools, sticky comments, thread locking, OAuth login, single sign-on, and email notifications.

How is this different from Disqus, Facebook Comments, and the rest?

Most other products in this space do not respect your privacy; showing ads is their primary business model and that nearly always comes at the users' cost. Commento has no ads; you're the customer, not the product. While Commento is free software, in order to keep the service sustainable, the hosted cloud version is not offered free of cost. Commento is also orders of magnitude lighter than alternatives.

Why should I care about my readers' privacy?

For starters, your readers value their privacy. Not caring about them is disrespectful and you will end up alienating your audience; they won't come back. Disqus still isn't GDPR-compliant (according to their privacy policy). Disqus adds megabytes to your page size; what happens when a random third-party script that is injected into your website turns malicious?

Installation

Read the documentation to get started.

Contributing

If this is your first contribution to Commento, please go through the contribution guidelines before you begin. If you have any questions, join #commento on Freenode.

About

A fast, bloat-free comments platform (Github mirror)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 45.5%
  • JavaScript 22.4%
  • CSS 15.3%
  • HTML 10.9%
  • Shell 1.9%
  • PLpgSQL 1.6%
  • Other 2.4%