@rasyid2567/urlscanner 0.1.0 → 1.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/README.md +96 -38
- package/dist/cli.js +1226 -182
- package/dist/web/assets/index-BhTsIiN2.css +1 -0
- package/dist/web/assets/index-CFU8iZBE.js +216 -0
- package/dist/web/index.html +2 -2
- package/package.json +11 -1
- package/dist/web/assets/index-CqokFvdM.js +0 -211
- package/dist/web/assets/index-DtDzeyWK.css +0 -1
package/README.md
CHANGED
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
# URLScanner (`@rasyid2567/urlscanner`)
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://github.com/Rasyid2567/urlscanner/actions/workflows/ci.yml)
|
|
4
|
+
[](https://www.npmjs.com/package/@rasyid2567/urlscanner)
|
|
5
|
+
[](https://nodejs.org/)
|
|
6
|
+
[](LICENSE)
|
|
7
|
+
|
|
8
|
+
Zero-setup local **URL Scanner**, **Recursive Deep OSINT Seed Pivoter**, **Layered Block Validator**, and **Triage Workbench** built with 100% pure Node.js & TypeScript (`node:sqlite`, Hono, React 19, Vite, Tailwind CSS v4). Runs locally with Web UI, Interactive Terminal UI, and a cross-platform System Tray daemon.
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## Screenshots
|
|
13
|
+
|
|
14
|
+
| Triage Queue (Light Mode) | Pivot & Import (Dark Mode) |
|
|
15
|
+
| --- | --- |
|
|
16
|
+
|  |  |
|
|
17
|
+
|
|
18
|
+
---
|
|
4
19
|
|
|
5
20
|
## Requirements
|
|
6
21
|
|
|
@@ -10,58 +25,101 @@ Zero-setup local URL Scanner, OSINT Seed Pivoter, Layered Komdigi/ISP Block Vali
|
|
|
10
25
|
|
|
11
26
|
```bash
|
|
12
27
|
npx @rasyid2567/urlscanner
|
|
13
|
-
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Or install globally:
|
|
31
|
+
|
|
32
|
+
```bash
|
|
14
33
|
npm install -g @rasyid2567/urlscanner
|
|
15
34
|
urlscanner
|
|
16
35
|
```
|
|
17
36
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
- **
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
- **
|
|
29
|
-
- **
|
|
30
|
-
- **
|
|
31
|
-
- **
|
|
32
|
-
- **
|
|
37
|
+
Running `urlscanner` opens the **Choose Interface** launcher:
|
|
38
|
+
- **Web UI (Open in Browser)** — Opens the workbench at `http://localhost:3847`
|
|
39
|
+
- **Terminal UI (Interactive CLI)** — Keyboard-driven triage directly in your terminal
|
|
40
|
+
- **Hide to Tray (Background)** — Detaches to background with a native System Tray icon (**Open Dashboard** / **Quit**) on Linux, Windows & macOS
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## Key Features
|
|
45
|
+
|
|
46
|
+
- **Seed Pivoting & Recursive Deep Auto-Pivot (OSINT):**
|
|
47
|
+
- **Multi-Hop BFS Auto-Pivot** — Optional recursive wave-by-wave discovery that follows redirects, outbound links, and OSINT mirrors with automatic brand/IP/title deduplication and configurable guardrails (`max_depth`, `max_domains`, `min_score`)
|
|
48
|
+
- **CRT.sh Scraper** — Pulls related domains from Certificate Transparency logs
|
|
49
|
+
- **URLScan.io API v1 Search** — Searches indexed domains/titles/IPs (works without an API key; optional API key in Settings enables leading-wildcard searches)
|
|
50
|
+
- **HTML, Redirect & AMP Extractor** — Traces 301/302 redirects, `amphtml`/`canonical`, and outbound Login/Register/Alt links while stripping CDNs and static assets
|
|
51
|
+
- **Bulk Import Auto-Pivot & Live Stop** — Optionally chain recursive pivoting onto bulk imports and cancel running jobs at any time
|
|
52
|
+
- **1-Click Pivot** directly from any domain row or archive item
|
|
53
|
+
- **Bulk Import & PSL URL Normalizer:**
|
|
54
|
+
- `tldts` eTLD+1 normalization with `allowPrivateDomains: true` (`*.pages.dev`, `*.blogspot.com`, `*.netlify.app`, etc. remain separate)
|
|
55
|
+
- Strict `UNIQUE(normalized_domain)` deduplication and configurable domain blacklist
|
|
56
|
+
- **Layered Auto-Validator:**
|
|
57
|
+
- Parallel HTTP checks, domain parking detection, 3-layer ISP/TrustPositif block detection (HTTP signature + configurable Indonesian filter DNS resolver + 1-click TrustPositif blocklist sync), and safe Cloudflare challenge tagging (`cf_challenge` → *Manual Check (CF)*)
|
|
58
|
+
- **Content Scorer (0–100):**
|
|
59
|
+
- Weighted scoring across `<title>`, meta description, headings, body text, domain patterns, and AMP/CTA signals with editable keywords in Settings
|
|
60
|
+
- **Operational Web UI & Triage Workflow:**
|
|
61
|
+
- Multi-language (**EN / ID / ES / JA**), **Light & Dark Mode**, status workflow (`new`, `claimed`, `submitted`, `valid`, `duplicate`, `rejected`), **1-Click Copy & Mark**, Detail Inspector Drawer, Filtered Archive, and TXT/CSV export
|
|
62
|
+
- **Cross-Platform System Tray:**
|
|
63
|
+
- Native tray icon on **Linux (Wayland/X11)**, **Windows (10/11)**, and **macOS** with **Open Dashboard** and **Quit**, plus graceful headless fallback when `DISPLAY`/`WAYLAND_DISPLAY` is absent or `--no-tray` is passed
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
## CLI Usage & Flags
|
|
68
|
+
|
|
69
|
+
| Command / Flag | Description |
|
|
70
|
+
| --- | --- |
|
|
71
|
+
| `urlscanner` | Open the **Choose Interface** launcher (re-attaches cleanly if daemon is already running) |
|
|
72
|
+
| `urlscanner --web` | Launch server and open Web UI directly |
|
|
73
|
+
| `urlscanner --tui` | Launch Interactive Terminal UI directly |
|
|
74
|
+
| `urlscanner --no-menu --no-open` | Run headless HTTP/API server without interactive menu |
|
|
75
|
+
| `urlscanner --daemon` | Run background daemon with System Tray icon |
|
|
76
|
+
| `urlscanner --daemon --no-tray` | Run background daemon without System Tray icon |
|
|
77
|
+
| `urlscanner -p, --port <port>` | Custom HTTP port (default: `3847`) |
|
|
78
|
+
| `urlscanner --host <host>` | Bind host (default: `127.0.0.1`) |
|
|
79
|
+
| `urlscanner --data-dir <path>` | Custom SQLite storage directory (default: `~/.urlscanner`) |
|
|
80
|
+
| `urlscanner status` | Check background daemon PID, health, and data directory |
|
|
81
|
+
| `urlscanner stop` | Stop background daemon and remove tray icon |
|
|
82
|
+
|
|
83
|
+
### Triage Keyboard Shortcuts (Web UI & TUI)
|
|
84
|
+
|
|
85
|
+
| Key | Action |
|
|
86
|
+
| --- | --- |
|
|
87
|
+
| `j` / `k` (or `↓` / `↑`) | Move row selection |
|
|
88
|
+
| `c` | Copy URL & mark **In Progress** |
|
|
89
|
+
| `o` | Open URL in new browser tab |
|
|
90
|
+
| `s` / `v` / `d` / `r` | Mark as **Submitted** / **Valid** / **Duplicate** / **Rejected** |
|
|
91
|
+
| `Enter` | Open Detail Inspector Drawer |
|
|
92
|
+
| `?` | Toggle shortcut bar |
|
|
93
|
+
|
|
94
|
+
---
|
|
33
95
|
|
|
34
96
|
## Local Development
|
|
35
97
|
|
|
36
98
|
```bash
|
|
99
|
+
git clone https://github.com/Rasyid2567/urlscanner.git
|
|
100
|
+
cd urlscanner
|
|
37
101
|
npm install
|
|
38
102
|
npm run dev # Backend watch (:3847) + Vite dev server (:5173)
|
|
39
|
-
npm
|
|
103
|
+
npm run typecheck # TypeScript check (tsc --noEmit)
|
|
104
|
+
npm test # Vitest unit & API integration tests
|
|
40
105
|
npm run build # Build dist/cli.js + dist/web/
|
|
41
106
|
```
|
|
42
107
|
|
|
43
|
-
|
|
108
|
+
---
|
|
44
109
|
|
|
45
|
-
|
|
46
|
-
node dist/cli.js
|
|
47
|
-
```
|
|
110
|
+
## Privacy, Security & Ethical Scope
|
|
48
111
|
|
|
49
|
-
|
|
112
|
+
- Binds to `127.0.0.1` by default and stores all data locally in SQLite (`~/.urlscanner/scanner.db`). No external telemetry.
|
|
113
|
+
- Uses standard HTTP/OSINT endpoints only; **never** attempts to bypass CAPTCHAs, proof-of-work gates, or anti-bot protections.
|
|
50
114
|
|
|
51
|
-
|
|
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
|
-
```
|
|
115
|
+
---
|
|
61
116
|
|
|
62
|
-
##
|
|
117
|
+
## Contributing & Security
|
|
63
118
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
119
|
+
- Contributions are welcome! See [CONTRIBUTING.md](CONTRIBUTING.md) and [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md).
|
|
120
|
+
- To report a security issue, see [SECURITY.md](SECURITY.md).
|
|
121
|
+
- Release history is tracked in [CHANGELOG.md](CHANGELOG.md).
|
|
122
|
+
|
|
123
|
+
## License
|
|
124
|
+
|
|
125
|
+
[MIT](LICENSE) © 2026 Rasyid2567
|