Hi Y’all,
I have been working on a process to index all dependencies for Zig packages. First of all big shoutout to the Zigistry, where an issue from @andrewrk sparked the idea for this project of crawling all build.zig.zon
files on public git repositories into a relational database. At the moment, I support the github, gitlab and forgejo (codeberg) APIs and put them into sqlite.
Once the database file is available, there’s no need to host a service or deal with building typescript/javascript, so fetching the sqlite file to the browser in a static web app instead was my frontend choice. It’s similar to the standard library docs which bundle all the data into a archive and have the browser do the work.
Sqlite thankfully already has a browser version and for rendering, prebundled Vue.js is quite potent when it comes to visualizing sqlite’s output.
The result can be downloaded viewed offline strait from the ci artifacts as well.
As I’m writing this i found https://ziglist.org which seems similar but also service-based.
I’m not a blessed designer but the site include forward and backward recursive queries on the dependency graph of any indexed repo.