feat(#2): HTML export with styled templates #10

Merged
ti-paul merged 1 commit from feature/2-export-html-pdf into main 2026-06-12 01:10:05 +00:00
Member

Closes #2

New: src/export.js

  • Terminal-green themed HTML with severity coloring
  • Roman numeral chapters, timeline, stats grid
  • XSS protection, print styles, custom CSS injection

CLI

  • syslog-story --html [--output ]

17 tests. 128 total pass.

Closes #2 ## New: src/export.js - Terminal-green themed HTML with severity coloring - Roman numeral chapters, timeline, stats grid - XSS protection, print styles, custom CSS injection ## CLI - syslog-story <file> --html [--output <path>] 17 tests. **128 total pass.**
feat(#2): HTML export with styled templates
Some checks failed
CI / test (pull_request) Failing after 1s
e8ab6d03d7
New module src/export.js:
- generateHTML: full terminal-green themed HTML document
- exportHTML: write to file
- buildChapters: Roman numeral chapters with severity coloring
- buildTimeline: chronological event timeline
- buildStats: stats grid layout
- XSS protection via HTML escaping
- Print-friendly @media styles
- Custom style injection support

CLI: syslog-story <file> --html [--output <path>]

17 new tests. All 128 tests pass. Closes #2.
ti-paul left a comment
No description provided.
17 tests, 128 total. Clean HTML export. LGTM.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
les_clankeurs/syslog-story!10
No description provided.