A simple commenting system for the small web.

Getting Started

Pure Comments has been designed from the ground up to be simple to self-host and embed on your personal blog. Installation and setup is just a few steps:

  1. Download the latest souce code.
  2. Upload it to your server.
  3. Add the Pure Comments embed code to your blog.
  4. Enjoy!

Pure Comments can be used on ANY site where you can add the embed script. You don't need to be running Pure Blog to use Pure Comments.

Hosting requirements

First run

Once you've uploaded Pure Comments to your server, navigate to its URL, and you will be greeted with the setup wizard.

It's VERY important that you do this immediately after uploading the Pure Comments source code to your server, as the setup page will be publicly available and anyone can fill it in.

This is what the setup screen looks like:

Setup screen

All you need to do is fill in all the relevant fields, hit the save button, and Pure Comments is installed and ready for use!

Once setup is complete, the setup.php is automatically deleted.

Here's a reference guide on what the setup fields mean:

All of the above (and more) is configurable after setup from the Pure Comments setting screen.

Embedding the comments form

Once you've setup Pure Comments, all you need to do now is add the embed code where you want comments to appear, and you're good to go. The embed code will look something like this:

<div id="comments"></div>
<script src="https://comments.example.com/public/embed.js" defer></script>

Just replace comments.example.com with the URL of your Pure Comments instance.

That's it! Pure Comments is setup and you're now ready to start receiving comments on your blog. 🎉

docs

Next post ➡
Working with Data Attributes