Namespaces/silen/hecatomb
MarkdownCommitsConfig

Hecatomb logo

Hecatomb

A single-file, drop-in AG Grid debugger.

I did a sacrifice so you do not have to.

Hecatomb (heca) scans a page for AG Grid tables and, from a small bottom-right flyout, lets you browse them in a searchable list and — per grid — read the live row data, generate synthetic data that mirrors the inferred column types, inject it (man-in-the-middle data overwrite), and save/load a per-table config file. Both client-side and server-side row models are supported.

Drop-in usage

just build produces a single self-contained target/hecatomb.js — base64-inlined wasm plus inlined CSS, with no external assets. Add a mount point and one module script tag to any page that uses AG Grid:

<div class="hecatomb"></div>
<script type="module" src="hecatomb.js"></script>

The launcher (the HB button) appears at the bottom-right; click it to open the panel.

Build & run

Requires a Rust toolchain with the wasm32-unknown-unknown target and the just command runner.

just build   # compiles the wasm lib, writes target/hecatomb.js + target/index.html
just serve   # builds, then serves the test page at http://127.0.0.1:10000

The default Cargo target is wasm, so the native heca packaging binary must be built/run with --target x86_64-unknown-linux-gnu (the justfile already does this for you).