# koteswararao200620-ai/todolist architecture

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

- Interactive diagram: https://gitdiagram.com/koteswararao200620-ai/todolist
- Repository: https://github.com/koteswararao200620-ai/todolist

## Overview

Dayflow is a browser-based daily task and habit tracker. Users add tasks through natural-language quick entry or task dialogs, manage recurring habits and subtasks, and review progress, priorities, and consistency. The single JavaScript application also supplies Pomodoro focus, reminders, themes, keyboard shortcuts, and JSON/CSV exports. Task state is persisted in browser localStorage; an optional Python server serves the static app on localhost. The app.js excerpt is partial, so edges below are limited to relationships documented in the README or visible in the excerpts.

Main entry points: [`app.js`](https://github.com/koteswararao200620-ai/todolist/blob/main/app.js) (Task and habit app), [`index.html`](https://github.com/koteswararao200620-ai/todolist/blob/main/index.html) (Dayflow dashboard), [`server.py`](https://github.com/koteswararao200620-ai/todolist/blob/main/server.py) (Local HTTP server)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_experience["Daily planning"]
  node_web["Dayflow dashboard<br/>[index.html]"]
  node_app["Task and habit app<br/>[app.js]"]
  node_quick["Natural-language quick entry<br/>[app.js]"]
  node_task["Tasks and subtasks<br/>[app.js]"]
  node_rollover["Daily habit rollover<br/>[app.js]"]
  node_priority["Priority matrix<br/>[app.js]"]
  node_theme["Theme and shortcuts<br/>[app.js]"]
end

subgraph group_insights["Progress and insights"]
  node_progress["Progress and consistency<br/>[app.js]"]
  node_export["JSON and CSV export<br/>[app.js]"]
end

subgraph group_focus["Focus and reminders"]
  node_pomodoro["Pomodoro timer<br/>[app.js]"]
  node_notifications["Task notifications<br/>[app.js]"]
  node_audio["Audio alerts<br/>[app.js]"]
end

subgraph group_runtime["Browser runtime"]
  node_storage[("Browser localStorage")]
  node_notification_api["Browser Notification API"]
  node_audio_api["Web Audio API"]
  node_server["Local HTTP server<br/>[server.py]"]
end

node_person(("User"))
node_browser(("Browser"))

node_person -->|"uses"| node_web
node_web -.->|"loads"| node_app
node_app -->|"handles entry"| node_quick
node_quick -->|"creates tasks"| node_task
node_app -->|"manages"| node_task
node_app -.->|"runs rollover"| node_rollover
node_app -.->|"shows priorities"| node_priority
node_app -->|"updates"| node_progress
node_app -->|"controls"| node_pomodoro
node_app -.->|"sends"| node_notifications
node_notifications -.->|"uses"| node_notification_api
node_app -->|"plays"| node_audio
node_audio -->|"synthesizes with"| node_audio_api
node_app -.->|"supports"| node_theme
node_app -->|"exports"| node_export
node_app -.->|"persists state"| node_storage
node_person -->|"starts"| node_server
node_server -->|"opens app"| node_browser
node_browser -->|"requests"| node_web

click node_web "https://github.com/koteswararao200620-ai/todolist/blob/main/index.html"
click node_app "https://github.com/koteswararao200620-ai/todolist/blob/main/app.js"
click node_quick "https://github.com/koteswararao200620-ai/todolist/blob/main/app.js"
click node_task "https://github.com/koteswararao200620-ai/todolist/blob/main/app.js"
click node_rollover "https://github.com/koteswararao200620-ai/todolist/blob/main/app.js"
click node_priority "https://github.com/koteswararao200620-ai/todolist/blob/main/app.js"
click node_progress "https://github.com/koteswararao200620-ai/todolist/blob/main/app.js"
click node_export "https://github.com/koteswararao200620-ai/todolist/blob/main/app.js"
click node_pomodoro "https://github.com/koteswararao200620-ai/todolist/blob/main/app.js"
click node_notifications "https://github.com/koteswararao200620-ai/todolist/blob/main/app.js"
click node_audio "https://github.com/koteswararao200620-ai/todolist/blob/main/app.js"
click node_theme "https://github.com/koteswararao200620-ai/todolist/blob/main/app.js"
click node_server "https://github.com/koteswararao200620-ai/todolist/blob/main/server.py"

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_web,node_app,node_quick,node_task,node_rollover,node_priority,node_theme,node_person,node_browser toneBlue
class node_progress,node_export toneAmber
class node_pomodoro,node_notifications,node_audio toneMint
class node_storage,node_notification_api,node_audio_api,node_server toneRose
```

## Components

### Daily planning

- [Dayflow dashboard](https://github.com/koteswararao200620-ai/todolist/blob/main/index.html): `index.html`
- [Task and habit app](https://github.com/koteswararao200620-ai/todolist/blob/main/app.js): `app.js`
- [Natural-language quick entry](https://github.com/koteswararao200620-ai/todolist/blob/main/app.js): `app.js`
- [Tasks and subtasks](https://github.com/koteswararao200620-ai/todolist/blob/main/app.js): `app.js`
- [Daily habit rollover](https://github.com/koteswararao200620-ai/todolist/blob/main/app.js): `app.js`
- [Priority matrix](https://github.com/koteswararao200620-ai/todolist/blob/main/app.js): `app.js`
- [Theme and shortcuts](https://github.com/koteswararao200620-ai/todolist/blob/main/app.js): `app.js`

### Progress and insights

- [Progress and consistency](https://github.com/koteswararao200620-ai/todolist/blob/main/app.js): `app.js`
- [JSON and CSV export](https://github.com/koteswararao200620-ai/todolist/blob/main/app.js): `app.js`

### Focus and reminders

- [Pomodoro timer](https://github.com/koteswararao200620-ai/todolist/blob/main/app.js): `app.js`
- [Task notifications](https://github.com/koteswararao200620-ai/todolist/blob/main/app.js): `app.js`
- [Audio alerts](https://github.com/koteswararao200620-ai/todolist/blob/main/app.js): `app.js`

### Browser runtime

- **Browser localStorage**
- **Browser Notification API**
- **Web Audio API**
- [Local HTTP server](https://github.com/koteswararao200620-ai/todolist/blob/main/server.py): `server.py`

### Other components

- **User**
- **Browser**

## Connections

- User → Dayflow dashboard: uses (evidence: `README.md`)
- Dayflow dashboard → Task and habit app: loads
- Task and habit app → Natural-language quick entry: handles entry (evidence: `app.js`)
- Natural-language quick entry → Tasks and subtasks: creates tasks (evidence: `app.js`)
- Task and habit app → Tasks and subtasks: manages (evidence: `app.js`)
- Task and habit app → Daily habit rollover: runs rollover (evidence: `README.md`)
- Task and habit app → Priority matrix: shows priorities (evidence: `README.md`)
- Task and habit app → Progress and consistency: updates (evidence: `app.js`)
- Task and habit app → Pomodoro timer: controls (evidence: `app.js`)
- Task and habit app → Task notifications: sends (evidence: `README.md`)
- Task notifications → Browser Notification API: uses (evidence: `README.md`)
- Task and habit app → Audio alerts: plays (evidence: `app.js`)
- Audio alerts → Web Audio API: synthesizes with (evidence: `app.js`)
- Task and habit app → Theme and shortcuts: supports (evidence: `README.md`)
- Task and habit app → JSON and CSV export: exports (evidence: `app.js`)
- Task and habit app → Browser localStorage: persists state (evidence: `README.md`)
- User → Local HTTP server: starts (evidence: `README.md`)
- Local HTTP server → Browser: opens app (evidence: `server.py`)
- Browser → Dayflow dashboard: requests
