4 ms·
The data is stored in a custom binary file format. Parts of the format are zlib deflated. There is documentation for the format, but it is wrong and outdated. I
by quag 5y ago
The data is stored in a custom binary file format. Parts of the format are zlib deflated. There is documentation for the format, but it is wrong and outdated. I had to reverse engineer the format from the C++ code.
- Aardappel 5y agoI am not aware that it is outdated. If you found inaccuracies, please open an issue, or better a yet a PR for the file https://github.com/aardappel/treesheets/blob/master/TS/docs/file_format_spec.txt https://github.com/aardappel/treesheets/blob/master/TS/docs/...
- quag 5y agoBy the way! Thanks for Treesheets I love how naturally it helps you when thinking through a topic. I built a Python treesheets cts file to HTML converter so I could quickly see my treesheets along side other notes in my notebooks. Issue created: https://github.com/aardappel/treesheets/issues/185 https://github.com/aardappel/treesheets/issues/185 My (partial) parser in Python: https://gist.github.com/quag/e219f69670cd395d4a59a392557df284 https://gist.github.com/quag/e219f69670cd395d4a59a392557df28... If people would like the current format documented and simple test files to parse please let me know. It’s a 1-2 day task to get it to the point were I wouldn’t have had to read the code to write a parser.
- Aardappel 5y agoThanks!