342 lines
47 KiB
HTML
342 lines
47 KiB
HTML
<!doctype html>
|
||
<html lang="en">
|
||
<head>
|
||
<meta charset="utf-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
<meta name="phomber-version" content="0.0.2">
|
||
<meta name="description" content="PH0MBER Gen2 - an open-source OSINT researcher with inspectable evidence, a local investigation wiki and a simple terminal workflow. Version 0.0.2.">
|
||
<meta name="theme-color" content="#ffffff">
|
||
<meta name="referrer" content="strict-origin-when-cross-origin">
|
||
<meta property="og:title" content="PH0MBER - OSINT Researcher">
|
||
<meta property="og:description" content="A field guide to public evidence. Research from your terminal, review the sources and build your own local wiki.">
|
||
<meta property="og:type" content="website">
|
||
<meta property="og:url" content="https://phomber.s41r4j.in/">
|
||
<link rel="canonical" href="https://phomber.s41r4j.in/">
|
||
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' rx='12' fill='%23f1f5ff'/%3E%3Ctext x='15' y='46' fill='%233366cc' font-family='Georgia,serif' font-size='45'%3EP%3C/text%3E%3C/svg%3E">
|
||
<title>PH0MBER - OSINT Researcher · Gen2</title>
|
||
<style>
|
||
:root{color-scheme:light;--bg:#fff;--ink:#202122;--muted:#626873;--line:#d8dce3;--strong-line:#aeb7c5;--soft:#f8f9fb;--blue:#36c;--blue-soft:#f0f5ff;--serif:Georgia,"Times New Roman",serif;--mono:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace}
|
||
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:25px}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.8 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:var(--blue);text-decoration:none;text-underline-offset:4px}a:hover{text-decoration:underline}button,input{font:inherit}button{cursor:pointer;color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid var(--blue);outline-offset:4px}p,h1,h2,h3,figure{margin:0}code,.eyebrow,.release,.micro,.command-count{font-family:var(--mono)}code{font-size:.87em;overflow-wrap:anywhere}p{color:var(--muted)}[hidden]{display:none!important}.js-only{display:none}.js .js-only{display:flex}.wrap{width:min(1460px,calc(100% - 72px));margin:auto}.skip{position:absolute;left:15px;top:-100px;background:var(--bg);border:1px solid var(--blue);padding:10px;z-index:10}.skip:focus{top:12px}
|
||
.masthead{display:grid;grid-template-columns:245px minmax(240px,470px) 1fr;align-items:center;gap:36px;min-height:112px}.brand{display:flex;align-items:center;gap:13px;color:var(--ink);width:max-content}.brand:hover{text-decoration:none}.brand svg{width:48px;height:48px;color:#4e5a71}.brand-name{font-family:var(--serif);font-size:29px;font-weight:700;letter-spacing:-.045em;line-height:1.1}.tagline{font:9px/1.4 var(--mono);letter-spacing:.16em;display:block;margin-top:6px;color:var(--muted)}.header-search{display:flex;height:37px;position:relative}.header-search label{position:absolute;left:12px;top:4px;font-size:19px;color:#7a8496}.header-search input{background:var(--bg);border:1px solid var(--strong-line);border-right:0;min-width:0;width:100%;padding:6px 10px 6px 34px;font-size:12px}.header-search button{background:var(--soft);border:1px solid var(--strong-line);padding:0 16px;font-size:11px;font-weight:600}.header-links{display:flex;justify-content:flex-end;align-items:center;gap:24px;font-size:11px}.release{font-size:9px;letter-spacing:.04em;background:var(--blue-soft);border:1px solid #cbd9f4;border-radius:2px;padding:4px 8px;color:#36578f;white-space:nowrap}
|
||
.github-stars{display:inline-flex;align-items:center;gap:6px;flex-shrink:0;white-space:nowrap;border:1px solid var(--line);border-radius:2px;padding:4px 8px;line-height:1.8;font:10px/1.8 var(--mono);color:#536279;background:var(--soft)}.github-stars:hover{border-color:#b6c9e8;color:var(--blue);background:var(--blue-soft);text-decoration:none}.github-stars svg{width:12px;height:12px;flex-shrink:0}.github-stars .star-count{font-variant-numeric:tabular-nums}
|
||
.page-grid{display:grid;grid-template-columns:158px minmax(0,1fr);gap:45px;align-items:start}.contents{position:sticky;top:30px;padding-top:44px;font-size:11px}.contents-title{font-weight:600;font-size:12px;padding-bottom:8px;margin-bottom:8px;border-bottom:1px solid var(--line);color:var(--ink)}.contents a{display:block;padding:5px 0;color:#505b6e}.contents a:hover{color:var(--blue)}.contents a:first-of-type{color:var(--blue);font-weight:600}.sidebar-note{border-top:1px solid var(--line);margin-top:26px;padding-top:15px;font-size:10px;line-height:1.8;color:var(--muted)}.sidebar-note span{display:block;font-family:var(--serif);font-size:17px;color:#7b8ca5;margin-bottom:5px}.article{min-width:0;padding-top:20px}.article-title{display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--strong-line);padding-bottom:9px}.article-title h1{font:400 40px/1.2 var(--serif);letter-spacing:-.045em}.article-title>span{font-size:10px;color:var(--muted)}.article-tabs{display:flex;align-items:center;justify-content:space-between;gap:25px;border-bottom:1px solid var(--line);margin-bottom:17px}.tab-group{display:flex;gap:25px;align-items:center;font-size:11px}.tab-group a,.tab-group span{padding:9px 0}.tab-group .selected{color:var(--ink);border-bottom:2px solid var(--ink)}.from-line{font-size:10px;color:#737b87}.lead-grid{display:grid;grid-template-columns:1.04fr .96fr;gap:37px;align-items:center;padding:28px 0 42px}.eyebrow{font-size:9px;letter-spacing:.12em;color:var(--blue);font-weight:500}.hero h2{font:400 clamp(37px,4vw,61px)/1.08 var(--serif);letter-spacing:-.05em;margin:20px 0 24px;max-width:640px}.hero h2 em{font-weight:400;color:var(--blue)}.hero-description{font-size:14px;line-height:1.9;max-width:470px}.hero-description strong{color:var(--ink);font-weight:600}.hero-actions{display:flex;align-items:center;gap:24px;margin-top:26px;font-size:11px}.button{background:var(--blue);border:1px solid var(--blue);color:#fff;padding:10px 17px;display:inline-flex;gap:24px;align-items:center;border-radius:2px;font-weight:600}.button:hover{background:#2852a3;color:#fff;text-decoration:none}.hero-meta{font:9px var(--mono);color:var(--muted);margin-top:21px;line-height:1.8}
|
||
.atlas-box{position:relative;border:1px solid #c6d3e6;background:#fbfcff;min-width:0;padding-top:13px;border-radius:2px;overflow:hidden}.atlas-top{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:0 17px}.atlas-top h3{font:400 18px var(--serif);color:#31435e}.atlas-index{font:8px var(--mono);letter-spacing:.1em;color:#7a8da9}.atlas-stage{position:relative;width:100%;aspect-ratio:1.13;max-height:370px;background:radial-gradient(ellipse at 50% 45%,#edf4ff55,transparent 67%)}.atlas-stage canvas{display:none;width:100%;height:100%}.atlas-fallback{width:100%;height:100%;display:block}.atlas-ready canvas{display:block}.atlas-ready .atlas-fallback{display:none}.atlas-controls{display:flex;justify-content:space-between;align-items:center;padding:0 17px 13px;gap:12px;font:8px var(--mono);color:#697e9e}.atlas-controls button{display:none;min-height:28px;background:#fff;border:1px solid #c5d1e3;border-radius:2px;padding:4px 8px;font:9px var(--mono);color:#415879}.atlas-ready .atlas-controls button{display:block}.atlas-box figcaption{font-size:9px;line-height:1.65;color:#6d788b;border-top:1px solid #d9e2f0;padding:10px 17px;background:#f2f6fd}.atlas-details{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #d9e2f0;font-size:9px;background:#fff}.atlas-details>div{padding:9px 16px}.atlas-details>div+div{border-left:1px solid #d9e2f0}.atlas-details strong{display:block;font-weight:600;color:#3b4d69}.atlas-details span{color:#7a8491}.lead-note{border:1px solid #d1dced;border-left:3px solid #6e93cf;background:#f8faff;padding:13px 18px;display:flex;align-items:flex-start;gap:15px;font-size:11px;margin:0 0 32px}.lead-note strong{font-size:13px;line-height:1.4;color:#5474a4}.lead-note p{color:#536279;line-height:1.8}
|
||
section{margin-bottom:42px;scroll-margin-top:25px}.section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;border-bottom:1px solid var(--strong-line);margin-bottom:21px;padding-bottom:7px}.section-heading h2{font:400 27px/1.2 var(--serif);letter-spacing:-.025em;color:#26313f}.section-heading a{font-size:9px;white-space:nowrap}.section-heading h2 small{font:9px var(--mono);color:#7e8a9d;margin-right:13px;letter-spacing:0}.section-intro{font-size:12px;line-height:1.85;max-width:790px;margin-bottom:22px}.setup-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(210px,.7fr);gap:32px}.switcher{border-bottom:1px solid var(--line);gap:20px;align-items:center;margin-bottom:20px}.switcher button{border:0;background:transparent;color:#6d7789;font-size:11px;padding:0 0 8px}.switcher button[aria-pressed=true]{border-bottom:2px solid var(--blue);color:var(--blue)}.step{position:relative;padding:0 0 23px 39px}.step-number{position:absolute;left:0;top:0;width:23px;height:23px;border:1px solid #c3d1e5;background:#f1f6ff;border-radius:50%;display:flex;align-items:center;justify-content:center;font:10px var(--serif);color:#4770aa}.step:not(:last-of-type):before{content:"";position:absolute;top:29px;bottom:6px;left:11px;border-left:1px solid #dde4ef}.step h3{font-size:12px;font-weight:600;line-height:1.7;padding-top:1px}.step p{font-size:11px;line-height:1.75;margin-top:5px}.command{display:flex;justify-content:space-between;align-items:center;gap:15px;min-width:0;padding:12px 14px;border:1px solid #dce1e9;background:#f7f8fa;margin-top:11px;border-radius:2px}.command code{min-width:0;font-size:10px;line-height:1.8;white-space:pre-wrap}.copy{display:none;min-height:26px;align-items:center;background:#fff;border:1px solid #c6cdd8;border-radius:2px;color:#526278;font-size:9px;padding:3px 8px;flex-shrink:0}.js .copy{display:inline-flex}.copy:hover{border-color:var(--blue);color:var(--blue)}.quiet{font-size:10px;line-height:1.8;color:var(--muted)}.setup-note{margin-left:39px}.quick-reference{align-self:start;border:1px solid var(--line);font-size:11px}.quick-reference h3{font:400 19px var(--serif);text-align:center;padding:11px 10px;background:#edf3fc;border-bottom:1px solid #d5dfed}.quick-reference dl{display:grid;grid-template-columns:82px 1fr;gap:0;margin:0;padding:6px 13px}.quick-reference dt,.quick-reference dd{margin:0;padding:9px 0;border-bottom:1px solid #ebedf1;font-size:10px;line-height:1.7}.quick-reference dt{font-weight:600;color:#49566b}.quick-reference dd{color:#657187}.quick-reference p{padding:10px 13px;font-size:10px;line-height:1.9}.quick-reference .reference-command{border-top:1px solid #ebedf1;margin:0 13px;padding:11px 0;color:#455c7c}.command-toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:14px}.filters{gap:5px;flex-wrap:wrap}.filters button{min-height:28px;background:#fff;border:1px solid var(--line);color:#5e6b7d;border-radius:2px;font-size:10px;padding:5px 11px}.filters button[aria-pressed=true]{border-color:#a5bde8;background:var(--blue-soft);color:var(--blue)}#command-count{font:9px var(--mono);white-space:nowrap;color:#758093}.command-table{width:100%;border-collapse:collapse;table-layout:fixed;border:1px solid var(--line);font-size:11px}.command-table th{font-size:9px;letter-spacing:.05em;text-align:left;background:#edf1f6;color:#4d5b71;font-weight:600;border-bottom:1px solid #c8d0dd;padding:10px 14px}.command-table th:first-child{width:54%}.command-table td{padding:11px 14px;border-bottom:1px solid #e6e9ee;vertical-align:top;line-height:1.8;color:#606b7b}.command-table td:first-child{color:#334562}.command-table tr:nth-child(even){background:#fafbfd}.command-table code{font-size:10px}.command-help{margin-top:14px}.empty-results{padding:17px;background:var(--soft);border:1px solid var(--line);font-size:11px}.evidence-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:35px}.evidence-grid>div>p{font-size:12px;line-height:1.95;margin-bottom:15px}.evidence-grid strong{color:var(--ink);font-weight:600}.flow{border:1px solid var(--line)}.flow-item{display:grid;grid-template-columns:28px 1fr;gap:12px;padding:15px 17px;border-bottom:1px solid var(--line)}.flow-item:last-child{border:0}.flow-number{font:10px var(--mono);color:#6487bd;padding-top:3px}.flow-item h3{font-size:11px;font-weight:600}.flow-item p{font-size:10px;line-height:1.9;margin-top:5px}.faq-list details{border-bottom:1px solid var(--line);padding:15px 0}.faq-list details:first-child{padding-top:0}.faq-list summary{list-style:none;display:flex;justify-content:space-between;gap:20px;cursor:pointer;color:#37465b;font-size:12px}.faq-list summary::-webkit-details-marker{display:none}.faq-list summary:after{content:"+";font-family:var(--mono);color:#7c8ba3}.faq-list details[open] summary:after{content:"−"}.faq-list details p{font-size:11px;line-height:1.95;margin-top:12px;max-width:850px}.release-info{padding:13px 16px;border:1px solid var(--line);background:#fafbfc;font-size:10px;line-height:1.9;color:#657184;display:flex;justify-content:space-between;gap:25px;align-items:center;margin-top:28px}.release-info strong{color:#455770;font-weight:600}.release-info .command{margin:0;min-width:220px;padding:8px 12px}.footer{margin:28px 0 35px;padding-top:17px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:25px;font-size:9px;line-height:1.9;color:var(--muted)}.footer nav{display:flex;gap:18px;flex-wrap:wrap;align-items:flex-start}.footer p{max-width:610px}#copy-status{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);padding:9px 16px;background:#243c63;color:white;font-size:11px;border-radius:3px;box-shadow:0 5px 20px #0002;z-index:10;text-align:center}#copy-status:empty{display:none}
|
||
@media(min-width:1550px){.lead-grid{gap:70px}.hero h2{font-size:68px}.atlas-stage{max-height:400px}.hero-description{font-size:15px}}
|
||
@media(max-width:1150px){.wrap{width:calc(100% - 48px)}.masthead{grid-template-columns:220px minmax(200px,1fr) auto;gap:23px}.header-links{gap:15px}.header-links>a:first-child{display:none}.page-grid{grid-template-columns:130px minmax(0,1fr);gap:28px}.lead-grid{gap:23px}.hero h2{font-size:44px}.hero-description{font-size:12px}.atlas-top h3{font-size:16px}.setup-grid{gap:22px}.evidence-grid{gap:24px}.article-title h1{font-size:36px}.brand-name{font-size:26px}.brand svg{width:42px;height:42px}}
|
||
@media(max-width:850px){.wrap{width:calc(100% - 36px)}.masthead{grid-template-columns:1fr auto;min-height:91px;padding:17px 0;gap:16px}.header-search{grid-row:2;grid-column:1/-1}.header-links>a{display:none}.page-grid{grid-template-columns:1fr;gap:0}.contents{position:static;padding-top:16px;display:flex;flex-wrap:wrap;gap:6px 18px;border-top:1px solid var(--line);padding-bottom:12px;font-size:10px}.contents-title,.sidebar-note{display:none}.contents a{padding:0}.article{padding-top:12px}.lead-grid{grid-template-columns:1.1fr .9fr;padding-top:22px;gap:26px}.hero h2{font-size:43px}.hero-description{font-size:12px}.atlas-stage{aspect-ratio:1;max-height:320px}.setup-grid{grid-template-columns:1.15fr .85fr;gap:25px}.footer{font-size:9px}.header-links{justify-self:end}.hero-actions{gap:17px}.hero-meta{font-size:8px}.article-title>span{font-size:9px}.tab-group{gap:19px;font-size:10px}}
|
||
@media(max-width:850px){.header-links>.github-stars{display:inline-flex}}
|
||
@media(max-width:620px){.article-title h1{font-size:35px}.article-title>span{max-width:115px;text-align:right;line-height:1.6}.article-tabs{gap:12px}.tab-group{gap:17px;font-size:10px}.tab-group:last-child a:first-child{display:none}.lead-grid{grid-template-columns:1fr;gap:30px;padding-bottom:27px}.hero h2{font-size:clamp(39px,8.7vw,52px);max-width:520px;margin-block:18px}.hero-description{font-size:13px;max-width:none}.hero-actions{font-size:11px}.hero-meta{font-size:9px}.atlas-box{width:100%;max-width:440px;justify-self:center}.atlas-stage{aspect-ratio:1.2;max-height:335px}.atlas-top{padding-top:3px}.atlas-top h3{font-size:18px}.atlas-box figcaption{font-size:9px}.atlas-details>div{padding:10px 16px}.setup-grid,.evidence-grid{grid-template-columns:1fr;gap:25px}.quick-reference{max-width:none}.quick-reference dl{grid-template-columns:110px 1fr}.section-heading h2{font-size:25px}.section-heading a{font-size:8px}.section-heading h2 small{margin-right:9px;font-size:8px}.section-intro{font-size:12px}.step h3{font-size:12px}.step p{font-size:11px}.command code{font-size:10px}.command-toolbar{align-items:flex-start;gap:10px;flex-direction:column}.filters button{font-size:9px;padding:5px 10px}.command-table td,.command-table th{padding:10px;font-size:10px}.command-table th:first-child{width:54%}.command-table code{font-size:9px}.release-info{flex-direction:column;align-items:stretch;gap:12px}.release-info .command{min-width:0}.footer{flex-direction:column;gap:13px}.footer nav{gap:20px}.evidence-grid>div>p{font-size:12px}.flow-item h3{font-size:12px}.flow-item p{font-size:11px}.brand-name{font-size:27px}.lead-note{font-size:10px;padding:12px}.hero-meta{line-height:1.9}.from-line{font-size:9px}}
|
||
@media(max-width:620px){.masthead{column-gap:10px}.brand{gap:8px}.brand svg{width:34px;height:34px}.brand-name{font-size:23px}.tagline{font-size:8px;letter-spacing:.1em}.header-links{gap:8px}.github-stars{padding:4px 6px;font-size:9px}.release{padding:4px 6px;font-size:8px}}
|
||
@media(max-width:380px){.masthead{column-gap:8px}.brand-name{font-size:19px}.brand svg{width:28px;height:28px}.tagline{font-size:7px;letter-spacing:.05em}.header-links{gap:6px;max-width:132px;flex-wrap:wrap}.github-stars{padding:4px}.release{font-size:7px;padding:4px}}
|
||
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
|
||
</style>
|
||
</head>
|
||
<body>
|
||
<a class="skip" href="#main">Skip to content</a>
|
||
<header class="wrap masthead">
|
||
<a class="brand" href="#" aria-label="PH0MBER home">
|
||
<svg viewBox="0 0 60 60" aria-hidden="true" fill="none"><circle cx="30" cy="30" r="25" stroke="currentColor" stroke-width="1.2"/><ellipse cx="30" cy="30" rx="12" ry="25" stroke="currentColor" opacity=".55"/><path d="M7 20h46M5 32h50M10 44h40M30 5v50" stroke="currentColor" opacity=".45"/><text x="19" y="38" fill="currentColor" font-family="Georgia,serif" font-size="25">P</text><text x="34" y="43" fill="currentColor" font-family="Georgia,serif" font-size="13">W</text></svg>
|
||
<span><span class="brand-name">PH0MBER</span><span class="tagline">OSINT RESEARCHER</span></span>
|
||
</a>
|
||
<form class="header-search" id="command-search-form" action="#commands" role="search"><label for="command-search" aria-label="Find a command">⌕</label><input type="search" id="command-search" aria-label="Find a command" placeholder="Find a command or topic" autocomplete="off"><button type="submit">Search</button></form>
|
||
<nav class="header-links" aria-label="Project navigation"><a href="https://github.com/s41r4j/phomber#readme">Documentation</a><a href="https://github.com/s41r4j/phomber">GitHub ↗</a><a class="github-stars" id="github-stars" href="https://github.com/s41r4j/phomber/stargazers" aria-label="View PH0MBER stars on GitHub" title="View GitHub stars"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round" aria-hidden="true"><path d="m12 3 2.8 5.7 6.3.9-4.6 4.4 1.1 6.3-5.6-3-5.6 3 1.1-6.3L2.9 9.6l6.3-.9Z"/></svg><span class="star-count" id="github-star-count">Stars</span></a><span class="release">GEN2 · v0.0.2</span></nav>
|
||
</header>
|
||
<div class="wrap page-grid">
|
||
<nav class="contents" aria-label="Contents"><div class="contents-title">Contents</div><a href="#main">Overview</a><a href="#start">Quick start</a><a href="#commands">Command reference</a><a href="#evidence">Evidence & identity</a><a href="#faq">Common questions</a><a href="#release-info">Release information</a><div class="sidebar-note"><span>Source → finding</span>Every useful conclusion starts with something you can inspect.</div></nav>
|
||
<main class="article" id="main">
|
||
<div class="article-title"><h1>PH0MBER</h1><span>Open-source intelligence · Gen2</span></div>
|
||
<div class="article-tabs"><div class="tab-group"><span class="selected">Overview</span><a href="#start">Quick start</a><a href="#commands">Commands</a></div><div class="tab-group"><a href="https://github.com/s41r4j/phomber">View source ↗</a><a href="#release-info">Page information</a></div></div>
|
||
<p class="from-line">A field guide to public evidence, from the PH0MBER project.</p>
|
||
<div class="lead-grid">
|
||
<div class="hero">
|
||
<p class="eyebrow">OSINT RESEARCHER / OPEN SOURCE</p>
|
||
<h2>Public clues.<br>Inspectable <em>evidence.</em></h2>
|
||
<p class="hero-description"><strong>PH0MBER</strong> brings public-source collection, analyst review and a local investigation wiki into one terminal workflow. Start with what you know, follow the sources, and keep a record of how your findings change.</p>
|
||
<div class="hero-actions"><a class="button" href="#start">Start an investigation <span aria-hidden="true">→</span></a><a href="#commands">Explore commands</a></div>
|
||
<p class="hero-meta">Node.js 22+ · npm / npx · MIT</p>
|
||
</div>
|
||
<figure class="atlas-box" id="atlas-box" aria-labelledby="atlas-caption">
|
||
<div class="atlas-top"><h3>The evidence atlas</h3><span class="atlas-index">FIG. 01</span></div>
|
||
<div class="atlas-stage" id="atlas-stage">
|
||
<svg class="atlas-fallback" viewBox="0 0 400 345" aria-hidden="true" fill="none"><g stroke="#8aa9d9" stroke-width="1"><circle cx="200" cy="168" r="105"/><ellipse cx="200" cy="168" rx="44" ry="105"/><ellipse cx="200" cy="168" rx="83" ry="105"/><ellipse cx="200" cy="168" rx="105" ry="40"/><path d="M95 168h210M109 116h182M109 220h182"/><ellipse cx="200" cy="168" rx="153" ry="67" transform="rotate(-25 200 168)" stroke="#c8d7eb"/></g><g fill="#36c"><circle cx="130" cy="131" r="4"/><circle cx="240" cy="208" r="4"/><circle cx="210" cy="69" r="4"/><circle cx="304" cy="163" r="4"/></g><text x="39" y="75" font-size="10" fill="#697e9e" font-family="monospace">SOURCE</text><text x="284" y="263" font-size="10" fill="#697e9e" font-family="monospace">REVIEW</text></svg>
|
||
<canvas id="atlas" width="600" height="530" aria-hidden="true"></canvas>
|
||
</div>
|
||
<div class="atlas-controls"><span>PUBLIC SOURCES → ANALYST REVIEW</span><button id="motion-toggle" type="button" aria-pressed="false">Pause motion</button></div>
|
||
<div class="atlas-details"><div><strong>Local by design</strong><span>Your workspace, your reports</span></div><div><strong>Evidence preserved</strong><span>Snapshots & revision history</span></div></div>
|
||
<figcaption id="atlas-caption">A rotating 3D illustration of connected sources. Conceptual only; it contains no live investigation data.</figcaption>
|
||
</figure>
|
||
</div>
|
||
<div class="lead-note"><strong aria-hidden="true">ⓘ</strong><p>Matching handles are candidate leads. Source retrieval, identity assessment and claim credibility remain separate throughout the investigation. <a href="#evidence">How evidence is reviewed →</a></p></div>
|
||
<section id="start" aria-labelledby="start-title">
|
||
<div class="section-heading"><h2 id="start-title"><small>01</small>Quick start</h2><a href="https://github.com/s41r4j/phomber#readme">Full installation guide ↗</a></div>
|
||
<p class="section-intro">Three commands take you from a terminal to a readable investigation wiki. Source-only research needs no AI key, Python environment or Docker container.</p>
|
||
<div class="setup-grid">
|
||
<div>
|
||
<div class="switcher js-only" role="group" aria-label="Installation method"><button type="button" data-install="npm" aria-pressed="true">Install with npm</button><button type="button" data-install="npx" aria-pressed="false">Run with npx</button></div>
|
||
<div class="step"><span class="step-number" aria-hidden="true">1</span><h3 id="install-title">Install PH0MBER.</h3><p id="install-description">Install once, then run it from any terminal.</p><div class="command"><code id="cmd-install">npm install -g phomber</code><button class="copy" type="button" data-copy="cmd-install" aria-label="Copy installation command">Copy</button></div></div>
|
||
<div class="step"><span class="step-number" aria-hidden="true">2</span><h3>Build an investigation.</h3><p>The questionnaire collects identifiers and context. For direct input, use <code>phomber find "Full Name"</code>. This example keeps AI disabled.</p><div class="command"><code id="cmd-find">phomber find --no-ai</code><button class="copy" type="button" data-copy="cmd-find" aria-label="Copy investigation command">Copy</button></div></div>
|
||
<div class="step"><span class="step-number" aria-hidden="true">3</span><h3>Read your local wiki.</h3><p>Start the server and open the printed localhost URL to browse saved investigations.</p><div class="command"><code id="cmd-serve">phomber serve</code><button class="copy" type="button" data-copy="cmd-serve" aria-label="Copy server command">Copy</button></div></div>
|
||
<p class="quiet setup-note">Node.js 22+ is required for npm and NPX. <a href="https://www.npmjs.com/package/phomber">Check package status ↗</a></p>
|
||
</div>
|
||
<aside class="quick-reference" aria-label="Project facts"><h3>PH0MBER at a glance</h3><dl><dt>Generation</dt><dd>Gen2</dd><dt>Version</dt><dd>0.0.2</dd><dt>Interface</dt><dd>Interactive terminal & direct commands</dd><dt>Wiki</dt><dd>Localhost, port 4317 by default</dd><dt>Runtime</dt><dd>Node.js 22+</dd><dt>License</dt><dd>MIT</dd></dl><p>Run <code>phomber</code> with no arguments to open the interactive prompt. Inside it, omit the <code>phomber</code> prefix.</p><p class="reference-command">One-off alternative: <code>npx phomber</code></p></aside>
|
||
</div>
|
||
</section>
|
||
<section id="commands" aria-labelledby="commands-title">
|
||
<div class="section-heading"><h2 id="commands-title"><small>02</small>Command reference</h2><a href="https://github.com/s41r4j/phomber/blob/main/docs/ANALYST_WORKFLOW.md">Analyst guide ↗</a></div>
|
||
<p class="section-intro">Use the filters or the search above to find your next command. For options and examples, run <code>phomber help COMMAND</code>.</p>
|
||
<div class="command-toolbar"><div class="filters js-only" role="group" aria-label="Filter commands"><button type="button" data-filter="all" aria-pressed="true">All commands</button><button type="button" data-filter="research" aria-pressed="false">Research</button><button type="button" data-filter="scanners" aria-pressed="false">Scanners</button><button type="button" data-filter="evidence" aria-pressed="false">Evidence</button></div><span id="command-count" role="status">19 commands</span></div>
|
||
<table class="command-table"><thead><tr><th scope="col">COMMAND</th><th scope="col">PURPOSE</th></tr></thead><tbody id="command-rows">
|
||
<tr data-kind="research"><td><code>phomber</code></td><td>Open the interactive terminal.</td></tr>
|
||
<tr data-kind="research"><td><code>phomber find --no-ai</code></td><td>Build a guided source-only investigation.</td></tr>
|
||
<tr data-kind="research"><td><code>phomber serve</code></td><td>Browse saved investigations in your local wiki.</td></tr>
|
||
<tr data-kind="research"><td><code>phomber find --resume REPORT_ID --no-ai --no-serve</code></td><td>Update an existing investigation.</td></tr>
|
||
<tr data-kind="research"><td><code>phomber help find</code></td><td>See research options and examples.</td></tr>
|
||
<tr data-kind="scanners"><td><code>phomber email me@example.com</code></td><td>Check your own or authorized email syntax and mail-domain DNS; output is masked.</td></tr>
|
||
<tr data-kind="scanners"><td><code>phomber number +442079460000</code></td><td>Read offline numbering-plan metadata.</td></tr>
|
||
<tr data-kind="scanners"><td><code>phomber ip 8.8.8.8</code></td><td>Look up public IPv4 registration via RDAP.</td></tr>
|
||
<tr data-kind="scanners"><td><code>phomber mac 00:1A:2B:00:00:00</code></td><td>Look up a MAC vendor prefix.</td></tr>
|
||
<tr data-kind="scanners"><td><code>phomber whois example.com</code></td><td>Look up domain registration via RDAP.</td></tr>
|
||
<tr data-kind="scanners"><td><code>phomber dns example.com</code></td><td>Query public DNS records.</td></tr>
|
||
<tr data-kind="scanners"><td><code>phomber username octocat</code></td><td>Find candidate handles across four platforms.</td></tr>
|
||
<tr data-kind="evidence"><td><code>phomber reports</code></td><td>List saved investigations and their IDs.</td></tr>
|
||
<tr data-kind="evidence"><td><code>phomber review REPORT_ID</code></td><td>Inspect identity and claim assessments.</td></tr>
|
||
<tr data-kind="evidence"><td><code>phomber history REPORT_ID</code></td><td>List preserved report revisions.</td></tr>
|
||
<tr data-kind="evidence"><td><code>phomber diff REPORT_ID REVISION_HASH</code></td><td>Compare a revision with the current findings.</td></tr>
|
||
<tr data-kind="evidence"><td><code>phomber verify REPORT_ID</code></td><td>Check preserved evidence integrity.</td></tr>
|
||
<tr data-kind="evidence"><td><code>phomber search "project name"</code></td><td>Search local findings and article text.</td></tr>
|
||
<tr data-kind="evidence"><td><code>phomber reports export REPORT_ID</code></td><td>Export a portable report folder.</td></tr>
|
||
</tbody></table><p class="empty-results" id="command-empty" hidden>No matching commands. Clear the search or choose another category.</p>
|
||
<p class="quiet command-help">NPX follows the same pattern: <code>npx phomber serve</code>. See <code>phomber help scanners</code> for source checks, examples and limitations.</p>
|
||
</section>
|
||
<section id="evidence" aria-labelledby="evidence-title">
|
||
<div class="section-heading"><h2 id="evidence-title"><small>03</small>Evidence & identity</h2><a href="https://github.com/s41r4j/phomber/blob/main/docs/RESPONSIBLE_USE.md">Responsible use ↗</a></div>
|
||
<div class="evidence-grid"><div><p>An investigation should make its reasoning inspectable. A page can be retrieved successfully while its identity match remains unresolved and its claims still need review.</p><p><strong>Keep the distinctions visible.</strong> Inspect excerpts, record an analyst decision and the reason behind it, then revisit the review if the supporting evidence changes.</p><p>Reports retain source metadata and sanitized snapshots where available. Compare earlier states, check retained-content integrity and export portable HTML and JSON.</p><p class="quiet">Hashes help detect content changes. They do not establish authenticity or factual truth. AI-generated prose still requires human judgment.</p></div><div class="flow"><div class="flow-item"><span class="flow-number">01</span><div><h3>Collect within bounds</h3><p>Public APIs, request budgets, bounded pagination and visible source failures.</p></div></div><div class="flow-item"><span class="flow-number">02</span><div><h3>Preserve supporting evidence</h3><p>Source excerpts, sanitized snapshots, retrieval dates and SHA-256 checks.</p></div></div><div class="flow-item"><span class="flow-number">03</span><div><h3>Review the finding</h3><p>Separate extraction, identity and claim assessments with evidence-bound analyst decisions.</p></div></div><div class="flow-item"><span class="flow-number">04</span><div><h3>Revisit & export</h3><p>Search investigations, compare revisions and keep portable report folders.</p></div></div></div></div>
|
||
</section>
|
||
<section id="faq" aria-labelledby="faq-title"><div class="section-heading"><h2 id="faq-title"><small>04</small>Common questions</h2><a href="https://github.com/s41r4j/phomber/issues">Ask a question ↗</a></div><div class="faq-list">
|
||
<details><summary>Do I need an AI subscription or API key?</summary><p>Source-only research works without an AI key: use <code>phomber find --no-ai</code>. New wiki investigations use billed DeepSeek AI by default. AI research sends investigation context and selected public evidence to that provider. Use <code>--offline</code> for fresh cached evidence only; offline mode disables AI.</p></details>
|
||
<details><summary>How do I use reports and delete an investigation?</summary><p><code>phomber reports</code> prints a readable list. Use <code>phomber reports delete REPORT_ID</code> for a terminal confirmation, or choose Delete report in the local wiki. Scripts require <code>--yes</code>. Add <code>--format json</code> when you need machine-readable output. Separate exports and shared response cache remain after report deletion.</p></details>
|
||
<details><summary>How are repeated investigations organized?</summary><p>Matching supplied or reviewed profile identifiers, or a supplied name plus shared context, can group research runs into versions automatically. Names alone and ambiguous or conflicting matches stay separate. Profile history explains the grouping and provides split/move controls. Evidence and factual assessments stay separate for each version.</p></details>
|
||
<details><summary>Does serve work without extra flags?</summary><p>Yes. <code>phomber serve</code> starts the wiki and prints its URL. Open that address in your browser. <code>--open</code> is optional and opens the browser automatically. Press Ctrl+C to stop the server.</p></details>
|
||
<details><summary>Where do my investigations live?</summary><p>Installed, NPX and checkout commands share reports, settings, cache and saved keys in <code>~/.phomber</code> on macOS/Linux or <code>%USERPROFILE%\.phomber</code> on Windows. Use <code>phomber config</code> or <code>npx phomber config</code> to see the resolved workspace. Set <code>PHOMBER_HOME</code> to the same absolute path in each terminal to choose another folder. Data stays on this device; it is not synced across computers. This public website does not host your investigation wiki.</p></details>
|
||
<details><summary>Does a match confirm identity or ownership?</summary><p>No. Matching handles are candidate leads. Registration data and MAC prefixes do not identify a person or device owner. Phone tools provide numbering-plan metadata, not subscriber identity or live location. Source credibility and AI prose still need analyst review.</p></details>
|
||
<details><summary>Does an email check prove ownership or breach exposure?</summary><p>No. Use <code>phomber email ADDRESS</code> only for your own information or an authorized subject. It checks common syntax and public mail-domain DNS, masks the address and makes no mailbox-existence, ownership or breach claim. Privacy cleanup and verified-owner breach services are planned. Public availability does not establish accuracy or permission to contact or republish personal information.</p></details>
|
||
<details><summary>What is included in Gen2 version 0.0.2?</summary><p>The CLI, six legacy scanner equivalents, an email syntax/DNS check, public-source collection, optional AI research, weighted cross-source matching, text-based public PDF extraction, a local wiki, automatic profile versions, analyst reviews, preserved evidence and portable exports. Dedicated company research, privacy cleanup, address auditing, breach services and OCR are planned work.</p></details>
|
||
</div></section>
|
||
<div class="release-info" id="release-info"><div><strong>PH0MBER Gen2 · v0.0.2 · OSINT Researcher</strong><br>A single-file project guide. Your investigation wiki runs separately on localhost.<br>Created by <a href="https://github.com/s41r4j">s41r4j</a> · <a href="https://github.com/s41r4j/phomber/blob/main/LICENSE">MIT</a></div><div class="command"><code id="cmd-quickstart">npx phomber</code><button class="copy" type="button" data-copy="cmd-quickstart" aria-label="Copy NPX quickstart command">Copy</button></div></div>
|
||
<footer class="footer"><p>PH0MBER is independent and is not affiliated with Wikipedia or the Wikimedia Foundation. The encyclopedia-inspired layout supports reading and source review. No analytics, external fonts or tracking assets.</p><nav aria-label="Footer navigation"><a href="https://github.com/s41r4j/phomber">Source</a><a href="https://github.com/s41r4j/phomber#readme">Documentation</a><a href="https://github.com/s41r4j/phomber/issues">Issues</a></nav></footer>
|
||
</main>
|
||
</div>
|
||
<div id="copy-status" role="status" aria-live="polite"></div>
|
||
<script id="github-stars-script">
|
||
(async () => {
|
||
const badge = document.getElementById('github-stars');
|
||
const count = document.getElementById('github-star-count');
|
||
if (!badge || !count || typeof fetch !== 'function' || typeof AbortController !== 'function') return;
|
||
const controller = new AbortController();
|
||
const timeout = setTimeout(() => controller.abort(), 6000);
|
||
try {
|
||
const response = await fetch('https://api.github.com/repos/s41r4j/phomber', {
|
||
headers: { Accept: 'application/vnd.github+json' },
|
||
credentials: 'omit', referrerPolicy: 'no-referrer', cache: 'no-cache', signal: controller.signal
|
||
});
|
||
if (!response.ok) throw new Error('Star count unavailable');
|
||
const data = await response.json();
|
||
const stars = data.stargazers_count;
|
||
if (!Number.isSafeInteger(stars) || stars < 0) throw new Error('Invalid star count');
|
||
count.textContent = new Intl.NumberFormat('en-US').format(stars);
|
||
const label = stars === 1 ? '1 star on GitHub' : count.textContent + ' stars on GitHub';
|
||
badge.setAttribute('aria-label', label);
|
||
badge.title = label;
|
||
} catch {
|
||
badge.title = 'View GitHub stars; live count is currently unavailable';
|
||
} finally {
|
||
clearTimeout(timeout);
|
||
}
|
||
})();
|
||
</script>
|
||
<script>
|
||
(() => {
|
||
const select = selector => document.querySelector(selector);
|
||
const all = selector => Array.from(document.querySelectorAll(selector));
|
||
let category = 'all', statusTimer;
|
||
const filterCommands = () => {
|
||
const query = select('#command-search').value.trim().normalize('NFKC').toLocaleLowerCase();
|
||
const words = query.match(/[\p{L}\p{N}_-]+/gu) || [];
|
||
let count = 0;
|
||
all('#command-rows tr').forEach(row => {
|
||
row.hidden = (category !== 'all' && row.dataset.kind !== category) || !words.every(word => row.textContent.normalize('NFKC').toLocaleLowerCase().includes(word));
|
||
if (!row.hidden) count++;
|
||
});
|
||
select('#command-count').textContent = count + (count === 1 ? ' command' : ' commands') + (query ? ' matching “' + select('#command-search').value.trim() + '”' : '');
|
||
select('#command-empty').hidden = count !== 0;
|
||
};
|
||
const searchAllCommands = () => {
|
||
category = 'all';
|
||
all('[data-filter]').forEach(button => button.setAttribute('aria-pressed', String(button.dataset.filter === 'all')));
|
||
filterCommands();
|
||
};
|
||
select('#command-search').addEventListener('input', searchAllCommands);
|
||
select('#command-search-form').addEventListener('submit', event => {
|
||
event.preventDefault();
|
||
searchAllCommands();
|
||
location.hash = 'commands';
|
||
select('#commands').scrollIntoView({behavior: 'smooth', block: 'start'});
|
||
});
|
||
document.addEventListener('click', async event => {
|
||
const button = event.target.closest?.('button');
|
||
if (!button) return;
|
||
if (button.dataset.copy) {
|
||
const code = document.getElementById(button.dataset.copy);
|
||
let message = 'Command copied';
|
||
try {
|
||
if (!navigator.clipboard) throw new Error('Clipboard unavailable');
|
||
await navigator.clipboard.writeText(code.textContent);
|
||
} catch {
|
||
const range = document.createRange();
|
||
range.selectNodeContents(code);
|
||
const selection = window.getSelection();
|
||
if (selection) { selection.removeAllRanges(); selection.addRange(range); }
|
||
message = 'Command selected. Copy it with your keyboard.';
|
||
}
|
||
select('#copy-status').textContent = message;
|
||
clearTimeout(statusTimer);
|
||
statusTimer = setTimeout(() => { select('#copy-status').textContent = ''; }, 3500);
|
||
} else if (button.dataset.install) {
|
||
const npx = button.dataset.install === 'npx';
|
||
all('[data-install]').forEach(item => item.setAttribute('aria-pressed', String(item === button)));
|
||
select('#install-title').textContent = npx ? 'Run on demand.' : 'Install PH0MBER.';
|
||
select('#install-description').textContent = npx ? 'NPX downloads the package without installing it globally.' : 'Install once, then run it from any terminal.';
|
||
select('#cmd-install').textContent = npx ? 'npx phomber help' : 'npm install -g phomber';
|
||
select('#cmd-find').textContent = npx ? 'npx phomber find --no-ai' : 'phomber find --no-ai';
|
||
select('#cmd-serve').textContent = npx ? 'npx phomber serve' : 'phomber serve';
|
||
} else if (button.dataset.filter) {
|
||
category = button.dataset.filter;
|
||
all('[data-filter]').forEach(item => item.setAttribute('aria-pressed', String(item === button)));
|
||
filterCommands();
|
||
}
|
||
});
|
||
document.documentElement.classList.add('js');
|
||
})();
|
||
</script>
|
||
<script>
|
||
(() => {
|
||
const canvas = document.getElementById('atlas');
|
||
let ctx;
|
||
try { ctx = canvas.getContext('2d'); } catch { return; }
|
||
if (!ctx) return;
|
||
const box = document.getElementById('atlas-box');
|
||
const stage = document.getElementById('atlas-stage');
|
||
const button = document.getElementById('motion-toggle');
|
||
const reduced = matchMedia('(prefers-reduced-motion: reduce)');
|
||
let userPaused = null, inView = true, raf = 0, last = 0, angle = .25, width = 400, height = 350, frame = 0;
|
||
const paused = () => userPaused === null ? reduced.matches : userPaused;
|
||
const segments = [], nodes = [], connections = [];
|
||
const point = (lat, lon) => [Math.cos(lat) * Math.cos(lon), Math.sin(lat), Math.cos(lat) * Math.sin(lon)];
|
||
const path = points => { for (let i = 1; i < points.length; i++) segments.push([points[i - 1], points[i]]); };
|
||
for (let longitude = 0; longitude < 12; longitude++) {
|
||
const line = [];
|
||
for (let i = 0; i <= 64; i++) line.push(point(-Math.PI / 2 + Math.PI * i / 64, longitude * Math.PI / 6));
|
||
path(line);
|
||
}
|
||
for (let latitude = -2; latitude <= 2; latitude++) {
|
||
const line = [];
|
||
for (let i = 0; i <= 96; i++) line.push(point(latitude * Math.PI / 7, i * Math.PI / 48));
|
||
path(line);
|
||
}
|
||
for (let i = 0; i < 17; i++) {
|
||
const latitude = Math.asin(-.82 + i * 1.64 / 16);
|
||
nodes.push(point(latitude, i * 2.39996));
|
||
}
|
||
for (let i = 0; i < nodes.length; i++) {
|
||
connections.push([nodes[i], nodes[(i + 4) % nodes.length]]);
|
||
if (i % 2 === 0) connections.push([nodes[i], nodes[(i + 7) % nodes.length]]);
|
||
}
|
||
const rotate = p => {
|
||
const c = Math.cos(angle), s = Math.sin(angle);
|
||
const x = p[0] * c + p[2] * s, z = -p[0] * s + p[2] * c;
|
||
const tilt = -.26, cy = Math.cos(tilt), sy = Math.sin(tilt);
|
||
return [x, p[1] * cy - z * sy, p[1] * sy + z * cy];
|
||
};
|
||
const project = p => {
|
||
const scale = Math.min(width * .305, height * .36) * 3.7 / (3.7 - p[2]);
|
||
return [width / 2 + p[0] * scale, height / 2 - 7 - p[1] * scale, p[2]];
|
||
};
|
||
const draw = () => {
|
||
ctx.clearRect(0, 0, width, height);
|
||
const radius = Math.min(width * .305, height * .36), cx = width / 2, cy = height / 2 - 7;
|
||
const glow = ctx.createRadialGradient(cx - radius * .35, cy - radius * .4, 0, cx, cy, radius * 1.15);
|
||
glow.addColorStop(0, '#ffffff'); glow.addColorStop(.7, '#f5f9ff'); glow.addColorStop(1, '#e7effb66');
|
||
ctx.beginPath(); ctx.arc(cx, cy, radius, 0, Math.PI * 2); ctx.fillStyle = glow; ctx.fill();
|
||
ctx.save(); ctx.translate(cx, cy); ctx.rotate(-.42); ctx.beginPath(); ctx.ellipse(0, 0, radius * 1.43, radius * .42, 0, 0, Math.PI * 2); ctx.strokeStyle = '#b8cae555'; ctx.lineWidth = 1; ctx.stroke(); ctx.restore();
|
||
for (const [a, b] of segments) {
|
||
const p = project(rotate(a)), q = project(rotate(b));
|
||
const front = (p[2] + q[2]) / 2;
|
||
ctx.beginPath(); ctx.moveTo(p[0], p[1]); ctx.lineTo(q[0], q[1]);
|
||
ctx.strokeStyle = front > 0 ? 'rgba(72,112,181,' + (.21 + front * .3) + ')' : 'rgba(123,154,201,.10)';
|
||
ctx.lineWidth = front > .3 ? .8 : .6; ctx.stroke();
|
||
}
|
||
for (const [a, b] of connections) {
|
||
const p = project(rotate(a)), q = project(rotate(b));
|
||
if (p[2] < -.1 || q[2] < -.1) continue;
|
||
ctx.beginPath(); ctx.moveTo(p[0], p[1]); ctx.lineTo(q[0], q[1]); ctx.strokeStyle = '#4173ca2c'; ctx.lineWidth = .8; ctx.stroke();
|
||
}
|
||
const visibleNodes = nodes.map(node => project(rotate(node))).sort((a, b) => a[2] - b[2]);
|
||
for (const p of visibleNodes) {
|
||
const front = p[2] > 0, r = front ? 2.5 + p[2] * 1.1 : 1.6;
|
||
if (front) { ctx.beginPath(); ctx.arc(p[0], p[1], r + 4, 0, Math.PI * 2); ctx.fillStyle = '#376ec817'; ctx.fill(); }
|
||
ctx.beginPath(); ctx.arc(p[0], p[1], r, 0, Math.PI * 2); ctx.fillStyle = front ? '#396ec7' : '#bbcce3'; ctx.fill();
|
||
if (front) { ctx.strokeStyle = '#fff'; ctx.lineWidth = 1; ctx.stroke(); }
|
||
}
|
||
ctx.beginPath(); ctx.arc(cx, cy, radius + .5, 0, Math.PI * 2); ctx.strokeStyle = '#9bb5da77'; ctx.lineWidth = .8; ctx.stroke();
|
||
const fontSize = width < 340 ? 7 : 8;
|
||
ctx.font = fontSize + 'px ui-monospace, monospace'; ctx.fillStyle = '#758bad'; ctx.textAlign = 'left';
|
||
ctx.fillText('SOURCE', width * .08, height * .24); ctx.fillText('FINDING', width * .71, height * .74);
|
||
ctx.beginPath(); ctx.moveTo(width * .1, height * .27); ctx.lineTo(cx - radius * .67, cy - radius * .5);
|
||
ctx.moveTo(width * .75, height * .7); ctx.lineTo(cx + radius * .52, cy + radius * .45); ctx.strokeStyle = '#a8bddb99'; ctx.lineWidth = .7; ctx.stroke();
|
||
canvas.dataset.frame = String(++frame);
|
||
};
|
||
const tick = time => {
|
||
raf = 0;
|
||
if (paused() || document.hidden || !inView) return;
|
||
if (!last) last = time;
|
||
const delta = Math.min(time - last, 100);
|
||
if (delta >= 32) { angle += delta * .00012; last = time; draw(); }
|
||
raf = requestAnimationFrame(tick);
|
||
};
|
||
const sync = () => {
|
||
if (raf) cancelAnimationFrame(raf);
|
||
raf = 0; last = 0;
|
||
const stopped = paused();
|
||
button.textContent = stopped ? 'Play motion' : 'Pause motion';
|
||
button.setAttribute('aria-pressed', String(stopped));
|
||
canvas.dataset.motion = stopped ? 'paused' : 'playing';
|
||
draw();
|
||
if (!stopped && !document.hidden && inView) raf = requestAnimationFrame(tick);
|
||
};
|
||
const resize = () => {
|
||
const bounds = stage.getBoundingClientRect();
|
||
width = bounds.width; height = bounds.height;
|
||
if (width <= 0 || height <= 0) return;
|
||
const ratio = Math.min(devicePixelRatio || 1, 2);
|
||
canvas.width = Math.round(width * ratio); canvas.height = Math.round(height * ratio);
|
||
ctx.setTransform(ratio, 0, 0, ratio, 0, 0);
|
||
sync();
|
||
};
|
||
button.addEventListener('click', () => { userPaused = !paused(); sync(); });
|
||
reduced.addEventListener('change', sync);
|
||
document.addEventListener('visibilitychange', sync);
|
||
window.addEventListener('pagehide', () => { if (raf) cancelAnimationFrame(raf); raf = 0; });
|
||
window.addEventListener('pageshow', sync);
|
||
if ('IntersectionObserver' in window) {
|
||
new IntersectionObserver(entries => { inView = entries[0].isIntersecting; sync(); }).observe(stage);
|
||
}
|
||
if ('ResizeObserver' in window) new ResizeObserver(resize).observe(stage);
|
||
else window.addEventListener('resize', resize);
|
||
box.classList.add('atlas-ready');
|
||
resize();
|
||
})();
|
||
</script>
|
||
</body>
|
||
</html>
|