# raantss18/mahay architecture

> Architecture diagram of the GitHub repository raantss18/mahay, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-20). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/raantss18/mahay
- Repository: https://github.com/raantss18/mahay

## Overview

Mahay is a native Rust suite of 14 creative and office apps, with Mahay HUB as its installer, launcher and update manager. The main user workflow is to install apps through HUB, open a local document in the appropriate app, and save changes back to the device. The graph preserves the distinct app domains and Android’s background update service. Most app internals were not sampled, so relationships between apps and detailed processing stages are not inferred.

Main entry points: [`apps/hub/apps/hub/src/main.rs`](https://github.com/raantss18/mahay/blob/main/apps/hub/apps/hub/src/main.rs) (Mahay HUB), [`android/shell/src/main/java/org/mahay/shell/UpdateJobService.java`](https://github.com/raantss18/mahay/blob/main/android/shell/src/main/java/org/mahay/shell/UpdateJobService.java) (Android updater), [`apps/soratra/apps/soratra/src/main.rs`](https://github.com/raantss18/mahay/blob/main/apps/soratra/apps/soratra/src/main.rs) (Soratra word processing), [`apps/tabilao/apps/tabilao-cli/src/main.rs`](https://github.com/raantss18/mahay/blob/main/apps/tabilao/apps/tabilao-cli/src/main.rs) (Tabilao spreadsheets)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_hub["Hub and updates"]
  node_hub_app["Mahay HUB<br/>[main.rs]"]
  node_android_updates["Android updater"]
end

subgraph group_office["Office and documents"]
  node_soratra["Soratra word processing<br/>[main.rs]"]
  node_tabilao["Tabilao spreadsheets<br/>[main.rs]"]
  node_seho["Seho presentations<br/>[main.rs]"]
  node_taratasy["Taratasy PDF<br/>[main.rs]"]
end

subgraph group_design["Design and drawing"]
  node_pejy["Pejy page layout<br/>[main.rs]"]
  node_endrika["Endrika interface design<br/>[change.rs]"]
  node_drafitra["Drafitra CAD<br/>[canvas.rs]"]
  node_tsilo["Tsilo vector illustration<br/>[main.rs]"]
end

subgraph group_media["Creative media"]
  node_sary["Sary image editing<br/>[engine_data.rs]"]
  node_hazavana["Hazavana photo library<br/>[main.rs]"]
  node_feo["Feo audio<br/>[main.rs]"]
  node_hetsika["Hetsika video editing<br/>[project_manager.rs]"]
  node_tselatra["Tselatra motion graphics<br/>[pipeline.rs]"]
end

node_user(("User"))
node_release["Release service"]

node_user -->|"installs and opens"| node_hub_app
node_hub_app -->|"manages updates"| node_android_updates
node_android_updates -->|"checks and downloads"| node_release
node_hub_app -->|"checks releases"| node_release
node_user -->|"opens documents"| node_soratra
node_user -->|"opens spreadsheets"| node_tabilao
node_user -->|"opens presentations"| node_seho
node_user -->|"opens PDFs"| node_taratasy
node_user -->|"lays out pages"| node_pejy
node_user -->|"designs interfaces"| node_endrika
node_user -->|"draws CAD"| node_drafitra
node_user -->|"draws vectors"| node_tsilo
node_user -->|"edits images"| node_sary
node_user -->|"develops photos"| node_hazavana
node_user -->|"edits audio"| node_feo
node_user -->|"edits video"| node_hetsika
node_user -->|"creates effects"| node_tselatra

click node_hub_app "https://github.com/raantss18/mahay/blob/main/apps/hub/apps/hub/src/main.rs"
click node_android_updates "https://github.com/raantss18/mahay/blob/main/android/shell/src/main/java/org/mahay/shell/UpdateJobService.java"
click node_soratra "https://github.com/raantss18/mahay/blob/main/apps/soratra/apps/soratra/src/main.rs"
click node_tabilao "https://github.com/raantss18/mahay/blob/main/apps/tabilao/apps/tabilao-cli/src/main.rs"
click node_seho "https://github.com/raantss18/mahay/blob/main/apps/seho/apps/seho-cli/src/main.rs"
click node_taratasy "https://github.com/raantss18/mahay/blob/main/apps/taratasy/apps/taratasy/src/main.rs"
click node_pejy "https://github.com/raantss18/mahay/blob/main/apps/pejy/apps/pejy/src/main.rs"
click node_endrika "https://github.com/raantss18/mahay/blob/main/apps/endrika/crates/collab/src/change.rs"
click node_drafitra "https://github.com/raantss18/mahay/blob/main/apps/drafitra/crates/ui-egui/src/canvas.rs"
click node_tsilo "https://github.com/raantss18/mahay/blob/main/apps/tsilo/apps/tsilo/src/main.rs"
click node_sary "https://github.com/raantss18/mahay/blob/main/apps/sary/crates/text/src/engine_data.rs"
click node_hazavana "https://github.com/raantss18/mahay/blob/main/apps/hazavana/apps/hazavana/src/main.rs"
click node_feo "https://github.com/raantss18/mahay/blob/main/apps/feo/apps/feo/src/main.rs"
click node_hetsika "https://github.com/raantss18/mahay/blob/main/apps/hetsika/crates/engine/src/project_manager.rs"
click node_tselatra "https://github.com/raantss18/mahay/blob/main/apps/tselatra/crates/export/src/pipeline.rs"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_hub_app,node_android_updates,node_user toneBlue
class node_soratra,node_tabilao,node_seho,node_taratasy toneAmber
class node_pejy,node_endrika,node_drafitra,node_tsilo toneMint
class node_sary,node_hazavana,node_feo,node_hetsika,node_tselatra toneRose
class node_release toneIndigo
```

## Components

### Hub and updates

- [Mahay HUB](https://github.com/raantss18/mahay/blob/main/apps/hub/apps/hub/src/main.rs): `apps/hub/apps/hub/src/main.rs`
- [Android updater](https://github.com/raantss18/mahay/blob/main/android/shell/src/main/java/org/mahay/shell/UpdateJobService.java): `android/shell/src/main/java/org/mahay/shell/UpdateJobService.java`

### Office and documents

- [Soratra word processing](https://github.com/raantss18/mahay/blob/main/apps/soratra/apps/soratra/src/main.rs): `apps/soratra/apps/soratra/src/main.rs`
- [Tabilao spreadsheets](https://github.com/raantss18/mahay/blob/main/apps/tabilao/apps/tabilao-cli/src/main.rs): `apps/tabilao/apps/tabilao-cli/src/main.rs`
- [Seho presentations](https://github.com/raantss18/mahay/blob/main/apps/seho/apps/seho-cli/src/main.rs): `apps/seho/apps/seho-cli/src/main.rs`
- [Taratasy PDF](https://github.com/raantss18/mahay/blob/main/apps/taratasy/apps/taratasy/src/main.rs): `apps/taratasy/apps/taratasy/src/main.rs`

### Design and drawing

- [Pejy page layout](https://github.com/raantss18/mahay/blob/main/apps/pejy/apps/pejy/src/main.rs): `apps/pejy/apps/pejy/src/main.rs`
- [Endrika interface design](https://github.com/raantss18/mahay/blob/main/apps/endrika/crates/collab/src/change.rs): `apps/endrika/crates/collab/src/change.rs`
- [Drafitra CAD](https://github.com/raantss18/mahay/blob/main/apps/drafitra/crates/ui-egui/src/canvas.rs): `apps/drafitra/crates/ui-egui/src/canvas.rs`
- [Tsilo vector illustration](https://github.com/raantss18/mahay/blob/main/apps/tsilo/apps/tsilo/src/main.rs): `apps/tsilo/apps/tsilo/src/main.rs`

### Creative media

- [Sary image editing](https://github.com/raantss18/mahay/blob/main/apps/sary/crates/text/src/engine_data.rs): `apps/sary/crates/text/src/engine_data.rs`
- [Hazavana photo library](https://github.com/raantss18/mahay/blob/main/apps/hazavana/apps/hazavana/src/main.rs): `apps/hazavana/apps/hazavana/src/main.rs`
- [Feo audio](https://github.com/raantss18/mahay/blob/main/apps/feo/apps/feo/src/main.rs): `apps/feo/apps/feo/src/main.rs`
- [Hetsika video editing](https://github.com/raantss18/mahay/blob/main/apps/hetsika/crates/engine/src/project_manager.rs): `apps/hetsika/crates/engine/src/project_manager.rs`
- [Tselatra motion graphics](https://github.com/raantss18/mahay/blob/main/apps/tselatra/crates/export/src/pipeline.rs): `apps/tselatra/crates/export/src/pipeline.rs`

### Other components

- **User**
- **Release service**

## Connections

- User → Mahay HUB: installs and opens (evidence: `README.md`)
- Mahay HUB → Android updater: manages updates (evidence: `README.md`)
- Android updater → Release service: checks and downloads (evidence: `README.md`)
- Mahay HUB → Release service: checks releases (evidence: `README.md`)
- User → Soratra word processing: opens documents (evidence: `README.md`)
- User → Tabilao spreadsheets: opens spreadsheets (evidence: `README.md`)
- User → Seho presentations: opens presentations (evidence: `README.md`)
- User → Taratasy PDF: opens PDFs (evidence: `README.md`)
- User → Pejy page layout: lays out pages (evidence: `README.md`)
- User → Endrika interface design: designs interfaces (evidence: `README.md`)
- User → Drafitra CAD: draws CAD (evidence: `README.md`)
- User → Tsilo vector illustration: draws vectors (evidence: `README.md`)
- User → Sary image editing: edits images (evidence: `README.md`)
- User → Hazavana photo library: develops photos (evidence: `README.md`)
- User → Feo audio: edits audio (evidence: `README.md`)
- User → Hetsika video editing: edits video (evidence: `README.md`)
- User → Tselatra motion graphics: creates effects (evidence: `README.md`)
