There's a lot of great engineering that goes into Ghostty (not just in the codebase itself, but also in how the project is managed and run).
It's a lot of fun following it, just to gleam best practices from.