Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comments: Replacing Disqus with Github Comments #1

Open
dwilliamson opened this issue Apr 18, 2017 · 208 comments
Open

Comments: Replacing Disqus with Github Comments #1

dwilliamson opened this issue Apr 18, 2017 · 208 comments

Comments

@dwilliamson
Copy link
Owner

@dwilliamson dwilliamson commented Apr 18, 2017

Comments for Replacing Disqus with Github Comments

@dwilliamson
Copy link
Owner Author

@dwilliamson dwilliamson commented Apr 18, 2017

This is a comment

@dwilliamson
Copy link
Owner Author

@dwilliamson dwilliamson commented Apr 18, 2017

This is another comment

@dwilliamson
Copy link
Owner Author

@dwilliamson dwilliamson commented Apr 18, 2017

This is a comment with some markdown...

  • Listy
  • Listo
  1. Jumble
  2. Sale

Boldit or Italicit or strikeit

header

hashtag

something something

int x = 3;
@jasminpatry
Copy link

@jasminpatry jasminpatry commented Apr 21, 2017

This is great. Thanks for sharing this!

@olafleur
Copy link

@olafleur olafleur commented Apr 22, 2017

Awesome ! I think I will try this on my website. :)

@vielmetti
Copy link

@vielmetti vielmetti commented Apr 22, 2017

Nicely done.

@vyp
Copy link

@vyp vyp commented Apr 22, 2017

Neat!

@olalonde
Copy link

@olalonde olalonde commented Apr 22, 2017

You are on HN, congrats :) https://news.ycombinator.com/item?id=14170041

@mannuscript
Copy link

@mannuscript mannuscript commented Apr 22, 2017

I agree that what Disqus is doing is an overkill.
However, we should not forget that nothing comes for free...
Apart from this, getting redirected to GitHub for comment is very inconvenient...
Update: So I am automatically subscribed to comments thread via email...
Getting emails not only for replies on my comment but for every new comment.
Well, this is another overkill...
Don't forget User experience is more valued than user's data nowadays :D

Edit:
@dwilliamson forget about the free-ness argument, the bigger issue is of user experience, I got resubscribed to email updates after you mentioned me in one of the comment. This is a serious poor user experience.

@rattrayalex
Copy link

@rattrayalex rattrayalex commented Apr 22, 2017

Interesting, thanks for sharing!

You might consider changing the link to include #new_comment_field (like so) so that users do not have to scroll. I believe this also focuses the field by default, which may make intent more clear.

Adding a button at the bottom of the comments section that opens the link might be helpful. Using about: _blank could be nice too.

A git hook might be useful to automatically generate the issues, though I'm not sure that'd be a good idea.

EDIT: Looks like their api supports POSTing comments; you'd have to set up user auth of course. https://developer.github.com/v3/issues/comments/#create-a-comment

@ghost
Copy link

@ghost ghost commented Apr 22, 2017

A test of comment with image and link.

img_4698

@globalcitizen
Copy link

@globalcitizen globalcitizen commented Apr 22, 2017

Good work. In summary, to improve the solution further, add a button to add a new comment. Only when that button is pushed (in order to preserve privacy, remove drive-by viewer tracking potential, and reduce unnecessary server load on Github), somehow determine whether the user is already logged in to Github.

  • If not, then give them a chance to do so or sign up
  • If so, then display an add comment form on the page
    This could be a modal window, in a similar style to Stripe. If the user posts a comment successfully, the comment stream could be refreshed.
@citrusui
Copy link

@citrusui citrusui commented Apr 22, 2017

I'm impressed by this! I'm going to see what happens when you post a comment from the @ghost account (another name for a deleted account)

@ghost
Copy link

@ghost ghost commented Apr 22, 2017

Hello world! This is a comment from the @ghost account.

@segiddins
Copy link

@segiddins segiddins commented Apr 22, 2017

This is awesome!

@olalonde
Copy link

@olalonde olalonde commented Apr 22, 2017

You might want to

  1. Add rel="nofollow" to your anchor tags to deter spam

  2. Link back to the blog post in the GH issue (you could do that in the first comment and not display it on your website). That way when I go back here due to :octocat: GH notifications, I can go back to the post easily instead of wondering what this is all about 😸

@ElijahLynn
Copy link

@ElijahLynn ElijahLynn commented Apr 22, 2017

Great writeup, I was really hoping there was a way to comment without visiting Github.

@asciimo
Copy link

@asciimo asciimo commented Apr 22, 2017

Very slick! I came to propose something similar to @globalcitizen's proposal, but they put it more succinctly.

@bexelbie
Copy link

@bexelbie bexelbie commented Apr 22, 2017

Did you consider https://staticman.net ? This gets you comments as PRs and comments from the page.

@tbodt
Copy link

@tbodt tbodt commented Apr 22, 2017

@bexelbie but staticman isn't as FUCKING AWESOME as this

@dipakc
Copy link

@dipakc dipakc commented Apr 22, 2017

This is amazing! Thanks for sharing.

@aleman
Copy link

@aleman aleman commented Apr 22, 2017

Great!
I can already think of a few use cases for this in my team

@colinmegill
Copy link

