https://github.com/bstee615/adx-export

https://github.com/bstee615/adx-export

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.1%) to scientific vocabulary
Last synced: 7 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: bstee615
  • Default Branch: master
  • Size: 16.6 KB
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created 8 months ago · Last pushed 8 months ago
Metadata Files
Readme

README.md

ADX Table Exporter Chrome/Edge Extension

A clean and simple Chrome/Edge extension that extracts tables from Azure Data Explorer (ADX) and exports them to Markdown format.

Features

  • 📊 AG Grid Detection: Automatically detects and extracts data from Azure Data Explorer's AG Grid tables
  • 📋 Copy to Clipboard or 💾 Download as File: One-click copy table data as Markdown or download as a .md file with timestamp
  • Vanilla JS: No build system required - just load and go

Installation Instructions

Method 1: Load Unpacked Extension (Development)

  1. Download/Clone this repository to your local machine
  2. Open Chrome/Edge and navigate to extensions page:
    • Chrome: chrome://extensions/
    • Edge: edge://extensions/
  3. Enable Developer Mode (toggle in top-right corner)
  4. Click "Load unpacked" and select the dist folder from this project
  5. Pin the extension to your toolbar for easy access

Usage

  1. Navigate to Azure Data Explorer (dataexplorer.azure.com or your kusto endpoint)
  2. Run a query that returns tabular data
  3. Click the extension icon in your browser toolbar
  4. Wait for the extension to detect the table (happens automatically)
  5. Choose your action:
    • 📋 Copy to Clipboard: Copies Markdown table to clipboard
    • 💾 Download as .md: Downloads file named adx_table_YYYY-MM-DDTHH-mm-ss.md

File Structure

dist/ # Extension package ├── manifest.json # Extension configuration ├── popup/ # Popup UI and logic ├── content/ # Table extraction ├── utils.js # Utility functions (markdown, clipboard, download) └── icons/ # Icons created from icon.svg

How It Works

  1. Content Script: Injected into ADX pages to scan for AG Grid components
  2. Table Detection: Looks for .ag-root[role="grid"] elements with data
  3. Data Extraction: Extracts headers from .ag-header-cell-text and rows from [role="gridcell"]
  4. Markdown Conversion: Converts extracted data to properly formatted Markdown tables
  5. Export Options: Provides clipboard copy and file download functionality

Troubleshooting

"No visible table found" - Make sure you're on an Azure Data Explorer page - Ensure your query has returned results and the table is visible - Try clicking the "refresh" button or refreshing the page and running the query again

Extension not working - If you see "Please navigate to an Azure Data Explorer page first", check that you're on a supported ADX domain - https://*.kusto.windows.net/* - https://dataexplorer.azure.com/* - https://*.dataexplorer.azure.com/* - Ensure the extension has permissions for the current site (Extension settings) - Otherwise, an error message should be shown on the popup; feel free to submit a GitHub issue with a screenshot.

Permissions

  • activeTab: Access to current tab for table extraction
  • downloads: Download generated Markdown files
  • Host permissions for ADX domains

License

MIT License - feel free to modify and distribute as needed.

Owner

  • Name: Benjamin Steenhoek
  • Login: bstee615
  • Kind: user

3rd year PhD student @ ISU. Interests and research: deep learning, program analysis

GitHub Events

Total
  • Push event: 1
  • Create event: 1
Last Year
  • Push event: 1
  • Create event: 1

Issues and Pull Requests

Last synced: 8 months ago