← Previous post
Next post →

Launching Comm(ent|it) (aka comments on Github Pages)

01 Oct 2015

If you just want to try Comm(ent|it) without reading the all story, go, it is there, on commentit.io !

EDIT 27th October 2015 : Comm(ent|it) is now opensource !

I have been working on Comm(ent|it) since January 2015. When I had created this blog one year before, I had told myself that third party comment systems were only a temporary solution. Like many of us, my blog is powered by the static website generator Jekyll and is hosted on Github Pages. Jekyll is by definition not able to include such a feature as a comment system.

I had seen some bloggers who also did not want to store comments outside their website. Some of them had just no comment system. Other had a “pull request” button, for users directly to modify the post file, and add there comment at the end of it. I found this very smart and even funny, as it gives you a lot of freedom in the way you manage and display comments.

But it has several drawbacks. The first one is that any commenter needs to have a Github account and know how pull requests work. This is a real problem, as many of our readers are not experts in that field. This can cause merge conflicts, website owner has to do some work so no one breaks the layout, and every comment has to be pre-validated before appearing on the blog.

This gave me the idea to create Comm(ent|it), a service which automates the process of storing comments in website repository through commits and pull requests. Of course, I added several features. With Comm(ent|it), we have the possibility to send comments directly to master or gh-pages branch. And there are smarter ways to store comments than directly at the end of each post file. It could be better and more beautiful (I am not a web developper), but I think it does the job.

When we talk about static website generators, some people completely oppose them to dynamic systems such as Wordpress or any PHP CMS (which often handle comments natively). But what are really the features that make the difference between them ? Both can have some kind of databases, PHP CMSs through MySQL and Jekyll through database files. All have templates, rich text features. They can update a homepage or a feed based on the last content. Dynamic websites generate HTML files on the fly, whereas Jekyll generates them on content updates. But dynamic websites sometimes have cache systems, which are warmed up on content updates and serve entirely static HTML pages.

Not to say Wordpress and Jekyll are the same, of course not. The big difference remains that Jekyll cannot handle any POST request, and cannot use sessions or even cookies. But with Jekyll we can imagine a system where serving the content and updating it are the role of two decoupled services. And both could be user friendly. This can have advantages in term of security and portability.

So if you are interested, do not hesitate to give it a try ! You do not need to give up Disqus or any third party system you are currently using. You can start using Comm(ent|it) for a try on one or a few articles.

guilro

guilro on 05 Oct 2015

This is my first comment with commentit.io !

guilro

guilro on 05 Oct 2015

And this is a second one.

guilro_

guilro_ on 05 Oct 2015

You can also use your twitter account.

And make comments on several lines.

guilro

guilro on 05 Oct 2015

You don't see it, but this comment was pre-moderated.

loige

loige on 05 Oct 2015

This is cool. Seems a kind of lightweight disqus!

Congratulations for the great work

ALeaument

ALeaument on 05 Oct 2015

Congratulation for your work !

bmaz

bmaz on 05 Oct 2015

Great job !

ruanyf

ruanyf on 05 Oct 2015

Great Idea! Cannot wait to try it.

ailurus1991

ailurus1991 on 05 Oct 2015

Good to know, and nj!

nerdDan

nerdDan on 05 Oct 2015

love it!

butterandfly

butterandfly on 05 Oct 2015

Great try!

hoosin

hoosin on 05 Oct 2015

6666666

Channely

Channely on 05 Oct 2015

哇,中文测试。 :P
wow, try Chinese. :P

guileen

guileen on 05 Oct 2015

just test.

barretlee

barretlee on 05 Oct 2015

nice job!

zryfish

zryfish on 05 Oct 2015

Awesome!

zhongbaitu

zhongbaitu on 05 Oct 2015

666

MrBackKom

MrBackKom on 05 Oct 2015

just test

rockyuse

rockyuse on 05 Oct 2015

test rockyuse

cunjieliu

cunjieliu on 05 Oct 2015

wow!!!

wutongr

wutongr on 05 Oct 2015

haha

blanboom

blanboom on 05 Oct 2015

Wow!

huskytommy

huskytommy on 05 Oct 2015

nice going

djyde

djyde on 05 Oct 2015

Super cool

youngshook

youngshook on 05 Oct 2015

WoW

fjarcticfox

fjarcticfox on 05 Oct 2015

test

wzqcongcong

wzqcongcong on 05 Oct 2015

great

guoylyy

guoylyy on 05 Oct 2015

wow。。good

xuelinf

xuelinf on 05 Oct 2015

wow

metaphox

metaphox on 05 Oct 2015

this is just awesome.

huiwang

huiwang on 05 Oct 2015

Another awesome comment

faddat

faddat on 06 Oct 2015

hmmmmmmmm. What is it? Have to search for my comment in a repo in order to find out!

Good work, though!

dirkkelly

dirkkelly on 06 Oct 2015

Fantastic thank you!

nicolewhite

nicolewhite on 06 Oct 2015

hello world!

aysark

aysark on 06 Oct 2015

hi

joway

joway on 06 Oct 2015

cool!!!

twiceyuan

twiceyuan on 06 Oct 2015

测试一下,看起来还不错

anebg

anebg on 06 Oct 2015

Can you delete a comment you made a long time ago?

woodruffw

woodruffw on 06 Oct 2015

