Kaitai Struct
whatthefn | Kaitai Struct | |
---|---|---|
3 | 44 | |
0 | 3,830 | |
- | 0.9% | |
0.0 | 7.5 | |
almost 2 years ago | 16 days ago | |
Rust | Shell | |
GNU General Public License v3.0 only | GPL-3.0-or-later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
whatthefn
- Building GTK4 Applications Like Websites
-
egui or iced or druid?
The Elm model is fine, but it just didn't seem to work well with GTK. I never found much use for message passing - binding or signal callbacks accomplished state changes without much hassle, and fitting into GTK much better. For instance, here's a fairly complex page using subclassing + composite templates via blueprints: https://github.com/JMS55/whatthefn/blob/master/res/blp/profile_setup_page.blp + https://github.com/JMS55/whatthefn/blob/master/src/profile_setup_page.rs.
-
Parsers that don't yet exist?
The code is now open source (GPLv3) https://github.com/JMS55/whatthefn/tree/master/src/perf_data_parser.
Kaitai Struct
- Reverse-engineering an encrypted IoT protocol
-
Parsing an Undocumented File Format
- ImHex [2], which has a pattern language [3] which allows parsing, and it seems more powerful than what Kaitai offers. I stumbled upon some limitations with it but it was still useful.
[1]: https://kaitai.io/
- Kaitai Struct – a declarative language used to describe binary data structures
-
HTTPie Desktop: cross-platform API testing client for humans
Beautiful. Didn't know something like this exists. Reminds me of Katai[0]
[0]. https://kaitai.io/
-
Hacking the LG Monitor's EDID
An EDID override like this would be helpful for macOS as well, where the monitors swapping around after standby is a real annoyance [0] [1]
EDID rewrites are 99% of the time blocked by the monitor firmware: https://notes.alinpanaitiu.com/Decoding-monitor-EDID-on-macO...
By the way, one helpful tool that helped me navigate the EDID dump was Kaitai Struct [2]. It shows a side by side view with the hex view and the EDID structure, and it highlights the hex values in real time as you navigate the structure. Unfortunately [3] it doesn't support the extension blocks that the author needs.
[0] https://notes.alinpanaitiu.com/Weird-monitor-bugs
[1] https://forums.macrumors.com/threads/external-displays-swapp...
[2] https://kaitai.io/
[3] https://github.com/kaitai-io/edid.ksy
- Kaitai Struct: new way to develop parsers for binary structures
-
Fq: Jq for Binary Formats
Kaitai Struct might be a good choice for that: https://kaitai.io/
-
Ingesting, parsing and making sense of device log data
For binary log format, there's the excellent Kaitai Struct frameworks, that make it very easy to generate parsers from a declarative schema
-
What is this tool? More info in comments
kaitai
-
Visual Programming with Elixir: Learning to Write Binary Parsers (2019)
https://kaitai.io/
Worth a look if you are writing binary parsers.
What are some alternatives?
inferno - A Rust port of FlameGraph
Protobuf - Protocol Buffers - Google's data interchange format
Asciidoctor - :gem: A fast, open source text processor and publishing toolchain, written in Ruby, for converting AsciiDoc content to HTML 5, DocBook 5, and other formats.
csvkit - A suite of utilities for converting to and working with CSV, the king of tabular file formats.
asciidoctor-rs - Parser for asciidoctor written in Rust
Camelot - A Python library to extract tabular data from PDFs
tablib - Python Module for Tabular Datasets in XLS, CSV, JSON, YAML, &c.
PDFMiner - Python PDF Parser (Not actively maintained). Check out pdfminer.six.
PyYAML
rizin - UNIX-like reverse engineering framework and command-line toolset.
Scopt - command line options parsing for Scala
Fast Parse - Writing Fast Parsers Fast in Scala