@rasyid2567/urlscanner 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 rasyid2567
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,67 @@
1
- # Temporary Holding Version
1
+ # URLScanner (`@rasyid2567/urlscanner`)
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Zero-setup local URL Scanner, OSINT Seed Pivoter, Layered Komdigi/ISP Block Validator, and Triage Workbench built with 100% pure Node.js & TypeScript (`node:sqlite`, Hono, React).
4
+
5
+ ## Requirements
6
+
7
+ - **Node.js >= 22.5.0** (uses built-in `node:sqlite`, zero native C++ build / `node-gyp`)
8
+
9
+ ## Quick Start
10
+
11
+ ```bash
12
+ npx @rasyid2567/urlscanner
13
+ # or install globally
14
+ npm install -g @rasyid2567/urlscanner
15
+ urlscanner
16
+ ```
17
+
18
+ ## Features
19
+
20
+ - **Choose Interface Launcher:** Run `urlscanner` in your terminal to pick between:
21
+ - **Web UI (Open in Browser):** Multi-language (`EN / ID / ES / JA`) Light & Dark Mode operational workbench at `http://localhost:3847`
22
+ - **Terminal UI (Interactive CLI):** Fast keyboard-driven triage directly inside your terminal
23
+ - **Run in Background (Daemon):** Detach server to background with `urlscanner status` and `urlscanner stop`
24
+ - **1-Hop Seed Pivoting (OSINT):**
25
+ - **CRT.sh Scraper** (Certificate Transparency logs)
26
+ - **URLScan.io API v1 Search** (works out of the box without an API key; optional API key in Settings)
27
+ - **HTML, Redirect & AMP Extractor** (normal browser UA, 301/302 + meta refresh + `amphtml`/`canonical` + outbound Login/Daftar/Link Alternatif extraction)
28
+ - **1-Click Pivot** directly from any discovered domain row
29
+ - **Bulk Import & URL Normalizer:** `tldts` eTLD+1 normalization with Private PSL (`*.pages.dev`, `*.blogspot.com`, `*.netlify.app`, etc. preserved uniquely) and strict `UNIQUE(normalized_domain)` deduplication.
30
+ - **Layered Auto-Validator:** Parallel HTTP check, parking page detection, 3-layer ISP/TrustPositif Komdigi block detection (HTTP signature + configurable Indonesian DNS filter + 1-click TrustPositif blocklist sync), and safe Cloudflare challenge tagging (`cf_challenge` → *Manual Check (CF)*).
31
+ - **Content Scorer (0–100):** Weighted scoring on `<title>`, meta description, headings, body text, domain patterns, and AMP/CTA signals, with editable keywords & blacklist domains in Settings.
32
+ - **Triage Queue:** Status workflow (`new`, `claimed`, `submitted`, `valid`, `duplicate`, `rejected`), **1-Click Copy & Mark**, keyboard shortcuts (`j`/`k`/`c`/`o`/`s`/`v`/`d`/`r`/`Enter`), Detail Inspector Drawer, and TXT/CSV export.
33
+
34
+ ## Local Development
35
+
36
+ ```bash
37
+ npm install
38
+ npm run dev # Backend watch (:3847) + Vite dev server (:5173)
39
+ npm test # Run Vitest unit & API integration tests
40
+ npm run build # Build dist/cli.js + dist/web/
41
+ ```
42
+
43
+ Run the built CLI locally:
44
+
45
+ ```bash
46
+ node dist/cli.js
47
+ ```
48
+
49
+ ## CLI Usage & Flags
50
+
51
+ ```bash
52
+ urlscanner # Interactive "Choose Interface" launcher
53
+ urlscanner --web # Launch server and open Web UI directly
54
+ urlscanner --tui # Launch Interactive Terminal UI directly
55
+ urlscanner --no-menu --no-open # Headless server mode
56
+ urlscanner --port 8080 # Custom port (default: 3847)
57
+ urlscanner --data-dir ./my-data # Custom SQLite storage directory (default: ~/.urlscanner)
58
+ urlscanner status # Check background daemon status
59
+ urlscanner stop # Stop background daemon
60
+ ```
61
+
62
+ ## Publishing to npm
63
+
64
+ ```bash
65
+ npm login
66
+ npm publish --access public
67
+ ```