Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@Haxk20 JS. Yes, I know that the key will be visible to the public and that's one reason why I think this is a mess.
-
What are you saying? That GitHub's will work as your blog post comments? So every blog post will be a PR or something? I'm confused...
-
@ScriptCoded Every blog post will have a corresponding issue and the comments on that issue are comments on that blog post.
-
@ScriptCoded Why not? It's a light weight alternative to something such as disqus comments.
-
@ScriptCoded My solution involves a NodeJS server deployed on Heroku's free tier that fetches the comments using Graphql. However, I found this project that claims it's only client side https://github.com/imsun/gitment
-
@rantsauce Hmm... Neat... Does it require the commenter to have a GitHub account?
-
@ScriptCoded Yes. You also need to create a GitHub oauth app and you authorize users and obtain an access token for them to be able to comment.
-
@ScriptCoded Yes, every user should obtain an access token to comment. But that's done using the GitHub API so it's just code.
I'm trying to enable GitHub issues based comments on my blog. However, I'm not sure if it's worth this mess.
rant