summaryrefslogblamecommitdiffstats
path: root/2022/talks/orgvm.md
blob: b4895590fba35685afcab4e49958c3ea97dca2b4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
                       











                                                                                                     

                     
                                                 
                              
                                                                                                                                                                                                                                                                                                      






                                                                     



                        

                                                                        
                                                                    
                                                                       





                                                                      




                                                                                                                               





                                                             
[[!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"]]
[[!template id="help"
volunteer=""
summary="Talk needs captions and chapter markers"
tags="help_with_main_captions"
message="""The captions for this talk have not yet been edited. You can start with <https://emacsconf.org/2022/captions/emacsconf-2022-orgvm--orgvm-a-simple-http-server-for-org--corwin-brust--main.vtt> and either commit your changes to the wiki or e-mail it to  <emacsconf-submit@gnu.org>."""]]

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]]