← Back to context

Comment by adityaathalye

7 months ago

Post author here. I'm not sure there is any one sync solution. To share with others, org-export and/or `pandoc -f org -t html` may be your friends. Also Github renders a subset org-mode text. What it can render may be good enough for your needs.

Alternatively: how about something like this:

- Stick the org source files in a private <Syncthing, or Dropbox, or equivalent> folder, so you can privately sync across devices.

- Use a file watcher to auto-export selected files to a shared version of the folder so you can share rendered content with others, with permissions. pandoc is an option but it doesn't export all of org. I think it's not a crazy idea to use Emacs itself as your command-line exporter. If you want special org sauce in the export, maybe pass the command line invocation a dedicated init file for export-only use.

- Further, because you are familiar with git, it may be not-crazy to run a Github/Gitlab/daemonised "render" action, on push to a remote repo. Once again, using the Emacs binary as the full-blown exporter.