<div dir="ltr">I really like this idea, however what I really want to know about a package usually includes: does it support my platform, does it depend on Foundation, what other modules it depends on, what versions of Swift it builds on (including nightly builds), and how well its documented. I don’t know how this can be done by simply querying github’s API though, it’s bound to require at least some involvement on the part of the package author.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 8, 2017 at 7:13 PM, Kilian Koeltzsch via swift-users <span dir="ltr"><<a href="mailto:swift-users@swift.org" target="_blank">swift-users@swift.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
I was missing a small tool somewhat akin to npm (specifically npm's search and install functionality) for the swift ecosystem so I spent some time writing something to fill that gap. I'd really love some feedback on the idea and usability :)<br>
<br>
The basic idea is that it's hard to find suitable packages when writing a swift library or executable. There is no single centralized listing of all packages (<a href="http://packagecatalog.com" rel="noreferrer" target="_blank">packagecatalog.com</a> and <a href="http://swiftmodules.com" rel="noreferrer" target="_blank">swiftmodules.com</a> can only have *so* current data), so this tool queries GitHub's API directly for repos written in Swift that include a file named Package.swift. It offers ways to search for packages, display more info about them and add them to your package manifest.<br>
<br>
You can find the project here: <a href="https://github.com/kiliankoe/apodidae" rel="noreferrer" target="_blank">https://github.com/kiliankoe/<wbr>apodidae</a><br>
<br>
It conveniently installs as `swift-catalog` so that you can run it like a subcommand of swift itself as `swift catalog`. The basic interaction is also shown in the README in more detail.<br>
<br>
There's still quite a few rough edges and the code definitely needs some cleanup, it's more of a test than something that should be depended on at this point I guess :P<br>
<br>
Cheers,<br>
Kilian<br>
<br>
<br>______________________________<wbr>_________________<br>
swift-users mailing list<br>
<a href="mailto:swift-users@swift.org">swift-users@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-users" rel="noreferrer" target="_blank">https://lists.swift.org/<wbr>mailman/listinfo/swift-users</a><br>
<br></blockquote></div><br></div>