Extract structured data from local HTML files. WebMiner analyzes a directory of web pages, identifies recurring patterns and data tables, and exports the results as HTML reports and Excel spreadsheets.
Everything runs locally — no network calls, no data leaves your machine.
Latest release: v0.0.4 | Download: scent-miner.jar
-
Install JDK 17+ from Adoptium or Microsoft OpenJDK.
-
Download scent-miner.jar and webminer.ps1 from the latest release.
-
Run:
powershell .\webminer.ps1 all C:\path\to\html\files
Or directly with Java:
�ash java -jar scent-miner.jar all /path/to/html/files
The miner scans all *.html / *.htm files, runs the full ML pipeline (encode → cluster → views), and writes the results to -ml-output/.
WebMiner <command> [args...] [options...]
| Command | Usage | Purpose |
|---|---|---|
| �ll | Full pipeline | encode → cluster → views in one pass |
| �ncode | Encode HTML → CSV | Extract feature vectors from HTML files |
| cluster | Run KMeans | Cluster encoded CSV (k auto-detected) |
| iews | Build views | HTML/XLSX views from clustering results |
| Flag | Default | Purpose |
|---|---|---|
| --k | auto-detect | Number of clusters — testing only; omit for auto-detection |
| --max-files | 40 | Max HTML files to encode |
| --output | auto | Override output directory |
| --resume [id] | — | Resume from last completed step |
| -am, --also-make | — | Run all dependent stages first |
| --help, -h | — | Print usage |
`�ash
java -jar scent-miner.jar all /data/amazon-pages
java -jar scent-miner.jar all /data/amazon-pages --k 12 --max-files 50
java -jar scent-miner.jar encode /data/pages
java -jar scent-miner.jar cluster /data/encoded.csv --k 8
java -jar scent-miner.jar all /data/amazon-pages --resume `
The webminer.ps1 script auto-detects Java 17 and applies the required JVM flags:
powershell .\webminer.ps1 all C:\data\html-pages .\webminer.ps1 all C:\data\html-pages --k 12 --max-files 50 .\webminer.ps1 encode C:\data\html-pages .\webminer.ps1 -JavaHome "D:\jdk-17" all C:\data\html-pages
<input-dir>-ml-output/ └── kmeans-result/ └── p<project-id>/ ├── predictionAndMinimalFeatures/ │ ├── index.html # HTML report │ ├── *.xlsx # Excel export │ └── ... └── predictionAndMinimalFeatures.views/ ├── index.html # Prompt views └── ...
Open index.html in a browser to browse extracted data, or load .xlsx files in Excel for further analysis.
| Requirement | Version | Notes |
|---|---|---|
| JDK | 17+ | Adoptium recommended |
| OS | Windows x86_64 | Native libraries are Windows-only in this release |
WebMiner loads each HTML file, parses its structure and visual layout, detects recurring content patterns across the document collection, and extracts structured data tables from those patterns.
Built with:
- Kotlin 2.3.x / Java 17
- ProGuard 7.9 — bytecode obfuscation
- Spring Boot 4.1 — dependency injection
- Apache Spark ML — clustering & feature extraction
- Pulsar DOM — HTML parsing & visual analysis
Proprietary. All rights reserved.