I know you were talking about already having some form of an API out there. How complete is that? I had an idea for a Dist::Zilla module that would search for plugins of a certain type, but that would involve searching roles like:
It's now live (although it's a little raw even for an API, suggestions/pull requests welcome):
(I made your regex less greedy so it is a little faster).
What's the JSON writer? Can "pretty mode" be turned on? I can let WWW::Mechanize::Cached::Gzip handle the re-compression of tabs/spaces.
Use pretty JSON
(See issue #10)
Personally I'd just pipe via json_reformat, but I guess it doesn't hurt anything, on now (although I don't think the server will do gzip anyway).