Hacker News new | past | comments | ask | show | jobs | submit login

Emacs org-mode exported to html5 as part of a git post-receive hook for auto-update on repo changes (my stack of choice). Change the html export however you like to fit your deployment. Replace emacs with asciidoc(tor), diagrams-as-code, etc.



Yes, org mode is pure genius. The only issue with org mode is it used to only work well from emacs itself. I use past tense as I've address that issue as an attempt to get more colleague to use org mode when building this: https://github.com/mickael-kerjean/filestash

It takes virtually any org mode document stored anywhere and will expose the org mode export so you can browse the generated pages like a website available as not only a regular html one but also a pdf one with links and all that emacs generate on the fly. Example with a random github repo that have a couple org mode documents:

- pdf export: https://demo.filestash.app/login?type=git&repo=https://githu...

- html export: https://demo.filestash.app/login?type=git&repo=https://githu...

- txt export: https://demo.filestash.app/api/export/private/text/plain/REA... and more ...

It's not super fast as it runs emacs everytime you need to render a page and run the export from there but considering the title of this article, it is well within the theme of blogging like a hacker.


That is super cool! Another thing I really like about fellow emacs'ers; they almost always use good copyleft licenses.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: