Skip to content

Commit 6562896

Browse files
committed
Add jekyll-mermaid gem and update architecture diagrams in Albatross post
1 parent fba0278 commit 6562896

3 files changed

Lines changed: 14 additions & 27 deletions

File tree

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ gem 'jekyll-dash', '~> 2.0'
55
gem 'jekyll-feed', '~> 0.17'
66
gem 'jekyll-sitemap', '~> 1.4'
77
gem 'jekyll-paginate', '~> 1.1'
8+
gem 'jekyll-mermaid'
89

910
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
1011
# and associated library.

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ plugins:
2121
- jekyll-feed
2222
- jekyll-sitemap
2323
- jekyll-paginate
24+
- jekyll-mermaid
2425

2526
# Theme settings
2627
dash:

staging/2025-06-10-albatross.md

Lines changed: 12 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,12 @@ For Albatross, I chose a different path: **Cloudflare Workers as a secure API pr
4848

4949
## Architecture Overview
5050

51-
```
52-
┌─────────────────┐ HMAC Auth ┌─────────────────┐ API Key ┌─────────────────┐
53-
│ │ ──────────→ │ │ ──────────→ │ │
54-
│ Blazor WASM │ │ Cloudflare │ │ AbuseIPDB │
55-
│ Client │ ←────────── │ Worker │ ←────────── │ API │
56-
│ │ CORS + JSON │ │ JSON Data │ │
57-
└─────────────────┘ └─────────────────┘ └─────────────────┘
51+
```mermaid
52+
graph LR
53+
A[Blazor WASM<br/>Client] -->|HMAC Auth| B[Cloudflare<br/>Worker]
54+
B -->|API Key| C[AbuseIPDB<br/>API]
55+
C -->|JSON Data| B
56+
B -->|CORS + JSON| A
5857
```
5958

6059
### Key Components:
@@ -346,26 +345,12 @@ In today's cloud-first world, understanding which cloud provider owns a specific
346345

347346
The system maintains up-to-date IP range manifests from four major cloud providers:
348347

349-
```
350-
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
351-
│ AWS IP Ranges │ │ Azure IP Ranges │ │ GCP IP Ranges │ │ OCI IP Ranges │
352-
│ │ │ │ │ │ │ │
353-
│ • 76,000+ IPs │ │ • 135,000+ IPs │ │ • 3,100+ IPs │ │ • 2,800+ IPs │
354-
│ • Regional Data │ │ • Service Tags │ │ • Scope Data │ │ • Regional Tags │
355-
│ • Service Info │ │ • Platform Info │ │ • Global Ranges │ │ • Service Data │
356-
└─────────────────┘ └─────────────────┘ └─────────────────┘ └─────────────────┘
357-
│ │ │ │
358-
└───────────────────────┼───────────────────────┼───────────────────────┘
359-
│ │
360-
┌─────────────────┐ │
361-
│ Albatross │ │
362-
│ Search Engine │ │
363-
│ │ │
364-
│ • CIDR Matching │ │
365-
│ • IPv4 & IPv6 │ │
366-
│ • Real-time │ │
367-
│ • Parallel Exec │←────────────┘
368-
└─────────────────┘
348+
```mermaid
349+
graph TD
350+
A[AWS IP Ranges<br/>• 76,000+ IPs<br/>• Regional Data<br/>• Service Info] --> E[Albatross<br/>Search Engine<br/>• CIDR Matching<br/>• IPv4 & IPv6<br/>• Real-time<br/>• Parallel Exec]
351+
B[Azure IP Ranges<br/>• 135,000+ IPs<br/>• Service Tags<br/>• Platform Info] --> E
352+
C[GCP IP Ranges<br/>• 3,100+ IPs<br/>• Scope Data<br/>• Global Ranges] --> E
353+
D[OCI IP Ranges<br/>• 2,800+ IPs<br/>• Regional Tags<br/>• Service Data] --> E
369354
```
370355

371356
### Official Data Sources

0 commit comments

Comments
 (0)