# lambdadeltaaa/slate architecture

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

- Interactive diagram: https://gitdiagram.com/lambdadeltaaa/slate
- Repository: https://github.com/lambdadeltaaa/slate

## Overview

Slate is a browser new-tab/home page whose main user flow is opening the page, then using its search bar to search or dispatch a shortcut; users can also use pinned bookmarks and view clock/weather information. The README identifies `index.html` as the product implementation, but its source was not excerpted, so UI internals and most interactions are represented at the documented feature level. Search suggestions are served by the separate Worker, whose request handling and Google fetch are visible in source.

Main entry points: [`index.html`](https://github.com/lambdadeltaaa/slate/blob/main/index.html) (Search and commands), [`search-hint/src/index.ts`](https://github.com/lambdadeltaaa/slate/blob/main/search-hint/src/index.ts) (Suggestion Worker)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_page["Home page"]
  node_home["Slate home page<br/>[index.html]"]
  node_clockweather["Clock and weather<br/>[index.html]"]
  node_searchbar["Search and commands<br/>[index.html]"]
  node_pins["Bookmark pins<br/>[index.html]"]
end

subgraph group_suggestions["Suggestion service"]
  node_worker["Suggestion Worker<br/>[index.ts]"]
end

subgraph group_destinations["Search destinations"]
  node_googlehint["Google suggestions"]
  node_googleweb["Google search"]
  node_youtube["YouTube search"]
  node_github["GitHub links"]
  node_chatgpt["ChatGPT"]
  node_claude["Claude"]
  node_localhost["Localhost pages"]
end

node_browser(("Browser user"))

node_browser -->|"opens"| node_home
node_home -->|"shows"| node_clockweather
node_home -->|"provides"| node_searchbar
node_home -->|"provides"| node_pins
node_searchbar -->|"requests suggestions"| node_worker
node_worker -->|"fetches suggestions"| node_googlehint
node_worker -->|"returns suggestions"| node_searchbar
node_searchbar -->|"searches"| node_googleweb
node_searchbar -->|"searches"| node_youtube
node_searchbar -->|"opens link"| node_github
node_searchbar -->|"starts conversation"| node_chatgpt
node_searchbar -->|"starts conversation"| node_claude
node_searchbar -->|"opens port"| node_localhost
node_browser -->|"opens numbered pin"| node_pins

click node_home "https://github.com/lambdadeltaaa/slate/blob/main/index.html"
click node_clockweather "https://github.com/lambdadeltaaa/slate/blob/main/index.html"
click node_searchbar "https://github.com/lambdadeltaaa/slate/blob/main/index.html"
click node_pins "https://github.com/lambdadeltaaa/slate/blob/main/index.html"
click node_worker "https://github.com/lambdadeltaaa/slate/blob/main/search-hint/src/index.ts"

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_home,node_clockweather,node_searchbar,node_pins,node_browser toneBlue
class node_worker toneAmber
class node_googlehint,node_googleweb,node_youtube,node_github,node_chatgpt,node_claude,node_localhost toneMint
```

## Components

### Home page

- [Slate home page](https://github.com/lambdadeltaaa/slate/blob/main/index.html): `index.html`
- [Clock and weather](https://github.com/lambdadeltaaa/slate/blob/main/index.html): `index.html`
- [Search and commands](https://github.com/lambdadeltaaa/slate/blob/main/index.html): `index.html`
- [Bookmark pins](https://github.com/lambdadeltaaa/slate/blob/main/index.html): `index.html`

### Suggestion service

- [Suggestion Worker](https://github.com/lambdadeltaaa/slate/blob/main/search-hint/src/index.ts): `search-hint/src/index.ts`

### Search destinations

- **Google suggestions**
- **Google search**
- **YouTube search**
- **GitHub links**
- **ChatGPT**
- **Claude**
- **Localhost pages**

### Other components

- **Browser user**

## Connections

- Browser user → Slate home page: opens (evidence: `README.md`)
- Slate home page → Clock and weather: shows (evidence: `README.md`)
- Slate home page → Search and commands: provides (evidence: `README.md`)
- Slate home page → Bookmark pins: provides (evidence: `README.md`)
- Search and commands → Suggestion Worker: requests suggestions (evidence: `README.md`)
- Suggestion Worker → Google suggestions: fetches suggestions (evidence: `search-hint/src/index.ts`)
- Suggestion Worker → Search and commands: returns suggestions (evidence: `README.md`)
- Search and commands → Google search: searches (evidence: `README.md`)
- Search and commands → YouTube search: searches (evidence: `README.md`)
- Search and commands → GitHub links: opens link (evidence: `README.md`)
- Search and commands → ChatGPT: starts conversation (evidence: `README.md`)
- Search and commands → Claude: starts conversation (evidence: `README.md`)
- Search and commands → Localhost pages: opens port (evidence: `README.md`)
- Browser user → Bookmark pins: opens numbered pin (evidence: `README.md`)
