jstachio
Kaitai Struct
jstachio | Kaitai Struct | |
---|---|---|
27 | 44 | |
214 | 3,839 | |
5.1% | 1.1% | |
9.3 | 7.5 | |
5 days ago | 21 days ago | |
Java | Shell | |
BSD 3-clause "New" or "Revised" License | 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.
jstachio
-
Full stack web development in a single Java file: An intro to Javalin and htmx
Anyway it was one of the reasons we (my company) went with Mustache and why I wrote JStachio.
-
HTML template languages?
I don't know Dart that well (only experimented with simple apps) and just kind of lurk on this sub but I am the author of a HTML templating language (Mustache) in Java that uses annotations and code generation: https://github.com/jstachio/jstachio
- Show HN: JStachio a type-safe Mustache engine that is incredible fast
-
Feedback on a new annotation processor api
Things like this https://github.com/jstachio/jstachio (author) would not be possibly with just an include like preprocessor.
- Interpolating Strings Like a King in Java 21
-
Hey guys, just wanted to let you know that JStachio v0.9.0 is now out and it even comes with Spring support! So go ahead and give it a try if you're into that kind of thing!
Hey guys, wanted to share my project JStachio with you all. It's a java templating engine that's like Mustache.java and Handlebars.java in syntax but also compile time type safe like JTE, Rocker, and Qute.
-
Introducing Bld: A New Pure Java Build System
On a related note I have been really liking the newer Java feature of being able to execute .java files directly. I have been using them frequently to execute what would normally be a Bash or Python script. I actually have a Java .java script that mimics some parts of the Maven release plugin and because Java speaks XML really well it was easier to implement it in Java than Bash or some other scripting language which makes me think /u/bowbahdoe point on including a JSON parser with the standard lib would be very useful.
-
Modern frontends using Spring Boot and Thymeleaf (yes, modern, you read it right, as in SPA)
I plan on releasing an unpoly (htmx like library) petclinic using my templating library https://github.com/jstachio/jstachio (superior to thymeleaf but I’m biased) and some avaje + Jooby. Hopefully next month.
-
What's the point of autogenerating DTOs from entities?
But going back to they can generate whatever they want they could even make an expression or template language that is type safe (and I know this is possible as an author of such a library).
-
JEP 430: String Templates (Preview) Proposed to Target Java 21
For those that do not like the syntax and still want compile time string interpolation check out my library: https://github.com/jstachio/jstachio
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?
jte - Secure and speedy templates for Java and Kotlin.
Protobuf - Protocol Buffers - Google's data interchange format
quarkus-qute
csvkit - A suite of utilities for converting to and working with CSV, the king of tabular file formats.
savant-core - This is the main project for the Savant build tool
Camelot - A Python library to extract tabular data from PDFs
jamal - Jamal is document maintenance automation
tablib - Python Module for Tabular Datasets in XLS, CSV, JSON, YAML, &c.
stringtemplate4 - StringTemplate 4
PDFMiner - Python PDF Parser (Not actively maintained). Check out pdfminer.six.
Mustache.java - Implementation of mustache.js for Java
PyYAML