feature/IO-3587-Commision-Cut - Improved localstack client

This commit is contained in:
Dave
2026-03-19 16:18:22 -04:00
parent 34c9a3854c
commit 281fe02820
4 changed files with 2313 additions and 42 deletions

View File

@@ -1,5 +1,7 @@
This app connects to your Docker LocalStack SES endpoint and gives you a local inbox-style viewer This app connects to your Docker LocalStack endpoints and gives you a compact inspector for:
for generated emails.
- SES generated emails
- CloudWatch log groups, streams, and recent events
```shell ```shell
npm start npm start
@@ -15,13 +17,11 @@ Open: http://localhost:3334
Features: Features:
- Manual refresh - SES email workspace with manual refresh, live refresh, search, HTML/text/raw views,
- Live refresh with adjustable polling interval attachment downloads, and new-message highlighting
- Search across subject, addresses, preview text, and attachment names - CloudWatch Logs workspace with log group selection, stream filtering, adjustable time window,
- Expand/collapse all messages adjustable event limit, live refresh, and in-browser log search
- Rendered HTML, plain-text, and raw MIME views - Compact single-page UI for switching between the local stack tools you use most
- Copy raw MIME source
- New-message highlighting plus fetch timing and parse-error stats
Optional environment variables: Optional environment variables:
@@ -30,4 +30,9 @@ PORT=3334
SES_VIEWER_ENDPOINT=http://localhost:4566/_aws/ses SES_VIEWER_ENDPOINT=http://localhost:4566/_aws/ses
SES_VIEWER_REFRESH_MS=10000 SES_VIEWER_REFRESH_MS=10000
SES_VIEWER_FETCH_TIMEOUT_MS=5000 SES_VIEWER_FETCH_TIMEOUT_MS=5000
CLOUDWATCH_VIEWER_ENDPOINT=http://localhost:4566
CLOUDWATCH_VIEWER_REGION=ca-central-1
CLOUDWATCH_VIEWER_LOG_GROUP=development
CLOUDWATCH_VIEWER_WINDOW_MS=900000
CLOUDWATCH_VIEWER_LIMIT=200
``` ```

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -10,8 +10,9 @@
"keywords": [], "keywords": [],
"author": "", "author": "",
"license": "ISC", "license": "ISC",
"description": "LocalStack SES email viewer for inspecting local outbound mail", "description": "LocalStack inspector for SES emails and CloudWatch logs",
"dependencies": { "dependencies": {
"@aws-sdk/client-cloudwatch-logs": "^3.1012.0",
"express": "^5.1.0", "express": "^5.1.0",
"mailparser": "^3.7.4", "mailparser": "^3.7.4",
"node-fetch": "^3.3.2" "node-fetch": "^3.3.2"