# 3132ganesh/verse_clock architecture

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

- Interactive diagram: https://gitdiagram.com/3132ganesh/verse_clock
- Repository: https://github.com/3132ganesh/verse_clock

## Overview

Verse Clock is a browser-based clock and poetry experience. The main workflow is opening the app, viewing a time-based verse that updates each minute, and browsing or copying recent verses. The README also describes visual themes, typing audio, settings, and optional Windows background monitoring. No source excerpts were provided, so component boundaries and relationships below rely on README statements; the HTML file is the documented implementation path for app features.

Main entry points: [`verse-clock.html`](https://github.com/3132ganesh/verse_clock/blob/main/verse-clock.html) (Verse Clock app), [`Downloads/monitor_verse_clock.ps1`](https://github.com/3132ganesh/verse_clock/blob/main/Downloads/monitor_verse_clock.ps1) (Background monitor), [`Downloads/run_verse_clock.ps1`](https://github.com/3132ganesh/verse_clock/blob/main/Downloads/run_verse_clock.ps1) (Launch script)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_verse["Verse generation"]
  node_generation["Poem generation<br/>[verse-clock.html]"]
  node_offline["Offline poetic matrix<br/>[verse-clock.html]"]
  node_settings["Device settings<br/>[verse-clock.html]"]
  node_archive["Verse archive<br/>[verse-clock.html]"]
end

subgraph group_display["Clock and display"]
  node_app["Verse Clock app<br/>[verse-clock.html]"]
  node_clock["Live clock<br/>[verse-clock.html]"]
  node_themes["Hardware themes<br/>[verse-clock.html]"]
  node_typing["Verse typing<br/>[verse-clock.html]"]
  node_audio["Keystroke audio<br/>[verse-clock.html]"]
end

subgraph group_desktop["Windows integration"]
  node_monitor["Background monitor"]
  node_launcher["Launch script"]
end

node_user(("User"))
node_claude{{"Claude API"}}

node_user -->|"opens"| node_app
node_app -->|"displays time"| node_clock
node_app -->|"updates each minute"| node_generation
node_generation -->|"synthesizes verses"| node_offline
node_generation -.->|"generates with"| node_claude
node_app -->|"types verses"| node_typing
node_typing -->|"plays keystrokes"| node_audio
node_app -->|"offers themes"| node_themes
node_user -->|"configures"| node_settings
node_app -->|"archives verses"| node_archive
node_monitor -->|"auto-launches"| node_app
node_user -->|"starts app"| node_launcher

click node_app "https://github.com/3132ganesh/verse_clock/blob/main/verse-clock.html"
click node_clock "https://github.com/3132ganesh/verse_clock/blob/main/verse-clock.html"
click node_themes "https://github.com/3132ganesh/verse_clock/blob/main/verse-clock.html"
click node_typing "https://github.com/3132ganesh/verse_clock/blob/main/verse-clock.html"
click node_audio "https://github.com/3132ganesh/verse_clock/blob/main/verse-clock.html"
click node_generation "https://github.com/3132ganesh/verse_clock/blob/main/verse-clock.html"
click node_offline "https://github.com/3132ganesh/verse_clock/blob/main/verse-clock.html"
click node_settings "https://github.com/3132ganesh/verse_clock/blob/main/verse-clock.html"
click node_archive "https://github.com/3132ganesh/verse_clock/blob/main/verse-clock.html"
click node_monitor "https://github.com/3132ganesh/verse_clock/blob/main/Downloads/monitor_verse_clock.ps1"
click node_launcher "https://github.com/3132ganesh/verse_clock/blob/main/Downloads/run_verse_clock.ps1"

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_generation,node_offline,node_settings,node_archive,node_user toneBlue
class node_app,node_clock,node_themes,node_typing,node_audio toneAmber
class node_monitor,node_launcher,node_claude toneMint
```

## Components

### Verse generation

- [Poem generation](https://github.com/3132ganesh/verse_clock/blob/main/verse-clock.html): `verse-clock.html`
- [Offline poetic matrix](https://github.com/3132ganesh/verse_clock/blob/main/verse-clock.html): `verse-clock.html`
- [Device settings](https://github.com/3132ganesh/verse_clock/blob/main/verse-clock.html): `verse-clock.html`
- [Verse archive](https://github.com/3132ganesh/verse_clock/blob/main/verse-clock.html): `verse-clock.html`

### Clock and display

- [Verse Clock app](https://github.com/3132ganesh/verse_clock/blob/main/verse-clock.html): `verse-clock.html`
- [Live clock](https://github.com/3132ganesh/verse_clock/blob/main/verse-clock.html): `verse-clock.html`
- [Hardware themes](https://github.com/3132ganesh/verse_clock/blob/main/verse-clock.html): `verse-clock.html`
- [Verse typing](https://github.com/3132ganesh/verse_clock/blob/main/verse-clock.html): `verse-clock.html`
- [Keystroke audio](https://github.com/3132ganesh/verse_clock/blob/main/verse-clock.html): `verse-clock.html`

### Windows integration

- [Background monitor](https://github.com/3132ganesh/verse_clock/blob/main/Downloads/monitor_verse_clock.ps1): `Downloads/monitor_verse_clock.ps1`
- [Launch script](https://github.com/3132ganesh/verse_clock/blob/main/Downloads/run_verse_clock.ps1): `Downloads/run_verse_clock.ps1`

### Other components

- **User**
- **Claude API**

## Connections

- User → Verse Clock app: opens (evidence: `README.md`)
- Verse Clock app → Live clock: displays time (evidence: `README.md`)
- Verse Clock app → Poem generation: updates each minute (evidence: `README.md`)
- Poem generation → Offline poetic matrix: synthesizes verses (evidence: `README.md`)
- Poem generation → Claude API: generates with (evidence: `README.md`)
- Verse Clock app → Verse typing: types verses (evidence: `README.md`)
- Verse typing → Keystroke audio: plays keystrokes (evidence: `README.md`)
- Verse Clock app → Hardware themes: offers themes (evidence: `README.md`)
- User → Device settings: configures (evidence: `README.md`)
- Verse Clock app → Verse archive: archives verses (evidence: `README.md`)
- Background monitor → Verse Clock app: auto-launches (evidence: `README.md`)
- User → Launch script: starts app (evidence: `README.md`)
