README.org
95 lines · 2975 bytes
1#+title: domaindig
2
3* what
4local-first ios domain inspection toolkit. dns, web, ownership,
5monitoring, reporting, audit. takes a point-in-time snapshot of a
6domain, normalizes it into a DomainReport, and keeps data on device
7unless you export, share, or sync it.
8
9* does
10- inspects dns records, email security, tls certs, http headers,
11 redirects, ip geolocation, reachability, open ports, rdap,
12 ownership, subdomains, availability
13- DomainReport output used by the ui and exports
14- history snapshots with change summaries, risk scoring, notes
15- dashboard, watchlist, monitoring, workflows, batch results,
16 integrations, data portability
17- audit mode: sessions, checklists, reviewer notes, findings,
18 evidence snapshots, timelines, markdown/json/pdf export
19- backup and restore for tracked domains, history, audit sessions,
20 workflows, monitoring, settings, feature metadata
21- optional local api for automation-compatible output
22
23* privacy
24app data lives in on-device storage. network requests go out only
25to run the checks you asked for or the resolver you configured. no
26hosted backend required.
27
28* build
29needs xcode with a current ios sdk and a simulator or device.
30
31#+begin_src sh
32git clone https://github.com/krazywarez/domain-dig.git
33#+end_src
34
35open DomainDig.xcodeproj, pick the DomainDig scheme, build and run.
36
37build check:
38
39#+begin_src sh
40xcodebuild -project DomainDig.xcodeproj -scheme DomainDig \
41 -destination 'platform=iOS Simulator,name=iPhone 16' build
42#+end_src
43
44* tests
45deterministic core coverage lives in DomainDigTests:
46
47#+begin_src sh
48./Scripts/test.sh # oldest supported + newest
49./Scripts/test.sh current # newest only
50#+end_src
51
52both tiers matter. releasing a main-actor-isolated object aborts the runner
53under ios 18.6 — a swift runtime bug in MarkerItem::create, fixed by 26.5 — so
54a test can pass on one runtime and die on the other. pinning one destination
55hides whichever direction it is pinned away from.
56
57a one-off run against a specific simulator:
58
59#+begin_src sh
60xcodebuild test -project DomainDig.xcodeproj -scheme DomainDig \
61 -destination 'platform=iOS Simulator,name=iPhone 16' \
62 -only-testing:DomainDigTests
63#+end_src
64
65the scheme's test action also runs the DomainDigUITests
66accessibility audit.
67
68#+begin_src sh
69./Scripts/audit-a11y.sh # oldest supported + newest
70./Scripts/audit-a11y.sh floor # oldest only (~85s)
71#+end_src
72
73findings are reported, not enforced. a passing run of both tiers on a
74clean tree is recorded. the audit is optional: the pre-push hook warns
75when a push of Swift or project changes has no recorded pass, and does
76not block it:
77
78#+begin_src sh
79git config core.hooksPath .githooks
80#+end_src
81
82* docs
83#+begin_example
84local api: Docs/local-api.txt
85data migration: Docs/data-migration.txt
86integrations: Docs/integrations.txt
87accessibility: Docs/ACCESSIBILITY.txt
88security: SECURITY.txt
89#+end_example
90
91* license
920bsd. see LICENSE.
93
94* contact
95- root@krz.sh