Introducing Comments.js: easy-setup comments for static sites

  • By Jason Victor
  • October 1, 2020

Today we are very excited to introduce the first open-source project built on top of Zetabase!

Many programmers rely on GitHub Pages (in conjunction with Jekyll) to run their blogs and personal websites, thanks primarily to the incredible ease-of-use offered by this combination. A user simply commits a new Markdown file containing the text of the post to their blog's repository and it automatically shows up on the website with all the necessary menus and styling as generated by Jekyll. Pretty awesome!

The one shortcoming, however, is that we can only create a static site. We can't add much logic because we can't add a backend — or at least, that was the case before Zetabase came along.

By building on top of Zetabase, Comments.js provides a simple, extremely easy-to-set-up, low-maintenance way of adding comments and other social features to a static site, like a blog created using GitHub Pages and Jekyll. To get started with Comments.js, simply head over to the sign up page and drop the provided code snippet onto each page where comments will be enabled.

While Comments.js isn't presently much more than a free, open-source replacement for Disqus, it is in fact very different in its design. Comments.js is built on Zetabase — the spiritual cousin of a blockchain moreso than a traditional database — which means that users can actually extend Comments.js as they see fit and build out new functionality regardless of whether it's currently supported.

We'll be writing many more blog posts on the internals of Zetabase and Comments.js in the coming months, but we hope that this early release of a a simple, Zetabase-backed tool will begin to spark ideas in the minds of developers.

To all Zetabase users: please join our Discord; we'd love to build with you.

 

 

Description