# abhilasha-sou/booksky architecture

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

- Interactive diagram: https://gitdiagram.com/abhilasha-sou/booksky
- Repository: https://github.com/abhilasha-sou/booksky

## Overview

Booksky is a small browser-based book list: a user opens a popup, enters book details, adds a rendered entry, and can delete entries. The sampled script shows these interactions modify the page DOM; no persistent storage or other backend is evidenced. The HTML file is present in the tree but was not sampled, so UI relationships are based on selectors and event handlers in the script.

Main entry points: [`booksky/script.js`](https://github.com/abhilasha-sou/booksky/blob/master/booksky/script.js) (Page interactions), [`booksky/index.html`](https://github.com/abhilasha-sou/booksky/blob/master/booksky/index.html) (Book page)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_user(("User"))
node_page["Book page<br/>[index.html]"]
node_script["Page interactions<br/>[script.js]"]
node_entries["Book entries<br/>[index.html]"]

node_user -->|"clicks controls"| node_script
node_script -->|"shows popup"| node_page
node_script -->|"adds or removes"| node_entries

click node_page "https://github.com/abhilasha-sou/booksky/blob/master/booksky/index.html"
click node_script "https://github.com/abhilasha-sou/booksky/blob/master/booksky/script.js"
click node_entries "https://github.com/abhilasha-sou/booksky/blob/master/booksky/index.html"

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_user toneBlue
class node_page,node_script,node_entries toneTeal
```

## Components

### Other components

- **User**
- [Book page](https://github.com/abhilasha-sou/booksky/blob/master/booksky/index.html): `booksky/index.html`
- [Page interactions](https://github.com/abhilasha-sou/booksky/blob/master/booksky/script.js): `booksky/script.js`
- [Book entries](https://github.com/abhilasha-sou/booksky/blob/master/booksky/index.html): `booksky/index.html`

## Connections

- User → Page interactions: clicks controls (evidence: `booksky/script.js`)
- Page interactions → Book page: shows popup (evidence: `booksky/script.js`)
- Page interactions → Book entries: adds or removes (evidence: `booksky/script.js`)
