5 ms·
Show HN: Openblog – Blogging with GitHub Issues
- prezjordan 11y agoWow what a great idea. Would it be possible to list comments inline as well?
- megalodon 11y agoYes, the possibility exists, but it's not implemented as a feature in Github.js so you'd have to manually request the issue comments for every issue like this: github._request('GET', issue.comments_url, {}, callback)
- BinaryIdiot 11y agoNeat! Though I think putting the content directly into the repository would be a better solution. I'd love to see more content systems use git (or something like git) for version tracking and publishing.
- megalodon 11y agoYou can use a Jekyll-based blog for that. The cool thing about this is the ability to comment on posts without having to add Disqus or similar services.
- BinaryIdiot 11y agoTrue, can't really comment if you used straight git.
- ne01 11y agoNeat hack but I rather use something designed for blogging like: SunSed.com and silvrback.com Disclaimer: I'm cofounder of SunSed.
- bnj 11y agoBut...why? What makes sunsed different or better? If you're going to self promote on every thread that seems topically related to your product, at least take the time to differentiate it and offer strengths and weaknesses
- ne01 11y agoYou are right! I deserved the negative points! Lesson learned! ;)
- s986s 11y agoDid something similar about 10 months ago here https://github.com/formula1/NodeOS-Blog https://github.com/formula1/NodeOS-Blog I didn't realize hacker news had interest in these sorts of things, might have posted it
- BinaryIdiot 11y agoNot sure why you're getting downvotes but cool! It's sometimes hard to gauge whether or not the HN community will be interested in something (and sometimes they might be but it still doesn't gain traction due to time of posting, etc). I'd say just submit it anyway if you have something you think is cool and the community will decide if they want to discuss it or not :)
- transfire 11y agoNever considered using the issues for this. I did create a Jekyll plugin for using the wiki: Jekyll-Gollum (https://github.com/rubyworks/jekyll-gollum https://github.com/rubyworks/jekyll-gollum) Haven't messed with it in a while though, probably needs some love by now.
- pwmckenna 11y agoMy blog (http://pwmckenna.net http://pwmckenna.net) is built on the same idea. The issue I ran into is that forks don't have their own issues, so its a bit harder to share than I originally thought (you need a seperate repo for the code, and for the issues). Here's the source: https://github.com/pwmckenna/til https://github.com/pwmckenna/til
- deleted 11y ago[deleted]
- pwmckenna 11y agoactually it turns out you can have issues on your fork, they're just disabled by default (turn them on in the fork's settings). you'll still want to update app/config.json to point to your info. feel free to open an issue if you get stuck. i'd be more than happy to walk you through it.
- pwmckenna 11y agoUpdate: forks can have their own issues. http://programmers.stackexchange.com/revisions/179470/2 http://programmers.stackexchange.com/revisions/179470/2
- seanlane 11y agoSo I'm trying to understand the benefits behind this as opposed to using a normal blog hosted with Github Pages? Then the posts would be visible in the repo. If it is for having comments within a Github Pages blog, I found a solution that I wrote about myself about using a normal Jekyll hosted on GH Pages that pulls comments from Issues: http://seanlane.net/2016/Hosting_comments_within_issues_on_Github_Pages/ http://seanlane.net/2016/Hosting_comments_within_issues_on_G...
- megalodon 11y agoIt's pretty simple in its current form, but if one were to add user authentication then it would be possible to do anything implemented in the Github API. For example, this project is using issues in the purpose of posting/commenting, but theoretically you could use them as a general purpose database.
- seanlane 11y agoOh, that's pretty interesting in that sense. What gave you the idea for it? And do you see doing anything more intricate with it?
- gberger 11y agoURL Shortener with GitHub Issues: http://ghurl.github.io/?12 http://ghurl.github.io/?12