summaryrefslogblamecommitdiffstats
path: root/2022/talks/orgvm.md
blob: b4f3c72c69f7f328e749683f8cd61ede560c4933 (plain) (tree)
1
                       


















                                                                                                     



                        

                                                                        
                                                                    
                                                                       





                                                                      




                                                                                                                               





                                                             
[[!sidebar content=""]]
[[!meta title="orgvm: a simple HTTP server for org"]]
[[!meta copyright="Copyright © 2022 Corwin Brust"]]
[[!inline pages="internal(2022/info/orgvm-nav)" raw="yes"]]

<!-- Initially generated with emacsconf-generate-talk-page and then left alone for manual editing -->
<!-- You can manually edit this file to update the abstract, add links, etc. --->


# orgvm: a simple HTTP server for org
Corwin Brust (he/him/any, IRC: corwin)

[[!inline pages="internal(2022/info/orgvm-before)" raw="yes"]]

OrgVM is, so far, a very simple nodejs wrapper, invoking Emacs in
batch mode.  I'll talk about how I use it to make project notes
available on demand to my colleagues and how it works, especially the
generation of elisp from javascript/JSON.


# Discussion

## Questions and answers

-   Q: Why not build upon Nic Ferrier's elnode web server written in
    Elisp?  As Nic describes it: "Elnode is a non-blocking IO webserver
    written entirely in EmacsLisp. It's like an EmacsLisp version of
    node.js."  Your implementation will likely get much simpler if you
    keep it all in Lisp.
    -   A: I chose to build with node.js because that was easy for me;
        but an Emacs based version sounds awesome!
-   Q: Is this using org-info-js? 
    -   A: nope; I need to learn more about this - seems very exciting
        and like it could influence this project
- Q: Why did you make yet another web server?
  - I read it was to make your org files portable.
  - He's auto-generating .html files to match his org files in the background so that he can browse them via web browser right?
- Q: How is that portable.  You still need a web browser.  Org files need the very basic..... cat
- Q: Have you heard about https://codeberg.org/gopiandcode/emacs-viewer, by any chance?

[[!inline pages="internal(2022/info/orgvm-after)" raw="yes"]]

[[!inline pages="internal(2022/info/orgvm-nav)" raw="yes"]]

[[!taglink CategoryOrgMode]]