@colinmegill colinmegill commented Apr 22, 2017

Great idea. Thank you for this.

@crohr
Copy link

@crohr crohr commented Apr 22, 2017

I agree this is a great idea. But why not write your post directly into the issue as well? You might want to checkout my post Turn your GitHub issues into blog posts, which implements the same idea but also let you publish right from your GitHub issue as well.

@bkaradzic
Copy link

@bkaradzic bkaradzic commented Apr 22, 2017

Love it! 👍

@lrzedzicki
Copy link

@lrzedzicki lrzedzicki commented Apr 22, 2017

Very useful!

@andreis
Copy link

@andreis andreis commented Apr 22, 2017

Great technique that I'll definitely steal. Thanks!

@ghost
Copy link

@ghost ghost commented Apr 22, 2017

Brilliant idea!

@EddieOne
Copy link

@EddieOne EddieOne commented Apr 22, 2017

test = {
  something: 'monkey',
  function: function(arg) { return arg + 'YAY!'  }
}

Edit: We need pagination!

@cerisara
Copy link

@cerisara cerisara commented Apr 22, 2017

Great ! I'll try this out... is it doable with a gitlab instance ?

@wallabyway
Copy link

@wallabyway wallabyway commented Nov 22, 2018

Very cool

@VincentTam
Copy link

@VincentTam VincentTam commented Nov 24, 2018

@vchrombie I see you concern. In addition, this technology only supports GitHub.

IMHO, Staticman gives Git(Hub/Lab) repo owners a greater degree of freedom. Staticman's support for GitLab has been addded for three months. (c.f. mmistakes/minimal-mistakes#1956)

@clarkttfu
Copy link

@clarkttfu clarkttfu commented Dec 17, 2018

Awesome !!

@HyeonGuJ
Copy link

@HyeonGuJ HyeonGuJ commented Feb 1, 2019

wow!

@dvijayak
Copy link

@dvijayak dvijayak commented Feb 5, 2019

I think this is super cool. I plan on implementing something like this on my own site in due time.

@ingochris
Copy link

@ingochris ingochris commented Feb 9, 2019

Hello world!

  • Yet another test comment. :)
  1. Do images display?
    snoo

Cheers!
Chris

@yudiqing
Copy link

@yudiqing yudiqing commented Feb 17, 2019

This is a terrific post. Thanks.

Repository owner deleted a comment from pahosler Feb 18, 2019
Repository owner deleted a comment from dewomser Feb 18, 2019
@CameronNicolson
Copy link

@CameronNicolson CameronNicolson commented Mar 27, 2019

Thanks for sharing!

@anonizmous
Copy link

@anonizmous anonizmous commented Apr 4, 2019

OhOhOh....!!!

@JoelEllis
Copy link

@JoelEllis JoelEllis commented Apr 16, 2019

BTW guys, you may like http://utteranc.es that does the same thing, but a bit less hackery.

@sergeyvdovareize
Copy link

@sergeyvdovareize sergeyvdovareize commented May 2, 2019

и как оно?

@begoon
Copy link

@begoon begoon commented May 8, 2019

вроде работает

@drom
Copy link

@drom drom commented May 25, 2019

да, хорошая идея

@isovector
Copy link

@isovector isovector commented Jun 27, 2019

This is an amazing idea!

@craftsmandigital
Copy link

@craftsmandigital craftsmandigital commented Jul 11, 2019

Hello folks

@Noobchenko
Copy link

@Noobchenko Noobchenko commented Jul 11, 2019

Проверка как работает

@md2perpe
Copy link

@md2perpe md2perpe commented Jul 21, 2019

Code test:

let test = "Just a string";
another(line);
yet.another(line);

Edit: It seems like some extra CSS is needed for the code colorization.

@magicxavi
Copy link

@magicxavi magicxavi commented Aug 2, 2019

haha

@adriansinger87
Copy link

@adriansinger87 adriansinger87 commented Aug 13, 2019

This is a cool way to use GH for both, as a host for static jekyll-blogs and for its comments. I will try this out!

So thank you for your work, here is my implementation: https://www.adrian-singer.de

@cphthomas
Copy link

@cphthomas cphthomas commented Aug 18, 2019

Very nice post :O)

@ajbozdar
Copy link

@ajbozdar ajbozdar commented Sep 27, 2019

It's interesting. Cheers!

@gIsForGravity
Copy link

@gIsForGravity gIsForGravity commented Oct 19, 2019

This is very cool

@ldoublewood
Copy link

@ldoublewood ldoublewood commented Oct 31, 2019

this is my comment

@p4ttch
Copy link

@p4ttch p4ttch commented Nov 16, 2019

this is pretty neet!

@resthyphen
Copy link

@resthyphen resthyphen commented Nov 27, 2019

this is pretty neet!

agree

@mostafachatillon
Copy link

@mostafachatillon mostafachatillon commented Feb 13, 2020

i am trying this github comment feature

@dollardhingra
Copy link

@dollardhingra dollardhingra commented Apr 9, 2020

amazing man

@pedroth
Copy link

@pedroth pedroth commented May 28, 2020

Great idea maybe will do the same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
You can’t perform that action at this time.