maiychrus25/OpenCoop-DX-OS
About
Open-source digital transformation OS for agricultural cooperatives: headless core (SSO, API gateway, data, workflow), plug-in apps via manifest, and evidence-based HPDI metrics. OLP 2026 entry.
Systems & InfrastructureMeasured star growth
- in 24h
- +1
- in 7 days
- 0
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.en.md
OriginalOpenCoop DX-OS
Open-Source Multi-Sector Digital Transformation Operating System for Cooperatives
1 Shared Core (100% OSI) → 3 Horizontal Apps (Coop Law 2023) → 5 Vertical Sector Plugins (Go / Python / Node) · Agentic AI Workshop · Tamper-Evident QR Traceability
🇻🇳 Tiếng Việt · 🇬🇧 English · 🌐 Live Demo · 📋 Judging & PoF Guide (vi) · 🎬 12-Min Demo & Q&A (vi)
Live UI Showcase
Director Board: daily intake, pricing, receivables & quarantine alerts |
Tier-3 App Store: install/remove sector mini-apps via app.yaml without editing Core
|
Public QR Trace /q/<lot-code>: 4 audit-locked origin & PHI-compliance layers
|
Member Settlement & VietQR: append-only ledger deduction and instant payment slip |
3-Tier Architecture: 1 Core → 3 Horizontal Apps → 5 Vertical Sectors
OpenCoop DX-OS is built for OLP PMNM 2026 (DX-OS Open-Core track) under ADR 0006. Every vertical sector runs as an isolated mini-app installed via ./dxos install using app.yaml and the multi-language dxos-cli SDK (Go, Python, Node.js) without modifying the Core.
flowchart TB
subgraph T1["Tier 1 · Shared Open-Core (100% OSI · isolated by htx_code)"]
KC["Keycloak 24 (OIDC · Multi-Role)"]
APISIX["Apache APISIX (Fail-Closed Gateway)"]
PG["PostgreSQL 16 (core.* + PostGIS + pgvector) + Hasura RLS"]
BUS["dxos-outbox (Go Event Bus) + audit.events (SHA-256)"]
IO["SeaweedFS + ClamAV + Mosquitto MQTT / NGSI-LD Telemetry"]
AI["AI Command Center v2 (Ollama + A7 Intake) + dxos-cli SDK (Go / Python / Node)"]
end
subgraph T2["Tier 2 · 3 Horizontal Apps (Vietnam Cooperative Law 2023)"]
BOOKS["custom-books (No-code dynamic ledgers)"]
FIN["coop-finance (Cooperative accounting & settlements)"]
LEDGER["coop-ledger (Append-only member ledger + VietQR)"]
end
subgraph T3["Tier 3 · 5 Independent Vertical Sector Plugins (install/remove via ./dxos)"]
TEA["tea-core + ocop-dossier / tea-cupping / workshop-hygiene (TS / Python)"]
SHRIMP["shrimp-farm (Go FROM scratch · Coop ST)"]
LYCHEE["lychee-orchard (Go FROM scratch · Coop LN)"]
RICE["rice-coop (Go FROM scratch · Coop MX)"]
DRAGON["dragon-fruit (Go FROM scratch · Coop BT)"]
end
T1 --> T2
T1 --> T3
T3 -.->|"core.outbox & /api/internal/app-core/*"| T2
Licensing Transparency: 100% OSI Core vs Optional Add-ons
- Project license: MIT with full REUSE 3.3 SPDX compliance (
reuse lint+gitleaksenforced in CI). - 100% OSI Core: PostgreSQL 16 (PostgreSQL License), PostGIS (GPL-2.0-or-later), pgvector (PostgreSQL License), Keycloak 24, Apache APISIX 3.19, Hasura 2.51, SeaweedFS 4.50 (Apache-2.0), ClamAV (GPL-2.0), Mosquitto (EPL-2.0), Ollama +
qwen2.5:0.5b(MIT / Apache-2.0), Piper & whisper.cpp (MIT), and custom servicesdxos-outbox,dxos-agent,dxos-telegram,dxos-zalo(MIT). - Optional Non-OSI integrations:
n8n(Sustainable Use License) and external HTTP LLM providers (Groq, OpenAI, Anthropic) are strictly optional; OpenCoop DX-OS boots and operates completely without them. Full inventory: DEPENDENCIES.md.
Quickstart & Verification
# 1. Start the full stack from source (Core + Horizontal Apps + AI + Telemetry)
cp .env.example .env.local
cp docker/.env.local.example docker/.env.local
make platform-up && make web-up
# 2. Seed all 4 independent cooperatives (Tea TC, Shrimp ST, Lychee LN, Rice MX)
make demo-seed && make demo-seed-shrimp && make demo-seed-lychee && make demo-seed-rice
./dxos demo accounts
# 3. Or run prebuilt release images (v1.46.0)
make demo-up OPENTEA_VERSION=1.46.0
# 4. Run headless Core only (no web UI)
make up-headless
Build, Test & Structure Verification
# Validate repository structure & English kebab-case documentation rules
bash scripts/validate-structure.sh
# Run Core Postgres schema split + rollback + Hasura RLS checks
bash scripts/db-integration.sh
# Run multi-sector acceptance (TC, ST, LN, MX isolation + Go scratch plugins)
bash platform/tests/smoke-sectors.sh
# Test 3-language plugin SDK (Go / Python / Node)
pytest platform/cli/tests/test_sdk.py
Key Documentation
- docs/judging-guide.md — OLP PMNM 2026 PoF checklist (50 pts) & 4 verifiable DX-OS commands (Vietnamese).
- docs/demo-and-qa.md — 12-minute single-flow demo script, 3-member ownership map & jury Q&A (Vietnamese).
- docs/product-roadmap-v2.md & ADR 0006 — v2.0 Multi-Cooperative Core architecture.
- CHANGELOG.md — Release history up to
v1.46.0. - CONTRIBUTING.md · SECURITY.md · CODE_OF_CONDUCT.md.
Explore related projects
Loading…