Skip to content

Overview

Qorum stores and serves your site's comments. You choose whether to show them with the ready-made widget or to build the interface with the API. This page explains the parts and helps you pick a path.

How it works

When someone opens a page on your site:

  1. The page loads the widget (or calls the API) passing the site's public key and the ref, which says which conversation to show.
  2. Qorum checks that the page is on a domain allowed for that site and returns the comments of that conversation.
  3. If the person is logged in, the widget also sends a login token. With it they can comment, reply, like and report.
  4. When something happens (a new comment, a reply, a report), Qorum can notify your server through a webhook.

The comments are stored in Qorum. Your site doesn't need a database for them.

The parts

PartWhat it is
SiteEach site you register in the dashboard. It has its own allowed domains, keys, appearance and rules.
Conversation (ref)A text that identifies the page of the comments, like post-42. Same ref, same conversation. You choose the format.
Public keyStarts with pk_. Goes on the page, next to the widget. Anyone can see it.
Secret keyStarts with sk_. Stays on your server only. It signs logins and unlocks the management API.
Webhook secretStarts with wh_. Your server uses it to check that a notice really came from Qorum.
Your site's loginPeople who already have an account on your site comment with it. Your server creates a token signed with the secret key.
Qorum accountFor sites without a login: the person creates a username and password inside the widget. It works on every site that uses Qorum.
ModeratorSomeone on your team who can approve, delete, pin and ban, in the dashboard and right inside the widget.
Never put the secret key on a page.

Anything sent to the browser can be read by anyone. Whoever has the secret key can delete comments, change settings and log in as any user of your site.

Which path to take

Ready-made widget

Pick the widget if you want comments working today, with little code. It already has replies, likes, images, notifications, login, moderation and five templates you adjust in the dashboard.

API for your design

Pick the API if your site has its own look and you want the comments to follow it exactly, or if you are building an app. The API returns each comment with the text already in safe HTML plus the author's card, ready for you to draw.

Both together

You can mix them. A common example: the widget on the pages, and the management API inside your site's admin panel so your team moderates without opening the Qorum dashboard.

What you'll need

Ready to start? Follow the quick start.