Mikhail Chusavitin c025ae0477 Redesign chart UI toward clean professional style
- Replace warm serif theme with Semantic UI-inspired design:
  white background, Lato font, subtle transparent borders
- Section cards become transparent wrappers with standalone h2
  headings; tables carry their own border and shadow
- Status indicators replaced with plain colored symbols
  (✓ ✗ ! ? –) — no badge backgrounds
- Remove section nav (table of contents)
- Fix HTML: remove redundant div in header, error section
  tag → div[role=alert], add aria-label to nav

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-18 02:03:05 +03:00
2026-03-15 17:28:19 +03:00
2026-03-15 17:28:19 +03:00
2026-03-15 17:28:19 +03:00
2026-03-15 17:28:19 +03:00
2026-03-15 17:28:19 +03:00
2026-03-15 21:43:53 +03:00

Reanimator Chart

chart is a small read-only web viewer for Reanimator hardware JSON snapshots.

It is intended to be embedded into other Go applications that collect audit data in different ways and want a consistent HTML view of the resulting Reanimator JSON.

Integration

For embedding instructions, see docs/embedding.md.

As Git Submodule

To embed chart into another repository as a git submodule:

git submodule add https://git.mchus.pro/reanimator/chart.git internal/chart
git submodule update --init --recursive

In the host application's go.mod, point the module path at the checked-out submodule:

replace reanimator/chart => ./internal/chart

Example mount inside the host application:

mux.Handle("/chart/", http.StripPrefix("/chart", viewer.NewHandler(viewer.HandlerOptions{
    Title: "Hardware Snapshot",
})))

To update the submodule later:

git submodule update --remote internal/chart
git add internal/chart
git commit -m "Update reanimator chart submodule"

Standalone local run:

make run

Product Scope

  • render a Reanimator JSON snapshot as HTML
  • preserve the source payload shape
  • show all fields from JSON
  • use compact tables and section navigation
  • color statuses for quick scanning

Explicit Non-Goals

  • no ingest pipeline
  • no audit collection
  • no background jobs
  • no summary generation beyond what already exists in JSON
  • no mutation of the input data
  • no vendor-specific parsing logic

Architecture Docs

Project-specific architecture lives in bible-local/README.md.

Description
No description provided
Readme 74 KiB
Languages
Go 67.4%
CSS 19.7%
HTML 12.8%
Makefile 0.1%