# devranbir/devranbir architecture

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

- Interactive diagram: https://gitdiagram.com/devranbir/devranbir
- Repository: https://github.com/devranbir/devranbir

## Overview

##### Project type and purpose
- This “project” is not an application or library but a GitHub profile README—a static Markdown document used as a personal portfolio/branding page.

##### File structure
- Top-level: only README.md.
- No source directories, no build scripts, no code.
- The “architecture” emerges from the external services that generate and serve images dynamically.

##### README for additional insights
- The document embeds images from services like capsule-render.vercel.app, shields.io, media.giphy.com, skillicons.dev, github-readme-stats.vercel.app, and raw.githubusercontent.com.
- Each badge or graph is an external microservice generating a PNG or SVG on the fly based on query parameters.

##### Detail is key
- Even though there is no codebase, map out every external dependency.
- How adding a new badge (e.g., Discord, Instagram) simply involves a new HTTP call from the client.
- Full chain from Markdown source through GitHub’s rendering pipeline to the end-user display.

## Diagram (Mermaid)

```mermaid
flowchart TD
    %% Client Layer
    Browser["User's Web Browser"]:::client

    %% Static Content Layer
    GitHub["GitHub Markdown Renderer"]:::static
    RawRepo["Raw Markdown Repository"]:::static

    %% Dynamic Microservices
    subgraph "External Microservices"
        capsule["capsule-render.vercel.app"]:::micro
        shields["shields.io"]:::micro
        giphy["media.giphy.com"]:::micro
        skillicons["skillicons.dev"]:::micro
        stats["github-readme-stats.vercel.app"]:::micro
        rawcdn["raw.githubusercontent.com"]:::micro
    end

    %% Data Flow
    Browser -->|"HTTP GET Profile Page"| GitHub
    GitHub -->|"Reads README.md"| RawRepo
    RawRepo -->|"Markdown Content"| GitHub
    GitHub -->|"HTML Response"| Browser

    Browser -->|"GET Hero Image"| capsule
    Browser -->|"GET Social Badges"| shields
    Browser -->|"GET Animated GIFs"| giphy
    Browser -->|"GET Tech Icons"| skillicons
    Browser -->|"GET Stats Graphs"| stats
    Browser -->|"GET Static Dividers"| rawcdn

    %% Click Events
    click RawRepo "https://github.com/devranbir/devranbir/blob/main/README.md"

    %% Styles
    classDef client fill:#c2f0c2,stroke:#333,stroke-width:1px
    classDef static fill:#d9d9d9,stroke:#333,stroke-width:1px
    classDef micro fill:#cce5ff,stroke:#333,stroke-width:1px
```
