AleksandrHovhannisyan / aleksandrhovhannisyan.com

My online resume and blog, created with 11ty, Sass, and JavaScript.
https://aleksandrhovhannisyan.com/
114 stars 26 forks source link

Creating a Jekyll Comment System with the GitHub Issues API #45

Open AleksandrHovhannisyan opened 4 years ago

AleksandrHovhannisyan commented 4 years ago

First!

MihajloNesic commented 4 years ago

Looks cool :)

Phelions commented 4 years ago

@MihajloNesic test uwu

danilpon98 commented 3 years ago

good

Jwmc999 commented 3 years ago

Thanks so much for the information! I used your code on my blog, and it works perfectly! One thing I want to point is, I have to create an issue besides comments_id tag at the front matter. Have you thought about another way to create an issue for each post, automatically?

AleksandrHovhannisyan commented 3 years ago

@Jwmc999 I have not, but that would be great! You can probably use the GitHub API to automate it somehow.

Also, for an alternative, check out Utterances. It uses the same API under the hood and renders GitHub's UI for comments.

I just decided to do it by hand so I have more control over the process. It's a bit annoying, but that's the price I pay!

xinsheng commented 3 years ago

great!

xwenliang commented 2 years ago

hoho

flov commented 2 years ago

Cool idea, however, it would only work for people with a github account

kayman-mk commented 1 year ago

For creating the issues automatically within a workflow, check this file: https://github.com/kayman-mk/blog-tech-at-work/blob/main/.github/workflows/build-blog.yml