Re:Show HN: Glyph – Static Site Generator Powered by GitHub ...
by fileeditview on Saturday April 07, 2018 @06:18AM
(#16780158)
Thanks for mentioning this, I didn't know it yet. It looks really interesting.. I will have a look and see if I can use it or if I have to make my own simple integration script.
(it is one of my longer term goals to integrate the comments into the generated sites, for a coherent style.)
edit:
I just saw the Haxe docs uses utterance for comments. That's awesome.. I saw when they added comments to the docs but I didn't know it's done via Github.. great!
Re:Show HN: Glyph – Static Site Generator Powered by GitHub ...
by kaushalmodi on Friday April 06, 2018 @04:42PM
(#16777214)
Thanks for sharing.
For those who might be wondering, using OP's GitHub repo as example, the first post in the issue thread[1] gets converted to a blog post[2].
That's pretty cool! Though, it will be tough to pry myself away from my blogging flow that uses Org mode as content source and uses all of the Org+Emacs functionality :)
Re:Show HN: Glyph – Static Site Generator Powered by GitHub ...
by kaushalmodi on Saturday April 07, 2018 @07:48AM
(#16780342)
No worries, I wasn't suggesting that you support that. I have a very well established blogging flow and I don't have any reason to move away from it. I just happened to come across this HN post, and found your project interesting.
Re:Show HN: Glyph – Static Site Generator Powered by GitHub ...
by fileeditview on Saturday April 07, 2018 @11:54AM
(#16781266)
I didn't want to convert you :D
I just wondered if the linked feature would be useful for orgmode users or if it isn't really relevant. Maybe it would help someone else to use Glyph in a similar manner.
Re:Show HN: Glyph – Static Site Generator Powered by GitHub ...
by kaushalmodi on Friday April 13, 2018 @09:50PM
(#16835361)
The linked issue is probably useful if someone using Emacs/Org exports Org to Markdown format, and then uploads to a Github issue as that feature proposes. But then I fail to see the advantage of that flow vs just committing the Markdown file to any online git repo and letting Netlify etc. take care of publishing the blog.
Because.. uploading a Markdown file to a Github issue is one thing, but then what about refactoring, occasional post edits, etc.? Probably keep on overwriting the same Github issue with updated Markdown files?
You don't have to reply to these questions here.. just some thought if you do invest time in implementing this feature request.
Re:Show HN: Glyph – Static Site Generator Powered by GitHub ...
by fileeditview on Thursday April 26, 2018 @10:26AM
(#16932138)
I just now saw your comment. You are right it takes away some benefits if you don't use the Github markdown editor to write/edit the issues.
The only "benefit" I can still see then is the great commenting system that is attached to each issue.
I added some more features to glyph over the last two weeks however I had not put any more thought into this feature so far. It is really low priority for me right now and I guess it's not THAT useful so that's ok :)
Thanks for your input however. It is always very welcome.
Re:Show HN: Glyph – Static Site Generator Powered by GitHub ...
by indigodaddy on Friday April 06, 2018 @06:47PM
(#16778158)
This looks really cool! However I'm confused by in the article it says that one of the downsides us that the blog's style cannot be changed. Then in the glyph readme's, it talks about themes and templates. Can this be expounded upon/clarified? Thanks and very clever stuff.
Re:Show HN: Glyph – Static Site Generator Powered by GitHub ...
by ugotsta on Friday April 06, 2018 @07:25PM
(#16778386)
I think you're referring to the part listing the drawbacks of using GitHub Issues for a blog in general. If you continue to the subsequent "How it works" section, you'll see this:
Re:Show HN: Glyph – Static Site Generator Powered by GitHub ...
by scottydelta on Friday April 06, 2018 @10:52PM
(#16779140)
It might be hard to believe but just today morning I was thinking of writing a JS library that would provide access to the github issues/comments and crowd-sourced content can be loaded from Github onto websites. Nice work!
Re:Show HN: Glyph – Static Site Generator Powered by GitHub ...
by fileeditview on Saturday April 07, 2018 @02:32PM
(#16782041)
Hehe sometimes people have similar ideas at similar times. When I was researching if something like Glyph already exists I found this: https://github.com/mateogianolio/issuance
You can check it out.. I think it's partly what you described.
Re:Show HN: Glyph – Static Site Generator Powered by GitHub ...
by jaccarmac on Friday April 06, 2018 @08:12PM
(#16778604)
Really interesting. I wonder if something similar could be done with Fossil. You'd lose GitHub account integration and static hosting but gain real-time comment updates and a fully self-hosting platform.
(it is one of my longer term goals to integrate the comments into the generated sites, for a coherent style.)
edit: I just saw the Haxe docs uses utterance for comments. That's awesome.. I saw when they added comments to the docs but I didn't know it's done via Github.. great!
https://github.com/dbriemann/glyph-zero - all instructions are here
https://github.com/dbriemann/glyph - static site generator
If you have any questions or ideas just shoot!
For those who might be wondering, using OP's GitHub repo as example, the first post in the issue thread[1] gets converted to a blog post[2].
That's pretty cool! Though, it will be tough to pry myself away from my blogging flow that uses Org mode as content source and uses all of the Org+Emacs functionality :)
[1]: https://github.com/dbriemann/blog/issues/2 [2]: https://dbriemann.github.io/blog/2-introducing-glyph-static-...
I just wondered if the linked feature would be useful for orgmode users or if it isn't really relevant. Maybe it would help someone else to use Glyph in a similar manner.
Because.. uploading a Markdown file to a Github issue is one thing, but then what about refactoring, occasional post edits, etc.? Probably keep on overwriting the same Github issue with updated Markdown files?
You don't have to reply to these questions here.. just some thought if you do invest time in implementing this feature request.
The only "benefit" I can still see then is the great commenting system that is attached to each issue.
I added some more features to glyph over the last two weeks however I had not put any more thought into this feature so far. It is really low priority for me right now and I guess it's not THAT useful so that's ok :)
Thanks for your input however. It is always very welcome.
"Glyph removes all of those drawbacks for you."
In contrast Glyph offers you all the custom theming you want (I think) :)
You can check it out.. I think it's partly what you described.
I vaguely remember that Github Pages agreement mentioned not doing something like this, I might be wrong though and be thinking of something else.