Packaging Grist as an Electron app

Hi @sitepi7247, welcome! Grist actually started life as a standalone electron app, and I miss that myself, so I’m happy to hear you looking into this! Grist licensing does allow it (everything in https://github.com/gristlabs/grist-core/ is under the Apache-2.0 license). It won’t be trivial. The basic app is in good shape for packaging but a few issues come to mind:

  • Grist uses python for formulas. A truly standalone ElectronJs app would need to have python embedded within it. If it is just for yourself, you could choose not to worry about it.
  • There are some node packages with binary components (specifically node-sqlite3), so have an OS-dependent component to deal with. Again, if you are just doing this for yourself, you could choose not to worry about it.
  • Grist now assumes it controls document creation and storage, it would need some tweaks to be able to save/load Grist documents anywhere on your file system.

You might find it is ok to just run Grist locally with docker. It won’t need the internet, and it’ll have a trivial login system by default.

1 Like