OpenSource-Hub
O

Open Food Network

1.2k stars·System Optimization·SHA-256 checksum verified

Open-source online marketplace connecting local farmers and food hubs with consumers, promoting fair and sustainable food distribution.

Smart Download

Visit Project Homepage

No installer available yet — head to the source repository

Open-source non-profit local food marketplace empowering farmers and small businesses to sell directly to neighbors.

Core Features

  • Multi-vendor support with independent storefronts for each farm/food hub
  • Order management, payment integration, and delivery route planning
  • Flexible delivery time slots and pickup point configuration
  • Built-in community discussion and rating system
  • Fully open-source, self-hostable with full data control

What It Can't Do

  • Self-hosting requires Ruby/Rails/Ansible skills; payment gateway setup can be tricky; best suited for organizations with IT support – individuals may prefer hosted versions.

Use Cases

  • Community Supported Agriculture (CSA) direct farm-to-table
  • Digitizing farmers markets to cut out middlemen
  • Food co-op internal ordering and distribution

Detailed Introduction

Open Food Network (OFN) is a free and open-source online marketplace platform that enables farmers, food hubs (co-ops, farmers markets, independent food businesses), and consumers to trade local food directly. It provides tools for product listing, order management, payment processing, and delivery coordination. Supported by the Open Food Foundation, OFN aims to disrupt the concentration of power in global agri-food systems by offering a fairer, more transparent alternative to big corporate platforms. The project is community-driven, with a global network of affiliates, and encourages contributions from developers, testers, and food activists. It is licensed under AGPL-3.0 and built with Ruby on Rails.

Troubleshooting & FAQ (1)

Troubleshooting
How to fix 'undefined method compact_blank for nil' error in OFN enterprise_fee_summary API?

This error occurs when optional filter parameters (enterprise_fee_id_in, enterprise_fee_owner_id_in) are missing in the API request. Workaround: explicitly pass empty arrays for these parameters, e.g., q[enterprise_fee_id_in][]=&q[enterprise_fee_owner_id_in][]=. Permanent fix: update the guard methods in lib/reporting/reports/enterprise_fee_summary/enterprise_fees_with_tax_report_by_order.rb to handle nil, using Array(ransack_params[:enterprise_fee_id_in]).compact_blank.any? for safe array coercion.

GitHub Issue #14252

Tags

开源本地食品在线市场食品公平社区驱动

Getting Started

1

Download installer

Click the button above to download the installer for your system

2

Install the software

Double-click the downloaded installer and follow the prompts

3

Visit the website or GitHub repo to get source code

4

Follow the GETTING_STARTED guide to set up development environment (Docker/local)

5

Use Ansible playbooks (ofn-install) to deploy to a server

Install Guide
  1. Visit the website or GitHub repo to get source code
  2. Follow the GETTING_STARTED guide to set up development environment (Docker/local)
  3. Use Ansible playbooks (ofn-install) to deploy to a server
File Integrity

Checksum not available

This project has not published a SHA-256 checksum on its GitHub Release page

SHA256 Checksum

No checksum available

Download directly from GitHub Releases and verify file integrity yourself

All SHA-256 checksums on this platform are extracted from the project's official GitHub Release page, without any modification. You can independently verify them on the GitHub Releases page.

Open Source Transparency

View GitHub Source
Environment Guide

Uninstall Info

Delete deployment directory and database, stop services. For Docker, run `docker-compose down -v` and remove images.

No Extra Dependencies

Ready to use after download. No additional runtime required.

Project Info
LicenseAGPL-3.0
Last Updated2026-06-26 19:25:19
GitHub RepositoryOfficial Website

Having issues? Check the FAQ below

1 FAQ

Similar Projects