# 0xinfection/awesome-waf architecture

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

- Interactive diagram: https://gitdiagram.com/0xinfection/awesome-waf
- Repository: https://github.com/0xinfection/awesome-waf

## Overview

##### Project type and purpose
- This is an open-source, “Awesome List” repository (a static documentation site) aggregating everything about Web Application Firewalls (WAFs) from fingerprints and bypasses to tooling, papers, presentations and a small utility script. There is no traditional “frontend/backend” code—everything is Markdown, PDFs, images and a single Python helper script (others/obfu.py). Its purpose is to be a reference hub for pentesters and researchers.

##### File structure
- Top‐level files: CODE_OF_CONDUCT.md, CONTRIBUTING.md, LICENSE, README.md
- Directories:
- others/  → small scripts (obfu.py) and docs
- papers/  → research PDFs and text files
- presentations/ → slide decks
- No server-side code, no package.json or build scripts present, so it’s likely served as a static site (GitHub Pages or similar).

##### README for additional insights
- The README itself is the central index of content categories (Introduction, Fingerprinting, Evasion, Tools, etc.)
- No mention of a dynamic site generator, but common practice is to use Jekyll/Hugo or just render Markdown on GitHub Pages.

##### Elements
- Clear labels (e.g. “GitHub Repo,” “CI Pipeline,” “Static Site Generator,” “Hosting/CDN,” “Browser”)
- Developer → GitHub → CI → Hosting → User
- Repository (blue rectangle)
- Static generator (green diamond)
- Hosting/CDN (purple cloud)
- End users (yellow stick figure)

## Diagram (Mermaid)

```mermaid
flowchart TB
    Developer(["Developer/Contributor"]):::user
    Issue["Issue"]:::process
    PR["Pull Request"]:::process
    Review["Code Review"]:::process
    Merge["Merge"]:::process

    Developer --> Issue
    Issue --> PR
    PR --> Review
    Review --> Merge
    Merge -->|"triggers"| Repo

    subgraph "GitHub Repo"
        Repo["Source Code Repository"]:::repo
        README["README.md"]:::doc
        CoC["CODE_OF_CONDUCT.md"]:::doc
        CG["CONTRIBUTING.md"]:::doc
        Lic["LICENSE"]:::doc
        subgraph "Content Directories"
            Img["images/"]:::dir
            OthersDir["others/"]:::dir
            Obfu["others/obfu.py"]:::script
            OthersReadme["others/README.md"]:::doc
            Papers["papers/"]:::dir
            Pres["presentations/"]:::dir
        end
    end

    CI["CI/CD Pipeline"]:::ci
    Gen{"Static Site Generator"}:::gen
    Deploy["Deployment"]:::ci
    CDN["Hosting/CDN"]:::cloud
    User(["Reader (Browser/Search Engine)"]):::user

    Repo --> CI
    CI -->|"lint & build"| Gen
    Gen -->|"site output"| Deploy
    Deploy -->|"deploys"| CDN
    CDN -->|"serves content"| User
    User -->|"runs"| Obfu

    click Repo "https://github.com/0xinfection/awesome-waf/tree/master//"
    click README "https://github.com/0xinfection/awesome-waf/blob/master/README.md"
    click CoC "https://github.com/0xinfection/awesome-waf/blob/master/CODE_OF_CONDUCT.md"
    click CG "https://github.com/0xinfection/awesome-waf/blob/master/CONTRIBUTING.md"
    click Lic "https://github.com/0xinfection/awesome-waf/tree/master/LICENSE"
    click Img "https://github.com/0xinfection/awesome-waf/tree/master/images/"
    click OthersDir "https://github.com/0xinfection/awesome-waf/tree/master/others/"
    click Obfu "https://github.com/0xinfection/awesome-waf/blob/master/others/obfu.py"
    click OthersReadme "https://github.com/0xinfection/awesome-waf/blob/master/others/README.md"
    click Papers "https://github.com/0xinfection/awesome-waf/tree/master/papers/"
    click Pres "https://github.com/0xinfection/awesome-waf/tree/master/presentations/"

    classDef repo fill:#2196F3,stroke:#000,color:#fff
    classDef ci fill:#FF9800,stroke:#000,color:#000
    classDef gen fill:#4CAF50,stroke:#000,color:#fff
    classDef cloud fill:#9C27B0,stroke:#000,color:#fff
    classDef user fill:#FFEB3B,stroke:#000,color:#000
    classDef process fill:#FFCCBC,stroke:#000,color:#000
    classDef doc fill:#E0E0E0,stroke:#000,color:#000
    classDef dir fill:#B3E5FC,stroke:#000,color:#000
    classDef script fill:#C8E6C9,stroke:#000,color:#000
```
