farmOS integration

Greetings OFN Community!
My name is Shannon and im working with a Non Profit developing a farm project in the Northern California region and we are looking to integrate the Open Food Network platform into our community and become a producer and a hub of farms looking to distribute food to the local surrounding community.
We are also developing with farmOS to use there farm management wares as our daily operational platform for tracking all farm tasks, operations and any farm related process.
We are very happy with farmOS and the development community is stellar and very active.
One our main goals is to see how we can integrate OFN with FarmOS so we can track all assets in farmOS that would be ready to go to market via OFN.
There is discussions currently about getting started on some kind of integration.
Here is the most recent topic on the table.

These are the development topics of interest we are looking at:

Develop a “farm2foodnetwork” module for farmOS (drupal) (*what data sets to share?)

  • Ability to have a farmOS profile on OFN as Provider etc
  • Ability to push asset ”product” thru movement till it goes to OFN store
  • Ability to push assets to OFN inventory and categorize each desired asset as a network store product with in farmOS.
  • Ability to track and trace product from start to market and the ability to tag it at each stage.
  • Push items to network store from farmOS directly when ready.
  • Integrate crop production plan with ofn product availability.
  • OAuth to connect the accounts?

Would love to know if this has been looked at before and what the possibilities are?

Love to see these 2 platforms working together. Seems like a natural fit for an OpenAgtech solution for farm management all the way to local market.

Any feedback and or insight would greatly welcomed!



wow I am excited about this :slight_smile: we have had conversations with farmOS over the years and clearly all thought it would be great if we ended up at this point, but neither had the resources or immediate urgency to focus on it. If you do that would be fantastic and you will be welcomed and supported.

I have played a bit with farmos for our farm here in aus but haven’t really ‘locked in’. I do use OFN though, and would happily be a guinea pig.

There is quite a bit to consider and some conversations about broader data structures that are relevant. For example, the Data Food Consortium project in France has drafted a standard for food systems tech to be interoperable, and we will be aiming to comply with that over time. We have just taken our first steps towards DFC-compliant endpoints see here and here. It could be interesting to look at this for farmOS too, as in how assets are translated to products that travel through the supply network

On the topic of networks - we are probably using the word differently, but we are also currently working on an evolution of the ‘network’ in open food ‘network’ i.e. better support for food supply networks where the same core ‘product’ moves through and is transformed in different ways by different supply chain partners. We are talking about using tagging in some way within this. It may not be relevant but I just noticed some uses of the same words and it could be interesting to explore parallels in our thinking. Pinging @Mario FYI

that’ll do for now - welcome :slight_smile:

1 Like

also @farmtech - just in case you haven’t found it yet, our API is not as awesome as it will one day be, but what we currently have is documented at

1 Like

:smiley: YAY Thank you for checking this out. Great feedback and insight. Thanks for the references. This gives me a great place to start.
I am going to pass this along to the farmOS team and see what ideas it can get started.

Hi there, this is Jamie from the farmOS team. I work on the farmOS Field Kit app (Android/iOS/PWA).

Just want to introduce myself and say I love this idea! We’ve got a lot on our plates, as always, but it’s been my wish, for a looooong time, to see farmOS integrate with sales and marketing tools, especially OFN, since I don’t see anyone coming close to what y’all do in the FOSS space.

As best I can, @farmtech, I’d like to make myself available to you. I 100% sympathize with @Kirsten when it comes to #APIgoals; we’re busily working to improve ours as well. So if you ever get stuck, don’t hesitate to reach out.

Can’t wait to see where this goes!


:slight_smile: This is exciting!
evolving the open food computer network to reflect the open food social network…

Regarding the OFN api:
Is it possible to retrieve (eg) bulk_products sorted by last_modified/deleted?
(or only retrieve products that have been modified/deleted since some time?)

afaics the param q is not specified in the swagger api spec How does it work?

1 Like

I like the idea to trace/track products already during their creation before they are ready to sell. This could even loop back to OFN in form of CSA crowd-funding: First consumers communicate value appreciation (ie pre-pay in advance) and only then todos get scheduled in farmos to create that value which is then distributed via OFN… eg order three “bed square food” of carrots - ETA in 6 weeks


Thanks for posting. It’s great to hear from you!


we have been discussing this. We use use ransack that supports filters by all database fields, but we dont want to explode our docs with all the possible filters. Discussion here:
Anyway, yes, I think you can already filter by orders created_at, updated_at and deleted_at fields.
Something like this I believe:

  • q[updated_at_gt] updated after
  • q[deleted_at_lt] delete before

I’m with OFN-Canada. I have no technical skills (well not the kind you all have). But I’m a farmer and a mega OFN user. For a long time I have dreamed about some type of integration between an open source farm management system (like farmOS) and the marketing/orders management system that OFN is. I am lead investigator on a government funded project here now to assess and map out how (so called) disruptive digital technologies are impacting the ‘farm to fork’ sector here. This integration is something small scale farmers, fishers, harvesters, makers… are longing for. Last year I talked with Zia at LiteFarm (an open source farm management app being developed at UBC) about this ( - but neither of us had resources to go further. So - just adding my voice to the interest here. And, just as @Kirsten offered - if you folks at farmOS are looking for a test case - I’m happy to lend my farm and its OFN use to the cause.


Just seeing this, @tschumilas, and love it! This fall I’ll be starting some exploratory work into what it would take to expand the farmOS API for these kinds of sales and marketing integrations, so perhaps in a month or so’s time, when I’ve had a chance assess our options more thoroughly, we could find a time to chat.

Also, we got lots of love for Zia and the LiteFarm team, going back to the GOAT Conference 2018. We’re already collaborating as a part of OpenTEAM, so it’d be great to extend that collaboration into an endeavor like this, too.

1 Like

Thanks so much for the response @jgaehring. Love to chat. I’ll also intro you to @lauriewayne1 who heads up the US OFN instance. A chat with us however, would focus on dreaming and what we know our community of users would love to see. Laurier and I are community developers not software developers. And I think its safe to say that there is little bandwidth at the moment among more technically included OFNers to take on new big things. Nonetheless - I’m pinging a few people who might have an interest in exploration…? @Kirsten @luisramos0 — others?


I’m on the same page re: bandwidth. I’m taking the long view of this right now b/c the farmOS team has at least a 6 month backlog of development work, with more to crop up in the intervening time I’m sure. A lil’ bit o’ dreamin’ and schemin’ sounds like a perfect way to start things off though. Would love to reconnect w/ Laurie too. I will make myself a reminder to ping you later this month so we can find a time to chat, b/c I have vacation and some hard deadlines to get past before then.

Slow and steady!


Hey @jgaehring! I was thinking of you a lot lately, also because I think (can’t remember) Ankita must have a new person in her lofe these days, eh?

Have a great vacation. Find us when you can!