Skip to content
loading...

๐Ÿ“ฃ Use Github for Comments - Forget Disqus

twitter logo github logo ใƒป1 min read  

If you're into blogging you must have heard the name Disqus but wait do you know you can use GitHub Issues for Comments in your blog?

You heard it right, ๐Ÿ“ข Comments With GitHub! โค

A Open Source Project Make This Possible :

GitHub logo utterance / utterances

๐Ÿ”ฎ A lightweight comments widget built on GitHub issues

utterances ๐Ÿ”ฎ

A lightweight comments widget built on GitHub issues. Use GitHub issues for blog comments, wiki pages and more!

  • Open source. ๐Ÿ™Œ
  • No tracking, no ads, always free. ๐Ÿ“ก๐Ÿšซ
  • No lock-in. All data stored in GitHub issues. ๐Ÿ”“
  • Styled with Primer, the css toolkit that powers GitHub. ๐Ÿ’…
  • Dark theme. ๐ŸŒ˜
  • Lightweight. Vanilla TypeScript. No font downloads, JavaScript frameworks or polyfills for evergreen browsers. ๐Ÿฆ๐ŸŒฒ

how it works

When Utterances loads, the GitHub issue search API is used to find the issue associated with the page based on url, pathname or title. If we cannot find an issue that matches the page, no problem, utterances-bot will automatically create an issue the first time someone comments.

To comment, users must authorize the utterances app to post on their behalf using the GitHub OAuth flow. Alternatively, users can comment on the GitHub issue directly.

โ€ฆ

You Can Know More about this here at https://utteranc.es/ and here


โœ Enjoy โค

twitter logo DISCUSS (6)
markdown guide
 

Maybe using GitHub comments would eliminate some of the "don't look at the comments, don't look at the comments, don't look at the comments" existential-level dread that comes with having enabled other comment-engines and seeing that you've got a new comment waiting (for moderation ...since, long ago, had to change to 'approve-to-go-live' comments to reduce the amount of comment-spam).

 

I wonder if there's a way to move/copy comments from discus to there.

 

I don't know about any kind of script that'd take the disqus comment dump and create issues on the fly for that.

That's clearly a downside.

Still, you could work on such a script, which would take the disqus script as input and create issues for it using the GitHub API.

 

such scripts do exist, but the author would be whatever the Github commenter's author is, so you'd have to modify the username or something within comment text

 

Wow that's exactly what I will use on my upcoming blog. Ta!

Classic DEV Post from Apr 26 '18

Top 10 errors from 1000+ Ruby on Rails projects (and how to avoid them)

We looked at the Rollbar database of thousands of projects and found the top 10 Ruby on Rails errors. Weโ€™re going to show you what causes them and how to prevent them from happening. If you avoid these "gotchas," you can be a better, and bug free Rails developer. :-)

Palash Bauri ๐Ÿ‘ป profile image
Crazy Guy, On A Mission To Make The World A Better Place!๐Ÿ‘ป Programmer ๐Ÿ’ป , Writer โœ, Inventor ๐Ÿ”ง, Thinker ๐Ÿ’ญ

Do you prefer sans serif over serif?

You can change your font preferences in the "misc" section of your settings. โค๏ธ