Skip to content

Search UI

Terminal window
pip install ".[web]" # if not already installed
sonar-catalog web --port 8080

Open http://localhost:8080 in your browser.

Type in the search box to find files by name. Uses SQLite FTS5 for fast tokenized matching — searching “line_001” finds survey_line_001.xtf, line_001_processed.jsf, etc.

  • Server — Filter by NFS server (populated from catalog data)
  • Format — Filter by sonar format (xtf, jsf, s7k, etc.)

The home page shows catalog statistics:

  • Total unique files and locations
  • Unique data size with dedup ratio
  • NFS server count
  • Sonar format breakdown

Click a file to see:

  • Content hash, size, format, MIME type
  • All locations (every NFS server where the file exists)
  • Canonical path for each location
Terminal window
# Custom host and port
sonar-catalog web --host 0.0.0.0 --port 9090
# Debug mode (auto-reload on code changes)
sonar-catalog web --debug

The frontend is server-rendered HTML with Tailwind CSS, plus vanilla JavaScript for search interactions. API calls go to /api/search, /api/stats, etc.