Clever idea! Definitely going to look into replacing Disquis with this.

huwewa

huwewa on 06 Oct 2015

awesome

X140Yu

X140Yu on 06 Oct 2015

interesting

m-butterfield

m-butterfield on 06 Oct 2015

hello

shuoli84

shuoli84 on 06 Oct 2015

What? Really? Awesome!!!!

deevus

deevus on 06 Oct 2015

Nice job!

will-sterling

will-sterling on 06 Oct 2015

Great job!

erlend-sh

erlend-sh on 06 Oct 2015

Very interesting!

guilro

guilro on 06 Oct 2015

@anebg Once a comment is on Github, the only way to remove it is to ask the website owner.

guilro

guilro on 06 Oct 2015

There is a bug on long comment with the YAML dumper.

guilro

guilro on 06 Oct 2015

(It has been fixed.)

Diti

Diti on 06 Oct 2015

Kraaa.

hookii_it

hookii_it on 06 Oct 2015

Nice job!

sathomas

sathomas on 06 Oct 2015

Nice work. Is the source code on GitHub? (I couldn't find it, but perhaps I'm just not looking in the right places.)

guilro

guilro on 06 Oct 2015

@sathomas not yet, but it won't be long before I opensource it =)

gcr

gcr on 06 Oct 2015

Just a test comment.

mrhaw

mrhaw on 06 Oct 2015

Awesome

happyxlq

happyxlq on 08 Oct 2015

😄😄

sco4x0

sco4x0 on 08 Oct 2015

Nice~

whiler

whiler on 09 Oct 2015

cool

kxxoling

kxxoling on 09 Oct 2015

Just another test!

yfaming

yfaming on 09 Oct 2015

Excited!

omsobliga

omsobliga on 09 Oct 2015

dd

qgy18

qgy18 on 13 Oct 2015

是否支持分页呢?

yangjunjun

yangjunjun on 13 Oct 2015

just for Test.

dongoo

dongoo on 14 Oct 2015

great!

freeyob

freeyob on 14 Oct 2015

thanks

tao12345666333

tao12345666333 on 14 Oct 2015

Cool! thanks!

tao12345666333

tao12345666333 on 14 Oct 2015

Cool! thanks!

iamcco

iamcco on 15 Oct 2015

this is test 测试

pengisgood

pengisgood on 16 Oct 2015

I can't wait to have a try. :)

w3guy

w3guy on 17 Oct 2015

Testing this out. Cool

zzxiv

zzxiv on 17 Oct 2015

This is really cool! Will emoticons like :wink: be supported in future releases?

jaywcjlove

jaywcjlove on 17 Oct 2015

Great job !

jaywcjlove

jaywcjlove on 17 Oct 2015

I would like to give it a try.

jaywcjlove

jaywcjlove on 17 Oct 2015

could not commit the comment to github (repository or file not found)

wenzi0github

wenzi0github on 19 Oct 2015

can make comments stand by markdown? `hello world`

liuhu

liuhu on 21 Oct 2015

nice, let me try!
试试看~

chengyifly

chengyifly on 30 Oct 2015

Cool !~

yuche

yuche on 31 Oct 2015

cool

royaso

royaso on 13 Nov 2015

不容易啊
test

jo32

jo32 on 06 Jan 2016

test

diadatp

diadatp on 04 May 2016

test

xlhdh

xlhdh on 23 Jul 2016

但是必须sign in啊

choury

choury on 15 Aug 2016

test

nimojs

nimojs on 21 Aug 2016

commit

forecho

forecho on 14 Sep 2016

测试一下

Jerry-Ma

Jerry-Ma on 03 Oct 2016

Thank you for the great work!

Jerry-Ma

Jerry-Ma on 04 Oct 2016

I have a quick (maybe dumb) question: Is there a way that the comment PR can be automatically merged? Currently I have to manually go to the web page and click the button.

RitterHou

RitterHou on 18 Dec 2016

test

RitterHou

RitterHou on 18 Dec 2016

测试

xhml

xhml on 08 Jan 2017

This is unbelievable! Last night I was considering the feasibility of this approach, and today I found this project

jJayyyyyyy

jJayyyyyyy on 22 Jan 2017

It's really awesome!

WeiGrand

WeiGrand on 19 Feb 2017

try try

Doublemine

Doublemine on 22 Mar 2017

comment test.

fuchao2012

fuchao2012 on 22 Mar 2017

Great Idea! Cannot wait to try it.

with github.css (:

giae

giae on 22 Mar 2017

a

Liz606

Liz606 on 24 Mar 2017

test one

absentm123

absentm123 on 25 Mar 2017

test .

scarqin

scarqin on 30 Mar 2017

cool!

scarqin

scarqin on 30 Mar 2017

666

scarqin

scarqin on 30 Mar 2017

hello ~
can i use in hexo?

ahjsrhj

ahjsrhj on 31 Mar 2017

have a try

isanwenyu

isanwenyu on 01 Apr 2017

Hi,is it possible to support for hexo?

yanhaijing

yanhaijing on 05 Apr 2017

123123123

jaynancy

jaynancy on 18 Apr 2017

好像不错的样子

XiaoMuIns

XiaoMuIns on 24 Apr 2017

good job

O-Eitetsu

O-Eitetsu on 28 May 2017

いいね。

ws2003gq

ws2003gq on 19 Jun 2017

aaa