paulbricman / dual-obsidian-client

A skilled virtual assistant for Obsidian.
https://paulbricman.com/thoughtware/dual
Mozilla Public License 2.0
242 stars 7 forks source link

Prepare backend for being deployed as binary #15

Closed paulbricman closed 3 years ago

paulbricman commented 3 years ago

The backend component should eventually be a self-contained binary with the following behavior:

  1. It should first expose a limited API which can be used to get a snapshot.
  2. After managing that, it should download and load the two auxiliary models used, the ones for fluid and descriptive search, respectively (#2, #5). The point is that while working behind the scenes to download those, the user can start using the alignment notebook.
  3. The aligned model can be loaded if present, otherwise not. But this should change the behavior of the open dialogue function. It should essentially return more instructions, although those would have been presented initially, too.
paulbricman commented 3 years ago

Notes about how I debugged PyInstaller: