展示HN:WOLS – 蘑菇种植追踪的开放标准
Show HN: WOLS – Open standard for mushroom cultivation tracking

原始链接: https://github.com/wemush/open-standard

## WeMush开放标签标准 (WOLS) 摘要 WOLS 是一种开源规范,使用二维码来标准化培养标本的数据追踪——最初专注于蘑菇,但适用于其他生物材料。目前,价值500亿美元的蘑菇产业依赖于诸如电子表格等效率低下的方法。WOLS 旨在通过一种供应商无关、保护隐私的系统来解决这个问题,用于记录关键数据,如物种、生长阶段、环境条件和谱系。 该系统提供多种编码选项(紧凑型、嵌入式、加密型),专为商业农场(可追溯性与合规性)、研究实验室(可重复性)和家庭种植者(优化)设计。数据可以公开共享用于研究,或通过加密保持私密。 WOLS 由社区指导委员会驱动,并提供免费的开源库来生成和解析二维码。虽然该规范是开放的,但 WeMush 平台提供了一个专有的实现,具有机器学习和物联网集成等附加功能。目标是通过开放标准促进采用,同时通过商业支持的平台确保可持续性。 更多信息和贡献详情请访问:[https://github.com/wemush/open-standard](https://github.com/wemush/open-standard)。

## WOLS:蘑菇培养追踪的开放标准 一项新的开放标准WOLS(蘑菇标本网络本体),旨在提高菌学和蘑菇培养领域的数据一致性和互操作性。由mbeacom开发,并在GitHub上提供(wemush.com/wemush),WOLS提供了一种标签系统,用于追踪蘑菇的整个生命周期——从孢子到收获,包括追踪克隆世代的新功能。 该标准使用JSON-LD,使其与现有的农业和科学数据系统兼容。Python和TypeScript/JS的客户端库可用。 该项目通过建立共享的遗传追踪词汇,解决了菌学数据当前存在的碎片化问题,例如误判和不一致的记录。开发者正在寻求来自生物标本追踪、农业数据和菌学领域的反馈。一位评论员表达了热情,分享了创办烹饪用蘑菇农场的长期梦想。
相关文章

原文

Version License Discussions Stars

An open-source specification for encoding cultivation specimen data in machine-readable QR codes. Vendor-agnostic. Privacy-preserving. Research-grade.

🍄 Read the Full Specification | 📖 View Online | 🌐 WeMush Platform | 💬 Join the Discussion


The global mushroom industry is worth $50 billion but operates on spreadsheets and paper notebooks. There's no standardization, no interoperability, and no way to share cultivation insights across organizations.

WOLS fixes this.

┌─────────────────┐
│  QR Code Label  │  ←  Scan with any device
└────────┬────────┘
         │
         ↓
┌─────────────────────────────────────────┐
│  Complete Specimen History:             │
│  • Species & strain                     │
│  • Growth stage & timeline              │
│  • Environmental conditions             │
│  • Substrate composition                │
│  • Harvest yields                       │
│  • Lineage & genetics                   │
└─────────────────────────────────────────┘
  • 🏭 Commercial Farms: Regulatory compliance and traceability
  • 🔬 Research Labs: Reproducible experiments and data sharing
  • 🏠 Home Cultivators: Track what works and optimize yields
  • ♻️ Circular Economy: Prove sustainability claims with verifiable data
  • 🤝 Equipment Manufacturers: Integrate tracking into products

Generate a Label (JavaScript/TypeScript)

import { generateLabel } from '@wemush/wols';

const label = await generateLabel({
  species: "Pleurotus ostreatus",
  strain: "Blue Oyster PoHu",
  type: "SUBSTRATE",
  stage: "COLONIZATION",
  created: new Date().toISOString(),
});

// label.qrDataUrl → QR code as PNG data URL
// label.json → Full specimen data
from wols import parse_label, scan_qr_code

# Scan QR code from image
specimen_data = scan_qr_code("path/to/qr_code.png")

# Or parse raw data
specimen = parse_label(qr_code_data)

print(f"Species: {specimen.species}")
print(f"Stage: {specimen.stage}")
print(f"Created: {specimen.created}")

  • No licensing fees - Free forever
  • No vendor lock-in - Works with any platform
  • Community-driven - Governance by steering committee
  • Public data option: Share openly for research
  • Encrypted data option: Protect proprietary strains
  • Cryptographic signatures: Verify authenticity
  • Complete lineage tracking: Parent → child relationships
  • Environmental data: Temp, humidity, CO₂, light
  • Substrate composition: Reproducible formulations
  • Statistical analysis ready: Export to CSV, JSON, or SQL
  • Custom namespaces: Add organization-specific fields
  • Multiple encoding formats: Compact, embedded, or encrypted
  • API-first design: Integrate with IoT sensors, equipment, or software

Platform WOLS Support Link
WeMush ✅ Native wemush.com
[Your Platform?] [Submit PR] [Your link]

Want to add your platform/library? See Contributing Guide


interface SpecimenLabel {
  // Required
  id: string;                    // Unique identifier
  version: string;               // Spec version (e.g., "1.0.0")
  type: SpecimenType;            // CULTURE | SPAWN | SUBSTRATE | FRUITING
  species: string;               // Scientific name
  stage: GrowthStage;            // Current growth stage
  created: string;               // ISO 8601 timestamp

  // Optional
  strain?: string;               // Strain identifier
  genetics?: GeneticsInfo;       // Lineage tracking
  batchId?: string;              // Batch/cohort identifier
  organization?: string;         // Organization ID
  custom?: Record<string, any>;  // Extensible fields
  signature?: string;            // Cryptographic signature
}

Compact (for small labels):

wemush://v1/clx1a2b3c4?s=POSTR&st=COLONIZATION&t=1734307200

Embedded (most common):

{
  "v": "1.0.0",
  "id": "clx1a2b3c4",
  "type": "SUBSTRATE",
  "species": "Pleurotus ostreatus",
  "strain": "Blue Oyster",
  "stage": "COLONIZATION",
  "created": "2025-12-16T10:30:00Z"
}

Encrypted (proprietary strains):

wemush://v1/encrypted/clx1a2b3c4?e={payload}&sig={signature}

📖 Read Full Specification →

Relationship to WeMush Platform

WOLS is open source. WeMush Platform is proprietary.

This specification and all reference implementations are open source and free to use. You can:

✅ Build your own platform using WOLS ✅ Generate labels using the libraries ✅ Integrate WOLS into your products ✅ Fork and modify as needed

The WeMush Platform (https://wemush.com) is a proprietary implementation of WOLS that offers:

  • Free tier with unlimited specimen tracking
  • Premium features (ML, IoT, API, etc.)
  • Professional support
  • Hosted infrastructure

Why this model?

Open standards drive adoption. Proprietary platforms drive sustainability. This model ensures WOLS succeeds long-term while WeMush can continue investing in advanced features.

Other companies are welcome to build competing platforms. We believe the best implementation wins, and we're confident WeMush will be that implementation.


Example 1: Home Cultivator Tracking

Problem: "Which substrate gives me the best yields?"

Solution:

  1. Print WOLS labels for each substrate bag
  2. Scan to log growth observations
  3. Compare yields across different recipes
  4. Reproduce the winner

See full example →

Example 2: Commercial Traceability

Problem: "Food safety audit requires complete cultivation history"

Solution:

  1. QR code on retail packaging
  2. Customer scans → sees full history
  3. Proves organic, local, or sustainable claims
  4. Regulatory compliance in one scan

See full example →

Example 3: Research Reproducibility

Problem: "Can't replicate experimental results from published paper"

Solution:

  1. WOLS label encodes exact parameters
  2. QR code in research paper
  3. Other labs scan → perfect replication
  4. Accelerates scientific progress

See full example →



We welcome contributions from:

  • 🌾 Growers: Use cases, feedback, testing
  • 💻 Developers: Code, documentation, bug fixes
  • 🔬 Researchers: Academic input, validation
  • 🏭 Industry: Equipment integration, standards alignment
  1. Join the Discussion: GitHub Discussions
  2. Report Issues: GitHub Issues
  3. Submit Changes: Pull Request Guide
  4. Improve Docs: Every page has an "Edit" button
Type Description Examples
🐛 Bug Fix Fix errors in spec or code Typos, broken links, incorrect examples
Enhancement Improve existing features Better examples, clearer docs
🎉 New Feature Propose spec additions New fields, encoding formats
📚 Documentation Write guides or tutorials How-to articles, translations
💬 Discussion Start conversations Use cases, design questions

📋 Read Full Contributing Guide →


The WOLS specification is governed by a steering committee that reviews proposals and manages releases.

Current Members:

  • Mark Beacom (Chair) - WeMush Foundation
  • [Open seat] - Industry Representative
  • [Open seat] - Academic Representative
  • [Open seat] - Community Representative

Want to join? Apply here

  1. Submit issue describing proposed change
  2. Community discussion (14 days)
  3. Steering committee review
  4. RFC (Request for Comments) draft
  5. Final review and vote
  6. Merge and release

📋 Read Full Governance →


Organization Type Use Case Since
Mush Ohio Commercial Farm Production tracking 2025
[Your org?] [Type] [Use case] [Year]

Using WOLS? Add your organization →

If you use WOLS in research, please cite:

@techreport{beacom2025wols,
  title={WeMush Open Labeling Standard: A Vendor-Agnostic Specification for Cultivation Specimen Tracking},
  author={Beacom, Mark},
  year={2025},
  institution={WeMush Foundation},
  url={https://github.com/wemush/open-standard}
}

  • Star this repo to follow updates
  • 👀 Watch releases for version announcements
  • 📧 Join mailing list for monthly updates
  • 🔔 Enable notifications for important discussions

Specification & Documentation: Creative Commons Attribution 4.0 International (CC BY 4.0)

You are free to:

  • ✅ Share — copy and redistribute
  • ✅ Adapt — remix, transform, build upon
  • ✅ Commercial use — use in commercial products

Code Examples: Code snippets in this documentation may also be used under the Apache License 2.0 for easy integration into your projects.

Reference Implementations: Official client libraries (in separate repositories) are licensed under the Apache License 2.0.


WOLS was created by Mark Beacom (Veteran, 2025 FVC Fellow, 2025 TSTI Fellow) and is supported by:

  • Farmer Veteran Coalition - Supporting veteran agriculture
  • Transatlantic Sustainability Transition Initiative - EU-US innovation collaboration
  • Open-source community - Contributors worldwide

Special thanks to early adopters, beta testers, and everyone providing feedback.


Current: Version 1.0.0 (Dec 2025)

  • ✅ Core specification released
  • ✅ JavaScript/TypeScript library
  • ✅ Python library (beta)
  • ✅ Reference implementation (WeMush platform)

Next: Version 1.1.0 (Q1 2026)

  • 🚧 IoT sensor integration spec
  • 🚧 Blockchain verification option
  • 🚧 Image metadata standard
  • 🚧 Multi-language translations

Future: Version 2.0.0 (Q2 2026)

  • 📋 Extended field data support
  • 📋 Advanced genetic encoding
  • 📋 Supply chain integration
  • 📋 Carbon tracking standard

📋 View Full Roadmap →


Q: Do I need to pay to use WOLS? A: No. WOLS is free forever. CC BY 4.0 license means zero licensing fees.

Q: Can I use WOLS with my existing software? A: Yes. WOLS is vendor-agnostic and designed for interoperability.

Q: What if I want to add custom fields? A: Use the custom namespace. All implementations support extensibility.

Q: Is this only for mushrooms? A: No. WOLS works for any biological specimen tracking. Cannabis, hemp, plants, etc.

Q: Who owns the data encoded in WOLS labels? A: The cultivator who generated it. WOLS is just a format specification.

Q: How do I report security issues? A: Email [email protected] (PGP key available)

Q: If the standard is open, can competitors copy WeMush? A: They can support the WOLS standard, but not copy our platform. Think Android (open) vs Google Pixel (proprietary but best implementation).

Q: Do I have to buy WeMush consumables to use the platform? A: No. The free tier works with any WOLS-compliant labels, including ones you generate yourself.

Q: Why not fully open-source everything? A: Sustainability. Open-source projects need funding. By keeping the platform proprietary while open-sourcing the standard, we ensure long-term investment in both.

Q: What if WeMush goes out of business? A: The standard lives on. Your data is exportable. Other platforms can continue supporting WOLS. That's the power of open standards.

Q: Can I use WOLS without the WeMush platform? A: Yes! Use the open-source libraries to generate labels, store data however you want, build your own tools. WOLS is completely independent.

📋 Read Full FAQ →


  • Star this repository - Increases visibility
  • 🐛 Report bugs - Help improve quality
  • 💻 Contribute code - Build the future
  • 📢 Spread the word - Share with your network
  • 💬 Join discussions - Shape the roadmap

WOLS development is supported by:


Project Lead: Mark Beacom Email: [email protected] Website: https://wemush.com GitHub: @wemush LinkedIn: Mark Beacom Twitter: @wemush


联系我们 contact @ memedata.com