Wednesday, January 1, 2020 - web | development | svelte

Add a commenting platform to a Svelte app

A short intro on how to add a commenting platform to a Svelte app using

Photo by Art Lasovsky on Unsplash

Happy new year!

I recently relaunched my personal blog at using Svelte (learn why).

Initial feedback was to allow visitors to leave comments and have discussions. I took that feedback and found which looked lightweight enough and straitforward to implement.

What I did:

  1. Sign up at
  2. Create a Svelte component that displays comments

The component is as simple as this (corresponding pull request):

  <script src=""></script>

<h2>Comments, Feedback, Thoughts</h2>
<div id="commento" />


You can style the commenting platform by providing a data-css-override attribute to the script tag, for example:

<script src="" data-css-override=""></script>

Additional configuration options can be found in the documentation.

Are there other alternatives you have experience with? What do you like / dislike about them?

Comments, Feedback, Thoughts

Subscribe to my newsletter

Get the latest blog posts and project updates delivered right to your inbox.