# bhoomi-chaudhary/species-conserve architecture

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

- Interactive diagram: https://gitdiagram.com/bhoomi-chaudhary/species-conserve
- Repository: https://github.com/bhoomi-chaudhary/species-conserve

## Overview

Species-Conserve is a small static species-awareness site. Visitors browse species by category and can consult the Red List; the sampled JavaScript contains local species records and a search/status filtering path that renders matching cards. The tree indicates additional category pages, while excerpts do not establish how those pages are wired to the script or to one another, so those links are omitted.

Main entry points: [`script.js`](https://github.com/bhoomi-chaudhary/species-conserve/blob/main/script.js) (Search and filter), [`index.html`](https://github.com/bhoomi-chaudhary/species-conserve/blob/main/index.html) (Home page), [`mammals.html`](https://github.com/bhoomi-chaudhary/species-conserve/blob/main/mammals.html) (Mammals), [`birds.html`](https://github.com/bhoomi-chaudhary/species-conserve/blob/main/birds.html) (Birds)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Species browsing"]
  node_home["Home page<br/>[index.html]"]
  node_mammals["Mammals<br/>[mammals.html]"]
  node_birds["Birds<br/>[birds.html]"]
  node_reptiles["Reptiles<br/>[reptiles.html]"]
  node_amphibians["Amphibians<br/>[amphibians.html]"]
  node_fish["Fish<br/>[fish.html]"]
  node_redlist["Red List<br/>[redlist.html]"]
end

subgraph group_runtime["Client runtime"]
  node_species["Species records<br/>[script.js]"]
  node_filter["Search and filter<br/>[script.js]"]
  node_cards["Species cards<br/>[script.js]"]
  node_styles["Presentation styles<br/>[style.css]"]
end

node_visitor(("Visitor"))

node_visitor -.->|"opens"| node_home
node_visitor -.->|"browses"| node_mammals
node_visitor -.->|"browses"| node_birds
node_visitor -.->|"browses"| node_reptiles
node_visitor -.->|"browses"| node_amphibians
node_visitor -.->|"browses"| node_fish
node_visitor -.->|"consults"| node_redlist
node_species -->|"filters"| node_filter
node_filter -->|"renders matches"| node_cards
node_cards -.->|"styled by"| node_styles

click node_home "https://github.com/bhoomi-chaudhary/species-conserve/blob/main/index.html"
click node_mammals "https://github.com/bhoomi-chaudhary/species-conserve/blob/main/mammals.html"
click node_birds "https://github.com/bhoomi-chaudhary/species-conserve/blob/main/birds.html"
click node_reptiles "https://github.com/bhoomi-chaudhary/species-conserve/blob/main/reptiles.html"
click node_amphibians "https://github.com/bhoomi-chaudhary/species-conserve/blob/main/amphibians.html"
click node_fish "https://github.com/bhoomi-chaudhary/species-conserve/blob/main/fish.html"
click node_redlist "https://github.com/bhoomi-chaudhary/species-conserve/blob/main/redlist.html"
click node_species "https://github.com/bhoomi-chaudhary/species-conserve/blob/main/script.js"
click node_filter "https://github.com/bhoomi-chaudhary/species-conserve/blob/main/script.js"
click node_cards "https://github.com/bhoomi-chaudhary/species-conserve/blob/main/script.js"
click node_styles "https://github.com/bhoomi-chaudhary/species-conserve/blob/main/style.css"

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_mammals,node_birds,node_reptiles,node_amphibians,node_fish,node_redlist toneBlue
class node_species,node_filter,node_cards,node_styles toneAmber
class node_visitor toneIndigo
```

## Components

### Species browsing

- [Home page](https://github.com/bhoomi-chaudhary/species-conserve/blob/main/index.html): `index.html`
- [Mammals](https://github.com/bhoomi-chaudhary/species-conserve/blob/main/mammals.html): `mammals.html`
- [Birds](https://github.com/bhoomi-chaudhary/species-conserve/blob/main/birds.html): `birds.html`
- [Reptiles](https://github.com/bhoomi-chaudhary/species-conserve/blob/main/reptiles.html): `reptiles.html`
- [Amphibians](https://github.com/bhoomi-chaudhary/species-conserve/blob/main/amphibians.html): `amphibians.html`
- [Fish](https://github.com/bhoomi-chaudhary/species-conserve/blob/main/fish.html): `fish.html`
- [Red List](https://github.com/bhoomi-chaudhary/species-conserve/blob/main/redlist.html): `redlist.html`

### Client runtime

- [Species records](https://github.com/bhoomi-chaudhary/species-conserve/blob/main/script.js): `script.js`
- [Search and filter](https://github.com/bhoomi-chaudhary/species-conserve/blob/main/script.js): `script.js`
- [Species cards](https://github.com/bhoomi-chaudhary/species-conserve/blob/main/script.js): `script.js`
- [Presentation styles](https://github.com/bhoomi-chaudhary/species-conserve/blob/main/style.css): `style.css`

### Other components

- **Visitor**

## Connections

- Visitor → Home page: opens
- Visitor → Mammals: browses
- Visitor → Birds: browses
- Visitor → Reptiles: browses
- Visitor → Amphibians: browses
- Visitor → Fish: browses
- Visitor → Red List: consults
- Species records → Search and filter: filters (evidence: `script.js`)
- Search and filter → Species cards: renders matches (evidence: `script.js`)
- Species cards → Presentation styles: styled by
