FreshPorts API

Dan Langille dan at
Thu Sep 21 14:14:59 UTC 2017

> On Sep 21, 2017, at 4:10 PM, Torsten Zuehlsdorff <mailinglists at> wrote:
> On 21.09.2017 14:31, Dan Langille wrote:
>> FreshPorts contains more than just ports. It contains all commits to the FreeBSD repository.
>> This is all stored in a database. It can be queried. We just need an API.
>> The goal is to start gradually, based on the ideas started at <>
>> and later at <>
>> I did start using <> (I didn't get to the
>> point of having methods invoked), I'm looking for others to help get this started.
>> The goal is a PHP-based API. Why? Existing PHP code for database access.
> But what problem to you want to solve with it?
> I regularly dump the ports-tree into a database for some research or hacking. But beside this very specific cases i never needed it. So what do you want to accomplish?

This API is for third party use. We can try to anticipate their use cases by providing a general API, but in general, it's unknown.

In the <> link above, it shows one such use case: search.  It allows a third party to search FreshPorts. to find results.

Dan Langille - BSDCan / PGCon
dan at

More information about the freebsd-ports mailing list