Re:Show HN: Send comments on Jekyll directly to the repository
by brbsix on Friday December 04, 2015 @09:40AM
(#10676527)
This looks awesome. I'd been considering implementing a DIY comment system in React [1] but this is appears to be much nicer as it keeps the site and comments in the same repo.
I'd be interested in testing this out with GitHub Pages. Just out of curiosity, are there any cloud providers that will host this for free? Heroku's free tier doesn't appear to run 24/7.
Re:Show HN: Send comments on Jekyll directly to the repository
by Oxen on Friday December 04, 2015 @01:20PM
(#10678009)
RedHat's OpenShift have a good free plan, but they idle your app if you don't get 1 HTTP request per 24 hours, then they start it when you get that request. If they keep the HTTP request on wait until the app start on that first HTTP request it would be cool, but I don't know, they say it doesn't affect at all so maybe they do that.
Re:Show HN: Send comments on Jekyll directly to the repository
by brbsix on Saturday December 05, 2015 @12:12AM
(#10680970)
Thanks a lot for the suggestion. I had heard of OpenShift but have never paid much attention to RedHat. It turns out OpenShift has an official Node.js "gear" so between that and easy access via SSH and a git repo it was a breeze to set up. I'm still a little sure how the idling works, but looks good so far.
It's a simple backend (so you don't need your own). It could well be done for comments (someone hosting the backend for free on Heroku or something like that).
Re:Show HN: Send comments on Jekyll directly to the repository
by Minick on Wednesday December 02, 2015 @07:20AM
(#10662495)
You must have it separated on your server and the comments will be added to the gh-pages on GitHub since Jekyll won't allow you to do Dynamic stuff. It's the most viable it can get.
I'd be interested in testing this out with GitHub Pages. Just out of curiosity, are there any cloud providers that will host this for free? Heroku's free tier doesn't appear to run 24/7.
[1]: http://facebook.github.io/react/docs/tutorial.html
It's a simple backend (so you don't need your own). It could well be done for comments (someone hosting the backend for free on Heroku or something like that).
Not a viable solution if you use gh-pages.