How do you find libraries / bindings?

I realise we’re still early in Zig’s evolution, but the standard library is pretty lean. So right now you have to go out to the community for quite a lot of things, but finding them can be hard. Does anybody have recommendations for finding good Zig libraries?

For example: I was recently thinking about a small project to parse log files, and write out JUnit reports. I’d at least need regular expressions, and maybe some template-based writing for output. I can’t be alone for those ones.

Have you explored importing of a C library?

3 Likes

There are a few sites that work by scraping github for zig-based projects (iirc). One is https://zigistry.dev/

I’ve seen one or two others before but I don’t remember the other urls offhand.

5 Likes

Yes, but if somebody has already gone to the trouble of binding it with nicer types or error handling then I’d rather use that.

i have another option (supporting gitlab/codeberg):
https://dasimmet.gitlab.io/zig-git-crawler/

Sadly that one fails to load for me.

Edit: Hmmm, My VPN blocked its javascript.