Skip to content

Data and Export

GlomarGadaffi edited this page Jun 4, 2026 · 1 revision

Data & Export

BearSentinel stores all data locally and provides export functionality for offline analysis.

Data Persistence

Session State (in-memory)

Lost on page close or reload:

  • Active patches and current members
  • Recent grants in the live feed
  • P25 activity cards
  • Raw log lines
  • Current site ID and LCN map
  • Session statistics

Persistent State (localStorage)

Survives page reloads:

Key Content
SLERS hit counts Cumulative hit count per talkgroup ID
P25 hit counts Cumulative hit count per P25 talkgroup ID

These counters accumulate indefinitely until you click Wipe DB.

Clearing Persistent Data

Click Wipe DB in the application header and confirm the prompt. This calls store.wipeDB(), which clears the relevant localStorage keys and resets in-memory counts to zero. This action is irreversible.

Export Formats

Click the Export ▼ button and choose a format.

JSON Export

Triggers a download of the current session data as a .json file, generated by store.exportJSON(). Contains structured data suitable for programmatic analysis or import into other tools.

CSV Export

Triggers a download of grant log data as a .csv file, generated by store.exportCSV(). Suitable for import into spreadsheet tools. Expected columns based on GrantEvent type: timestamp, talkgroupId, logicalChannel, voiceChannel, unitId, grantType, raw.

Privacy

All data — both session state and persistent state — exists only in your browser on your local machine. BearSentinel makes no network requests. No data is transmitted to any external server, analytics service, or third party.

The application compiles to a single HTML file with no external script tags and no CDN dependencies, making it fully air-gapped capable.

Clone this wiki locally