Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It’s a simple binary format. I’ve written a parser for it in python.

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

Happy to answer questions about the format.



Thanks, 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?


You 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: