# lfl0218vincent-alt/notype architecture

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

- Interactive diagram: https://gitdiagram.com/lfl0218vincent-alt/notype
- Repository: https://github.com/lfl0218vincent-alt/notype

## Overview

Notype is a macOS voice-input and writing assistant, but this repository contains its public installation and configuration materials—not the application’s development source. The documented workflow is: the user speaks or requests a writing action, Notype uses configured online services or local recognition, and presents text for review or insertion without automatically sending it. The graph reflects documented capabilities and data flows only; implementation-level calls cannot be verified from the available files.

Main entry points: [`README.md`](https://github.com/lfl0218vincent-alt/notype/blob/main/README.md) (Contextual replies), [`INSTALL.md`](https://github.com/lfl0218vincent-alt/notype/blob/main/INSTALL.md) (App installation), [`API-SETUP.md`](https://github.com/lfl0218vincent-alt/notype/blob/main/API-SETUP.md) (API configuration)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_input["Input and writing"]
  node_app["Notype app<br/>[README.md]"]
  node_voice["Voice capture<br/>[README.md]"]
  node_writing["Text processing<br/>[README.md]"]
  node_insertion["Text insertion<br/>[README.md]"]
  node_selection["Selected text tools<br/>[README.md]"]
  node_quickreply["Contextual replies<br/>[README.md]"]
end

subgraph group_context["Context and learning"]
  node_chatcontext["Loaded chat context<br/>[README.md]"]
  node_accessibility["Accessibility reading<br/>[README.md]"]
  node_wechatocr["WeChat local OCR<br/>[README.md]"]
  node_english["English learning<br/>[README.md]"]
end

subgraph group_local["Local data and settings"]
  node_history[("Local history<br/>[README.md]")]
  node_dictionary[("Personal dictionary<br/>[README.md]")]
  node_usage["Usage calendar<br/>[README.md]"]
  node_keychain[("API key storage<br/>[README.md]")]
end

subgraph group_setup["Installation and services"]
  node_speech{{"Speech service"}}
  node_textservice{{"Text service"}}
  node_installer["App installation<br/>[INSTALL.md]"]
  node_api_setup["API configuration<br/>[API-SETUP.md]"]
  node_update["App updater<br/>[README.md]"]
  node_provider{{"Configured providers"}}
end

node_user(("Mac user"))

node_user -->|"speaks"| node_voice
node_voice -->|"sends audio"| node_speech
node_speech -->|"returns transcript"| node_writing
node_user -->|"requests translation"| node_writing
node_writing -->|"sends text"| node_textservice
node_textservice -->|"returns result"| node_insertion
node_insertion -->|"presents for review"| node_user
node_user -->|"selects text"| node_selection
node_selection -->|"sends selection"| node_textservice
node_user -->|"requests reply"| node_quickreply
node_quickreply -->|"reads messages"| node_accessibility
node_accessibility -->|"provides context"| node_chatcontext
node_quickreply -->|"uses for WeChat"| node_wechatocr
node_wechatocr -->|"provides recognized text"| node_chatcontext
node_quickreply -->|"sends context"| node_textservice
node_user -->|"retains records"| node_history
node_user -->|"manages entries"| node_dictionary
node_history -->|"supplies records"| node_english
node_english -->|"sends learning data"| node_textservice
node_user -->|"views usage"| node_usage
node_user -->|"stores key"| node_keychain
node_api_setup -->|"configures"| node_provider
node_provider -->|"provides recognition"| node_speech
node_provider -->|"provides text API"| node_textservice
node_installer -->|"installs"| node_app
node_app -->|"offers updates"| node_update

click node_app "https://github.com/lfl0218vincent-alt/notype/blob/main/README.md"
click node_voice "https://github.com/lfl0218vincent-alt/notype/blob/main/README.md"
click node_writing "https://github.com/lfl0218vincent-alt/notype/blob/main/README.md"
click node_insertion "https://github.com/lfl0218vincent-alt/notype/blob/main/README.md"
click node_selection "https://github.com/lfl0218vincent-alt/notype/blob/main/README.md"
click node_quickreply "https://github.com/lfl0218vincent-alt/notype/blob/main/README.md"
click node_chatcontext "https://github.com/lfl0218vincent-alt/notype/blob/main/README.md"
click node_accessibility "https://github.com/lfl0218vincent-alt/notype/blob/main/README.md"
click node_wechatocr "https://github.com/lfl0218vincent-alt/notype/blob/main/README.md"
click node_history "https://github.com/lfl0218vincent-alt/notype/blob/main/README.md"
click node_dictionary "https://github.com/lfl0218vincent-alt/notype/blob/main/README.md"
click node_english "https://github.com/lfl0218vincent-alt/notype/blob/main/README.md"
click node_usage "https://github.com/lfl0218vincent-alt/notype/blob/main/README.md"
click node_keychain "https://github.com/lfl0218vincent-alt/notype/blob/main/README.md"
click node_installer "https://github.com/lfl0218vincent-alt/notype/blob/main/INSTALL.md"
click node_api_setup "https://github.com/lfl0218vincent-alt/notype/blob/main/API-SETUP.md"
click node_update "https://github.com/lfl0218vincent-alt/notype/blob/main/README.md"

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_app,node_voice,node_writing,node_insertion,node_selection,node_quickreply,node_user toneBlue
class node_chatcontext,node_accessibility,node_wechatocr,node_english toneAmber
class node_history,node_dictionary,node_usage,node_keychain toneMint
class node_speech,node_textservice,node_installer,node_api_setup,node_update,node_provider toneRose
```

## Components

### Input and writing

- [Notype app](https://github.com/lfl0218vincent-alt/notype/blob/main/README.md): `README.md`
- [Voice capture](https://github.com/lfl0218vincent-alt/notype/blob/main/README.md): `README.md`
- [Text processing](https://github.com/lfl0218vincent-alt/notype/blob/main/README.md): `README.md`
- [Text insertion](https://github.com/lfl0218vincent-alt/notype/blob/main/README.md): `README.md`
- [Selected text tools](https://github.com/lfl0218vincent-alt/notype/blob/main/README.md): `README.md`
- [Contextual replies](https://github.com/lfl0218vincent-alt/notype/blob/main/README.md): `README.md`

### Context and learning

- [Loaded chat context](https://github.com/lfl0218vincent-alt/notype/blob/main/README.md): `README.md`
- [Accessibility reading](https://github.com/lfl0218vincent-alt/notype/blob/main/README.md): `README.md`
- [WeChat local OCR](https://github.com/lfl0218vincent-alt/notype/blob/main/README.md): `README.md`
- [English learning](https://github.com/lfl0218vincent-alt/notype/blob/main/README.md): `README.md`

### Local data and settings

- [Local history](https://github.com/lfl0218vincent-alt/notype/blob/main/README.md): `README.md`
- [Personal dictionary](https://github.com/lfl0218vincent-alt/notype/blob/main/README.md): `README.md`
- [Usage calendar](https://github.com/lfl0218vincent-alt/notype/blob/main/README.md): `README.md`
- [API key storage](https://github.com/lfl0218vincent-alt/notype/blob/main/README.md): `README.md`

### Installation and services

- **Speech service**
- **Text service**
- [App installation](https://github.com/lfl0218vincent-alt/notype/blob/main/INSTALL.md): `INSTALL.md`
- [API configuration](https://github.com/lfl0218vincent-alt/notype/blob/main/API-SETUP.md): `API-SETUP.md`
- [App updater](https://github.com/lfl0218vincent-alt/notype/blob/main/README.md): `README.md`
- **Configured providers**

### Other components

- **Mac user**

## Connections

- Mac user → Voice capture: speaks (evidence: `README.md`)
- Voice capture → Speech service: sends audio (evidence: `README.md`)
- Speech service → Text processing: returns transcript (evidence: `README.md`)
- Mac user → Text processing: requests translation (evidence: `README.md`)
- Text processing → Text service: sends text (evidence: `README.md`)
- Text service → Text insertion: returns result (evidence: `README.md`)
- Text insertion → Mac user: presents for review (evidence: `README.md`)
- Mac user → Selected text tools: selects text (evidence: `README.md`)
- Selected text tools → Text service: sends selection (evidence: `README.md`)
- Mac user → Contextual replies: requests reply (evidence: `README.md`)
- Contextual replies → Accessibility reading: reads messages (evidence: `README.md`)
- Accessibility reading → Loaded chat context: provides context (evidence: `README.md`)
- Contextual replies → WeChat local OCR: uses for WeChat (evidence: `README.md`)
- WeChat local OCR → Loaded chat context: provides recognized text (evidence: `README.md`)
- Contextual replies → Text service: sends context (evidence: `README.md`)
- Mac user → Local history: retains records (evidence: `README.md`)
- Mac user → Personal dictionary: manages entries (evidence: `README.md`)
- Local history → English learning: supplies records (evidence: `README.md`)
- English learning → Text service: sends learning data (evidence: `README.md`)
- Mac user → Usage calendar: views usage (evidence: `README.md`)
- Mac user → API key storage: stores key (evidence: `README.md`)
- API configuration → Configured providers: configures
- Configured providers → Speech service: provides recognition (evidence: `README.md`)
- Configured providers → Text service: provides text API (evidence: `README.md`)
- App installation → Notype app: installs
- Notype app → App updater: offers updates (evidence: `README.md`)
