luarocks / luarocks-site

LuaRocks website and module host
http://luarocks.org
176 stars 36 forks source link

JSON API #43

Open andrew opened 9 years ago

andrew commented 9 years ago

Is there a way of reading out the meta data about each module as JSON or some other machine readable format from the site?

I'd love to add LuaRocks support to http://libraries.io/, if there's an easy way to read/convert the rockspec files without having to use Lua I could add it much faster.

leafo commented 9 years ago

Both the manifest and rockspecs are machine readable as they are just Lua code. I wouldn't mind adding JSON endpoints for the objects on the site, I just don't think I'll have time to do it anytime soon.

andrew commented 9 years ago

Thanks @leafo, if I get some free time I'll attempt to learn a little Lua and send a pull request.