4 ms·
It’s a simple binary format. I’ve written a parser for it in python. https://gist.github.com/quag/e219f69670cd395d4a59a392557df284 https://gist.github.com/quag
by quag 4y ago
It’s a simple binary format. I’ve written a parser for it in python.
https://gist.github.com/quag/e219f69670cd395d4a59a392557df284 https://gist.github.com/quag/e219f69670cd395d4a59a392557df28...
An older version (v16) of the format is documented, but that was before zlib compression was added. I’ve opened an issue and listed out the gaps in the spec, but haven’t gotten around to updating the spec itself.
https://github.com/aardappel/treesheets/issues/185 https://github.com/aardappel/treesheets/issues/185
Happy to answer questions about the format.
- themodelplumber 4y agoThanks, that's helpful to know. Regarding the format I was wondering mostly how it might be possible to parse and add/remove data as part of an automated workflow. Most of my notetaking tools have ended up as part of a broader scheme like this. Related, if I'm viewing/editing a file and an external process updates the file, is there any kind of alert or notice for the user, or could you describe what happens?
- quag 4y agoYou could certainly parse the file, and then insert/remove cells or their values. I don’t know if the app monitors the files for changes and then reloads on change or not. If not, I imagine you could modify the app to do so.