Tier 1
Shared core
- Single sign-on and roles per cooperative.
- Audit log as a hash chain.
Open source · MIT licence · v1.17.0
Keep field journals, trace each tea lot with its QR code, close payment periods for farming households and see the whole cooperative on one dashboard.

The repository's sample story, with sample data.
A Tân Cương plot with a recorded farming history.
Spraying is logged; the system shows 4 of 7 withdrawal days left.
The model's result waits in the queue; an officer confirms the disease.
Lot TC-CHE-A3-001: 24 kg, QR code issued.
The traceability page shows locked information and the plot of origin.


Illustration: the lot's QR code. A buyer scans it to open the traceability page.
The shared core sits at the bottom. Cooperative apps are in the middle. Installed mini-apps are at the top and reach the core through the API gateway. Nothing in the core depends on any app.
Requests to a mini-app: browser → web → API gateway → app.
Reading core data: apps and web → gateway → Hasura.
Tier 1
Tier 2
Tier 3
Each tile is a capability in the repository.
Items needing attention and trends for the manager.
A public page per lot, locked once the QR is issued.
TC-CHE-A3-001QR code · lô đã xuất
Add an app with app.yaml, without changing the core.
id: htx-dashboard version: 0.2.0 requires: { core: ">=1.13.0" } routes: protected: /: [manager] # install: ./dxos install miniapps/htx-dashboard
Readings over MQTT, from the hot store to the cold store.
Android for staff, Windows for the manager.


Data filtered by the cooperative code in the token.
Choose a tab to see a screen. Every image is a screenshot of an app, with sample data. The field journal and the tea leaf disease check have no screenshots in the repository yet; the story above uses labelled illustrations for them.
A mini-app is its own container, installed with ./dxos. The core is not rebuilt.
$ ./dxos install miniapps/htx-dashboard # check the manifest; create the schema and role if the app declares a database; # generate the gateway routes; start the container. If a step fails, the earlier steps are rolled back. # to show the app in the menu, turn it on for the cooperative in the App Store (needs ./dxos worker).
Shortened from miniapps/htx-dashboard/app.yaml (store description block removed).
apiVersion: dxos/v1 id: htx-dashboard name: Bảng điều hành HTX description: "Bảng điều hành biểu đồ cho trưởng HTX: việc cần chú ý, xu hướng so với kỳ trước, sản xuất, cảm biến, sức khoẻ cây, lô chè và vòng đời dữ liệu." version: 0.2.0 license: MIT publisher: OpenTea Developers requires: { core: ">=1.13.0" } runtime: build: . port: 8080 health: /healthz routes: protected: /: [manager] menu: - { label: Bảng điều hành, path: /, roles: [manager] }
A manifest can declare a feed: the app returns a list of sub-apps for each user, for example a record book the manager creates. The web app calls the feed with the user's token and caches the result for 15 seconds.
{"entries": [{"label": "Sổ thu mua", "path": "/books/1", "icon": "leaf", "description": "Ghi chép thu mua"}],
"create": {"label": "Tạo sổ", "path": "/new"}}After make platform-up and make web-up. The commands are listed in docs/miniapps.md and the README.
make platform-up make web-up ./dxos install miniapps/htx-dashboard ./dxos list ./dxos remove htx-dashboard
No host port, read-only files, no internet access.
Every query is filtered by the cooperative code in the token.
Installed apps share one network; install only trusted apps.
MIT licence · version v1.17.0