Frontend and backend for the Matou Indigenous Identity Protocol.
- Go 1.21+ (backend)
- Node.js 18+ and pnpm (frontend)
- matou-infrastructure repo cloned as a sibling directory (for local infrastructure)
matou-app/
├── frontend/ # Quasar/Vue.js + Electron app
├── backend/ # Go API server
└── README.md
git clone <matou-infrastructure-url> matou-infrastructure
git clone <matou-app-url> matou-appcd matou-infrastructure
make up
make healthcd matou-app/backend
cp config/client-host.yml config/client.yml # Copy any-sync client config
go build ./cmd/server
./bin/serverThe backend reads config/client.yml for any-sync connection settings by default. Override with the MATOU_ANYSYNC_CONFIG env var to point elsewhere.
cd matou-app/frontend
pnpm install
pnpm dev # Web dev server
# or
pnpm dev:electron # Electron dev modecd backend
make testIntegration tests need the infrastructure running. Set the env vars pointing to your matou-infrastructure clone:
export MATOU_ANYSYNC_INFRA_DIR=../../matou-infrastructure/any-sync
export MATOU_KERI_INFRA_DIR=../../matou-infrastructure/keri
cd backend
make test-integrationOr use the Makefile testnet targets (defaults to sibling matou-infrastructure dir):
cd backend
make testnet-up # Start test network
make test-integration # Run integration tests
make testnet-down # Stop test networkOverride the infrastructure location:
make testnet-up ANYSYNC_INFRA_DIR=/path/to/matou-infrastructure/any-synccd frontend
pnpm test:e2eThe backend and frontend connect to infrastructure entirely over the network. To use a remote infrastructure server:
- Backend: Edit
backend/config/client.ymlto replace127.0.0.1addresses with the remote server's address - Frontend: Set
VITE_KERIA_ADMIN_URL,VITE_KERIA_BOOT_URL,VITE_KERIA_CESR_URLinfrontend/.envto point to the remote server
See docs/manual-deployment.md for instructions on building and releasing the desktop app for Linux, macOS, and Windows from your own machine
See docs/automated-deployment.md for instructions on building and releasing automatically using GitHub workflows.
See docs/RELEASE_OBSERVABILITY.md to answer "did the build for tag vX.Y.Z run, and where?" — where release builds actually run and how to check them.
The Android app is a Capacitor shell around the same Quasar frontend, with the Go backend embedded via gomobile (it runs in-process and listens on loopback). See docs/mobile/ANDROID.md for the toolchain, build, and emulator notes.
scripts/android/setup-toolchain.sh # one-time: JDK 21, Android SDK/NDK, gomobile (~2.9 GB in ~/.matou-android)
cd backend && make build-android-aar # gomobile bind → frontend/src-capacitor/android/app/libs/matou.aar
scripts/android/build-apk.sh # Quasar Capacitor build → frontend/dist/capacitor/android/apk/debug/app-debug.apk
scripts/android/build-aab.sh # signed release bundle for Play → frontend/dist/capacitor/android/bundle/release/app-release.aab (docs/mobile/PLAY_STORE.md)| Variable | Description | Default |
|---|---|---|
MATOU_ANYSYNC_CONFIG |
Path to any-sync client config | config/client.yml |
MATOU_ANYSYNC_INFRA_DIR |
Path to any-sync infrastructure (for integration tests) | - |
MATOU_KERI_INFRA_DIR |
Path to KERI infrastructure (for integration tests) | - |
MATOU_ENV |
Environment mode (test for isolated data) |
- |
MATOU_SMTP_HOST |
SMTP relay host | localhost |
MATOU_SMTP_PORT |
SMTP relay port | 2525 |