Initial commit — Silent Mode baseline (2026-07-29)

Snapshot of the decentralized-web stack at the point of the resolver+Theseus
rebuild deploy. Includes:

- Argus (BNS engine + resolver daemon + Sia gateway)
- AriadneResolver (Windows Inno installer bundle + Android APK sources +
  Firefox extension)
- TheseusNavigator (Electron browser)
- site/ (silentmode.st content, deployed to Sia at bns/silentmode/)
- design docs, roadmap, protocol spec

Secrets excluded via .gitignore: Argus/sia-s3.json, Argus/wallets.json,
Argus/ca/*.key,*.crt. Build outputs, node_modules, and bundled runtimes
also excluded.

Shipped hashes on dl.silentmode.st at this commit:
  AriadneResolver-Setup-0.1.0.exe    5bcb216eef31ea28ed767e4134ab74bd5ac69dfbd365fd249e9e6938e55c986a
  TheseusNavigator-Setup-0.0.1.exe   7c735e88bad2da3347145adba3016c8f626a18b8422289c8c6ba471972e2952b
  TheseusNavigator-0.0.1-portable.exe 008fd84445babeabb401b2bca40ea9466b24b0e6d6c85104da7640c5c5c84521
  ariadne-v0.2.apk                   635c8f04d44ef855a8390b9eeddb8cd2d50622e81cc4e5004e8daffc1bb0425c
This commit is contained in:
Local Dev 2026-07-29 13:54:34 +02:00
commit 038aca8c09
14 changed files with 11770 additions and 0 deletions

200
apps/index.html Normal file
View file

@ -0,0 +1,200 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Apps &amp; downloads — Silent Mode</title>
<meta name="description" content="Downloads for Silent Mode clients: Theseus Navigator (desktop browser), Ariadne Resolver (Windows), Ariadne for Android APK. Every artifact carries a SHA-256, verifiable against the on-chain release index.">
<link rel="stylesheet" href="../shared.css">
<style>
/* tabs — used only on this page for now */
.tabs{display:flex;gap:4px;margin:1.4rem 0 1.6rem;border-bottom:1px solid var(--line);flex-wrap:wrap}
.tab{background:none;border:none;padding:10px 22px;color:var(--mut);font:inherit;
cursor:pointer;border-bottom:2px solid transparent;font-size:14.5px;font-weight:500}
.tab:hover{color:var(--ink)}
.tab.here{color:var(--acid);border-bottom-color:var(--acid)}
.pane[hidden]{display:none}
/* download listing — shared with the release notes format on the old homepage */
.dl{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;flex-wrap:wrap;
background:var(--panel);border:1px solid var(--line);border-radius:12px;
padding:16px 20px;margin-bottom:12px}
.dl > div:first-child{flex:1;min-width:240px}
.dl h3{margin:0 0 .3rem}
.dl p{margin:.3rem 0 0;color:var(--mut);font-size:14px}
.dl .meta{color:var(--dim);font-size:12.5px;margin-top:.5rem}
.dl .act{white-space:nowrap;display:flex;flex-direction:column;gap:6px}
.dl .act .btn{padding:9px 16px;font-size:13.5px;text-align:center}
.dl .act .soon{color:var(--dim);font-size:13px;border:1px dashed var(--line);
border-radius:999px;padding:7px 16px;display:inline-block;text-align:center}
.hashes{flex-basis:100%;margin-top:12px;border-top:1px solid var(--line);padding-top:12px}
.hashes .h{display:flex;gap:8px;flex-wrap:wrap;align-items:baseline;font-size:12px;color:var(--dim);margin-top:4px}
.hashes .h b{color:var(--mut);font-weight:600;min-width:110px}
.hashes code{font-family:ui-monospace,monospace;font-size:11.5px;color:#c9d4e3;word-break:break-all}
</style>
</head>
<body>
<nav class="topnav">
<a class="brand" href="../">⛓️ Silent <span class="g">Mode</span></a>
<a href="../nav/">Tools</a>
<a href="./" class="here">Apps</a>
<a href="../register.html">Names</a>
<a href="../store/">Store</a>
<a href="../hermes/">Messenger</a>
</nav>
<header class="hero">
<h1>Apps &amp; <span class="g">downloads</span></h1>
<p class="tag">Every Silent Mode client, with its version, size, and SHA-256. Nothing
here is signed by an authority your device already trusts — by design. The
fingerprint is the real check.</p>
</header>
<div class="wrap">
<div class="tabs" role="tablist">
<button class="tab here" data-tab="desktop" role="tab">Desktop</button>
<button class="tab" data-tab="mobile" role="tab">Mobile</button>
</div>
<!-- ============ DESKTOP ============ -->
<div id="pane-desktop" class="pane">
<div class="dl" id="theseus">
<div>
<span class="pill p-alpha">alpha</span>
<h3>Theseus Navigator</h3>
<p>A desktop browser that speaks BNS names natively. Tabs, search, a home page,
one-click Tor, and a registry badge on every page showing whether the content
came from the chain, from Sia, or from a server. Changes nothing on your system.</p>
<div class="meta">Windows 64-bit · ~92 MB · v0.0.1 · unsigned build (no code-signing certificate)</div>
</div>
<div class="act">
<a class="btn" href="https://dl.silentmode.st/TheseusNavigator-Setup-0.0.1.exe">Installer</a>
<a class="btn ghost" href="https://dl.silentmode.st/TheseusNavigator-0.0.1-portable.exe">Portable .exe</a>
</div>
<div class="hashes">
<div style="color:var(--mut);font-size:12.5px">SHA-256 — verify your download before running:</div>
<div class="h"><b>Installer</b><code>7c735e88bad2da3347145adba3016c8f626a18b8422289c8c6ba471972e2952b</code></div>
<div class="h"><b>Portable</b><code>008fd84445babeabb401b2bca40ea9466b24b0e6d6c85104da7640c5c5c84521</code></div>
</div>
</div>
<div class="dl" id="resolver">
<div>
<span class="pill p-alpha">alpha</span>
<h3>Ariadne Resolver</h3>
<p>A small background service plus an installer. Teaches your <i>whole computer</i>
to open BNS names in <i>every</i> browser, with HTTPS working. Asks for
administrator rights because it changes how your machine resolves names —
everything reverses with the bundled uninstaller.</p>
<div class="meta">Windows 64-bit · v0.1.0 · unsigned build</div>
</div>
<div class="act">
<a class="btn" href="https://dl.silentmode.st/AriadneResolver-Setup-0.1.0.exe">Installer</a>
</div>
<div class="hashes">
<div style="color:var(--mut);font-size:12.5px">SHA-256 — verify before elevating:</div>
<div class="h"><b>Installer</b><code>5bcb216eef31ea28ed767e4134ab74bd5ac69dfbd365fd249e9e6938e55c986a</code></div>
</div>
</div>
<div class="dl" id="extension">
<div>
<span class="pill p-alpha">alpha</span>
<h3>Ariadne for Firefox</h3>
<p>A browser add-on that resolves BNS names inside Firefox. 8 KB, no dependencies,
no background service, no system changes. Also runs on Firefox for Android.</p>
<div class="meta">Firefox · ~8 KB · packaging in progress</div>
</div>
<div class="act">
<span class="soon">Packaging in progress</span>
</div>
</div>
<div class="note"><b>Verifying a Windows download.</b> After downloading, compute the
SHA-256 and compare it to the value above:
<code class="inline">certutil -hashfile &lt;file&gt; SHA256</code>. Builds carry
<b>no code-signing certificate</b> — that requires a legal identity, which is what
this project exists to avoid. Windows will warn about an unrecognized app; that
warning is expected. The hash is the real check.</div>
</div>
<!-- ============ MOBILE ============ -->
<div id="pane-mobile" class="pane" hidden>
<div class="dl" id="android">
<div>
<span class="pill p-alpha">alpha</span>
<h3>Ariadne for Android</h3>
<p>A phone app that resolves BNS names on the device itself — it talks to Bitcoin
Cash nodes directly, with no relay and no account. Tabs, a start page built
from the names actually registered on chain, and a badge on every page showing
whether the name came from the chain or from ordinary DNS, with the block and
transaction behind it one tap away.</p>
<div class="meta">Android 5.0+ (API 21) · ~97 KB · v0.2 · self-signed release key</div>
</div>
<div class="act">
<a class="btn" href="https://dl.silentmode.st/ariadne-v0.2.apk">Download APK</a>
</div>
<div class="hashes">
<div style="color:var(--mut);font-size:12.5px">SHA-256 — verify before installing:</div>
<div class="h"><b>ariadne-v0.2.apk</b><code>635c8f04d44ef855a8390b9eeddb8cd2d50622e81cc4e5004e8daffc1bb0425c</code></div>
<div class="h"><b>Signing key</b><code>46ebbbe5dc73148d66410fd0337b1e6683472128c983e8e2578200b9e3ca548c</code></div>
</div>
</div>
<div class="note"><b>Installing on Android.</b> The app is not in the Play Store —
distributing there requires a legal identity and Google's permission, the two things
this project exists to do without. You will have to allow installation from your
browser or file manager once, and your phone may warn you about an app from an
unknown developer. <b>The signing key fingerprint above is what matters</b>: every
future update is signed with the same key, and Android will refuse to install an
update signed by anyone else — so once you have checked it, that check protects
every version after this one.</div>
<div class="note warn"><b>iOS.</b> Not yet. Apple's rules make what Ariadne does on
Android (intercepting requests, running its own resolver) considerably harder to
ship inside the App Store, and outside it there is no way to install one. Under
investigation.</div>
</div>
<div class="note" style="margin-top:2rem">The machine-readable list of every published
artifact is at <a href="../releases-manifest.json"><code class="inline">releases-manifest.json</code></a>,
and the human-readable version with verify instructions is <a href="../releases/">here</a>.
The canonical fingerprints live on the chain, at
<code class="inline">releases.silentmode.bch</code>.</div>
</div>
<footer>
<div>Silent Mode — a Deviant project.</div>
<div class="fine">Alpha software on a test network. Names, sites and downloads shown
here are experimental and may change or disappear without notice. Nothing here is
a service, a product guarantee, or an investment. Verify everything against the chain.</div>
</footer>
<script>
// Tab switching + deep links: /apps/#theseus → Desktop tab; #android → Mobile tab.
const panes = {desktop:['theseus','resolver','extension'], mobile:['android']};
const idToTab = Object.fromEntries(Object.entries(panes).flatMap(([tab,ids])=>ids.map(id=>[id,tab])));
function activate(tab, scrollTo){
document.querySelectorAll('.tab').forEach(b=>b.classList.toggle('here', b.dataset.tab===tab));
document.querySelectorAll('.pane').forEach(p=>p.hidden = p.id !== 'pane-'+tab);
if (scrollTo) document.getElementById(scrollTo)?.scrollIntoView({behavior:'smooth',block:'start'});
}
document.querySelectorAll('.tab').forEach(b=>{
b.addEventListener('click', ()=>activate(b.dataset.tab));
});
const hash = location.hash.slice(1);
if (hash && idToTab[hash]) activate(idToTab[hash], hash);
</script>
</body>
</html>

123
hermes/index.html Normal file
View file

@ -0,0 +1,123 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Hermes — messaging by name — Silent Mode</title>
<meta name="description" content="Hermes: end-to-end encrypted messaging where your Bitcoin Cash name is your identity. NIP-17 sealed DMs over Nostr, no email, no phone number, no company account.">
<link rel="stylesheet" href="../shared.css">
</head>
<body>
<nav class="topnav">
<a class="brand" href="../">⛓️ Silent <span class="g">Mode</span></a>
<a href="../nav/">Tools</a>
<a href="../apps/">Apps</a>
<a href="../register.html">Names</a>
<a href="../store/">Store</a>
<a href="./" class="here">Messenger</a>
</nav>
<header class="hero">
<div class="mark">⛓️✉️</div>
<h1>Hermes <span class="pill p-designed" style="vertical-align:middle;font-size:12px;margin-left:.6rem">designed · not yet built</span></h1>
<p class="tag">End-to-end encrypted DMs over Nostr, addressed by your
<code class="inline">.bch</code> name instead of a public-key string. Same wallet
is your identity — no email, no phone number, no company, no server that can delete
your account.</p>
</header>
<div class="wrap narrow">
<section class="plain">
<h2>The one idea that makes this different</h2>
<p class="lede">Every existing Nostr client has the same wart: identity is
<code class="inline">npub1q8s7f3k…</code> gibberish. The human-name fix — NIP-05 —
resolves <code class="inline">alice@example.com</code> through a DNS domain and a
web server. That is exactly the ICANN + server chain Silent Mode exists to escape.
Decentralized messaging bolted onto centralized identity.</p>
<div class="note"><b>The Hermes pitch.</b><br>
<code class="inline">alice.bch</code> publishes her Nostr pubkey as an on-chain
record. Her name certificate <i>is</i> her verified, seizure-resistant identity.
Message anyone by their <code class="inline">.bch</code> name — no phone number, no
email, no ICANN, no company, no server that can delete your account.</div>
</section>
<section>
<h2>How it works</h2>
<ol class="steps">
<li><b>Your name owns your key.</b>
<span>Register any name you like on the chain (or reuse one you already own),
publish your Nostr pubkey to it as a new <code class="inline">np</code> record.
The key is derived from the same wallet seed as the name itself, so one seed
backs both.</span></li>
<li><b>Find people by name.</b>
<span>Type <code class="inline">bob.bch</code>. The client resolves it against
the chain, pulls <code class="inline">np</code> (Nostr pubkey) and
<code class="inline">nr</code> (preferred relays). No directory server involved.</span></li>
<li><b>Send the message sealed.</b>
<span>NIP-17 gift-wrapped DMs — the relay sees neither sender nor content, only
that a wrap addressed to some pubkey exists. Route over Tor to also hide your
IP; Theseus already can.</span></li>
<li><b>The name shows, not the pubkey.</b>
<span>Incoming messages reverse-resolve pubkey → name where possible, so your
chat list looks like a normal chat list — not a wall of hex.</span></li>
</ol>
</section>
<section>
<h2>Where it will live</h2>
<div class="grid">
<div class="card">
<h3>In Theseus <span class="src s-chain">desktop</span></h3>
<p>A Messages panel inside the browser you already have. Routes relay traffic over
Tor. Reuses the built-in wallet's seed as the messaging identity.</p>
</div>
<div class="card">
<h3>In Ariadne mobile <span class="src s-chain">phone</span></h3>
<p>A Messages screen in the existing Android app. Same seed, same identity — you
can message from either device without a linked-account handshake.</p>
</div>
</div>
</section>
<section>
<h2>Honest boundaries</h2>
<div class="grid">
<div class="card">
<h3>Messaging, not email</h3>
<p>No Gmail interop — by design. A separate anonymous-mailbox product covers
"sign up on services without leaking a real address."</p>
</div>
<div class="card">
<h3>Metadata resistance is good, not perfect</h3>
<p>NIP-17 hides sender and content from relays. Relays still see the recipient
pubkey, timing, and your connection IP unless you route over Tor. The UI will
tell you when it's on.</p>
</div>
<div class="card">
<h3>Relays are Nostr's soft spot</h3>
<p>A message lives only while some relay keeps it. Silent Mode runs one relay on
the same anonymous VPS as the gateway, and writes to a few public relays for
reach and redundancy.</p>
</div>
</div>
</section>
<div class="note warn"><b>Status: designed, not built.</b> The full protocol design is
in <a href="https://github.com/deviant"><code class="inline">Hermes/DESIGN-hermes.md</code></a>
(mirror). Nothing to install yet — this page exists to say what is coming, and to
make it possible to ask for updates in the messaging panel of a future Theseus or
Ariadne build.</div>
</div>
<footer>
<div>Silent Mode — a Deviant project.</div>
<div class="fine">Named for the messenger of the gods. Not yet built. Contents subject
to change until the first client ships.</div>
</footer>
</body>
</html>

160
index.html Normal file
View file

@ -0,0 +1,160 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Silent Mode — decentralized web infrastructure</title>
<meta name="description" content="Silent Mode is a development department for the decentralized web: domain names on the Bitcoin Cash blockchain, hosting without a host, and the clients that reach them — browser, resolver, extension, phone app.">
<link rel="stylesheet" href="shared.css">
</head>
<body>
<nav class="topnav">
<a class="brand" href="/">⛓️ Silent <span class="g">Mode</span></a>
<a href="nav/">Tools</a>
<a href="apps/">Apps</a>
<a href="register.html">Names</a>
<a href="store/">Store</a>
<a href="hermes/">Messenger</a>
</nav>
<header class="hero">
<div class="mark">⛓️</div>
<h1>Silent <span class="g">Mode</span></h1>
<p class="tag">A development department for the decentralized web. We build the names,
the hosting, and the clients that reach them — everything you need to run a site
nobody can seize, and everything you need to visit one.</p>
<div class="cta">
<a class="btn acid" href="apps/#theseus">Download the browser</a>
<a class="btn ghost" href="nav/">See all tools</a>
<a class="btn ghost" href="https://navigate.st/bns/silentmode.bch">See our .bch demo</a>
</div>
</header>
<div class="wrap">
<!-- ============ .st vs .bch — the split ============ -->
<div class="note" style="margin-top:1.6rem;font-size:14.5px;border-left-color:var(--sia)">
<b>This page is ordinary web infrastructure.</b> <code class="inline">silentmode.st</code>
runs on nginx, a rented server, an ICANN domain, and a Let's Encrypt certificate — because
the point of this page is to <i>talk about</i> the alternative web, and the widest
audience needs no install to read it.
<br><br>
The project's own demonstration lives at <b><a href="https://navigate.st/bns/silentmode.bch">silentmode.bch</a></b>
— same project, hosted <i>with</i> the tools it describes. No host, no registrar, no DNS,
no certificate authority.
<span style="display:block;color:var(--dim);font-size:12.5px;margin-top:.6rem">
Any resolver installed? Try it natively: <a href="https://silentmode.bch/"><code class="inline">https://silentmode.bch/</code></a>
</span>
</div>
<!-- ============ TOOLS ============ -->
<section class="plain">
<h2>Ways in — pick one</h2>
<p class="lede">Three paths to open a name registered on the Bitcoin Cash chain, from
"nothing installed" to "full browser." The <a href="nav/">tools hub</a> explains
each in depth.</p>
<div class="grid">
<div class="card">
<span class="pill p-live">live</span>
<h3>Relay <span class="src s-srv">no install</span></h3>
<p>Read any <code class="inline">.bch</code> name through <a href="https://navigate.st/">navigate.st</a>
over ordinary HTTPS. Works on any device, in any browser, without downloads.</p>
</div>
<div class="card">
<span class="pill p-alpha">alpha</span>
<h3>Theseus Navigator <span class="src s-chain">browser</span></h3>
<p>A desktop browser that speaks <code class="inline">.bch</code> and other BNS TLDs
natively — provenance badge on every page, secret-free.</p>
<p style="margin-top:.8rem"><a href="apps/#theseus">Download for Windows →</a></p>
</div>
<div class="card">
<span class="pill p-alpha">alpha</span>
<h3>Ariadne Resolver <span class="src s-chain">system-wide</span></h3>
<p>A small background service that teaches your whole computer to open BNS names
in <i>every</i> browser. Windows now; other platforms next.</p>
<p style="margin-top:.8rem"><a href="apps/#resolver">Download →</a></p>
</div>
<div class="card">
<span class="pill p-alpha">alpha</span>
<h3>Ariadne for Android <span class="src s-chain">phone</span></h3>
<p>Resolve <code class="inline">.bch</code> names on the phone itself. Tabs, tap-to-verify
provenance badge, no account.</p>
<p style="margin-top:.8rem"><a href="apps/#android">Download APK →</a></p>
</div>
</div>
</section>
<!-- ============ NAMES + HOSTING ============ -->
<section>
<h2>Names &amp; hosting</h2>
<p class="lede">Own a name on the Bitcoin Cash blockchain — permanent, no renewal, no
registrar who can take it back. Attach a website you host anywhere: inside the
blockchain transaction, on the Sia storage network, or on a server you already run.</p>
<div class="grid">
<div class="card">
<span class="pill p-live">live</span>
<h3>Register a name</h3>
<p>Search availability, mint the name certificate to your own wallet, done.
Fractions of a cent, no monthly bill.</p>
<p style="margin-top:.8rem"><a href="register.html">Search a name →</a></p>
</div>
<div class="card">
<span class="pill p-alpha">alpha</span>
<h3>Point it at content</h3>
<p>Three storage backends — inline on chain (tiny pages), Sia network (full sites,
encrypted &amp; sharded across strangers), or your own server.</p>
</div>
<div class="card">
<span class="pill p-designed">designed</span>
<h3>Hosting pact <span class="src s-sia">Argo</span></h3>
<p>The incentive layer nobody pays for today: independent hosts pooling to keep
your site up, paid by a covenant on chain. Designed; not built.</p>
</div>
</div>
</section>
<!-- ============ APP STORE + MESSENGER ============ -->
<section>
<h2>Coming next</h2>
<p class="lede">Two products moving from design into build. Both use BNS names as the
root of identity, so nothing about them depends on ICANN, app stores, or accounts.</p>
<div class="grid">
<div class="card">
<span class="pill p-designed">designed</span>
<h3>App store</h3>
<p>An app-store-shaped listing where the entries themselves live on chain and the
reviews are signed endorsements you filter by who you trust. No gatekeeper
approves what ships.</p>
<p style="margin-top:.8rem"><a href="store/">How it will work →</a></p>
</div>
<div class="card">
<span class="pill p-designed">designed</span>
<h3>Hermes — messenger</h3>
<p>End-to-end encrypted DMs over Nostr, addressed by your <code class="inline">.bch</code>
name instead of a public-key string. Same wallet is your identity — no email,
no phone number, no company.</p>
<p style="margin-top:.8rem"><a href="hermes/">Read the design →</a></p>
</div>
</div>
</section>
<div class="note"><b>Verify everything, trust nothing.</b> Every download published here is
fingerprinted with SHA-256; the canonical list is at
<a href="releases/">/releases/</a>. Alpha software on a test network — expect it to
change, and check hashes before you install.</div>
</div>
<footer>
<div>Silent Mode — a Deviant project.</div>
<div class="fine">A development department for the decentralized web. Nothing here is a
service, product guarantee, or investment. Verify against the chain; trust nothing
that cannot be checked.</div>
</footer>
</body>
</html>

5
js/bns-register.js Normal file

File diff suppressed because one or more lines are too long

2049
js/libauth.js Normal file

File diff suppressed because one or more lines are too long

7040
js/wizardconnect.js Normal file

File diff suppressed because it is too large Load diff

170
nav/index.html Normal file
View file

@ -0,0 +1,170 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Tools — Silent Mode</title>
<meta name="description" content="Four ways to open BNS names on the Bitcoin Cash blockchain: the relay (no install), Theseus Navigator (browser), Ariadne Resolver (system-wide), and Ariadne for Firefox and Android.">
<link rel="stylesheet" href="../shared.css">
</head>
<body>
<nav class="topnav">
<a class="brand" href="../">⛓️ Silent <span class="g">Mode</span></a>
<a href="./" class="here">Tools</a>
<a href="../apps/">Apps</a>
<a href="../register.html">Names</a>
<a href="../store/">Store</a>
<a href="../hermes/">Messenger</a>
</nav>
<header class="hero">
<h1>The <span class="g">tools</span></h1>
<p class="tag">Four ways to reach a name registered on the Bitcoin Cash chain, from
"nothing installed" to "the whole computer speaks it." Pick by how much of your
machine you want to change.</p>
</header>
<div class="wrap">
<!-- ============ RELAY ============ -->
<section id="relay" class="plain">
<h2>1 · The remote relay <span class="pill p-live" style="vertical-align:middle;margin-left:.4rem">live</span></h2>
<p class="lede">A public gateway that reads the blockchain for you and hands the page to
your ordinary browser over ordinary HTTPS. Works on any phone, tablet or computer,
in any browser, with nothing to download and no settings to change.</p>
<table>
<tr><th>Open this</th><th>What you get</th><th>Where the page lives</th></tr>
<tr><td><a href="https://navigate.st/bns/hello.bch"><code>navigate.st/bns/hello.bch</code></a></td>
<td>A small page</td><td><span class="src s-chain">inside a blockchain transaction</span></td></tr>
<tr><td><a href="https://navigate.st/bns/coinspectrum.deviant.bch"><code>navigate.st/bns/coinspectrum.deviant.bch</code></a></td>
<td>A full multi-file site</td><td><span class="src s-sia">Sia storage network</span></td></tr>
<tr><td><a href="https://navigate.st/bns/coinspectrum.bch"><code>navigate.st/bns/coinspectrum.bch</code></a></td>
<td>The same site again</td><td><span class="src s-srv">an ordinary web server</span></td></tr>
<tr><td><a href="https://navigate.st/bns/argo.bch"><code>navigate.st/bns/argo.bch</code></a></td>
<td>A small page</td><td><span class="src s-chain">inside a blockchain transaction</span></td></tr>
</table>
<div class="note warn"><b>What the relay costs you.</b> Because it resolves names on your
behalf, the relay operator can see which <code class="inline">.bch</code> sites you
ask for. It is also one thing that can be blocked. Install anything below and the
lookup happens on your own machine — no operator in the middle.</div>
</section>
<!-- ============ THESEUS ============ -->
<section id="theseus">
<h2>2 · Theseus Navigator — the browser <span class="pill p-alpha" style="vertical-align:middle;margin-left:.4rem">alpha</span></h2>
<p class="lede">A desktop browser that speaks <code class="inline">.bch</code>,
<code class="inline">.p2p</code> and other BNS TLDs natively. Tabs, search, a home
page, a one-click Tor switch, and a registry badge on every page showing which
chain a name resolved on and whether the content came from the chain, from Sia, or
from a server. Changes nothing on your system.</p>
<div class="grid">
<div class="card">
<h3>What it's for</h3>
<p>Somebody who wants to browse BNS names on their own laptop without touching the
DNS or the trust store. Portable and installer both available.</p>
</div>
<div class="card">
<h3>What it needs</h3>
<p>Windows 64-bit. macOS and Linux builds not yet packaged.</p>
</div>
<div class="card">
<h3>Verification</h3>
<p>Unsigned by design — a code-signing certificate would require a legal identity,
which is what this project exists to avoid. Check the SHA-256 on the download
page against the on-chain <a href="../releases/"><code class="inline">releases/</code></a> list.</p>
</div>
</div>
<div class="cta" style="justify-content:flex-start">
<a class="btn acid" href="../apps/#theseus">Download →</a>
<a class="btn ghost" href="../releases/">See checksums</a>
</div>
</section>
<!-- ============ RESOLVER ============ -->
<section id="resolver">
<h2>3 · Ariadne Resolver — system-wide <span class="pill p-alpha" style="vertical-align:middle;margin-left:.4rem">alpha</span></h2>
<p class="lede">A small background service plus an installer. Teaches your <i>whole
computer</i> to open BNS names in <i>every</i> browser, with HTTPS working. The most
complete option; asks for administrator rights because it changes how your machine
resolves names.</p>
<div class="grid">
<div class="card">
<h3>What it does</h3>
<p>Runs a local DNS resolver that answers BNS names from the chain first and
forwards everything else. Mints TLS certificates on the fly, signed by a local
root that's <b>name-constrained</b> to the BNS TLDs — it cannot vouch for
<code class="inline">.com</code>.</p>
</div>
<div class="card">
<h3>What it changes</h3>
<p>Adds a background service, points DNS at loopback, imports one root certificate
into the machine trust store. Everything reverses with the bundled uninstaller.</p>
</div>
<div class="card">
<h3>What it needs</h3>
<p>Windows now. Linux/macOS after — the daemon itself is portable Node.js.</p>
</div>
</div>
<div class="cta" style="justify-content:flex-start">
<a class="btn acid" href="../apps/#resolver">Download →</a>
</div>
</section>
<!-- ============ EXTENSION ============ -->
<section id="extension">
<h2>4 · Ariadne for Firefox — the extension <span class="pill p-alpha" style="vertical-align:middle;margin-left:.4rem">alpha</span></h2>
<p class="lede">A browser add-on that resolves BNS names inside Firefox — no background
service, no system changes. The lightest install: 8 KB, zero dependencies.</p>
<div class="grid">
<div class="card">
<h3>What it's for</h3>
<p>Firefox users who want BNS in one browser only, without touching the OS. Also
runs on <b>Firefox for Android</b>.</p>
</div>
<div class="card">
<h3>What it costs</h3>
<p>Nothing to run — it resolves names in-extension against public electrum nodes.
No local daemon, no hosted resolver, no account.</p>
</div>
<div class="card">
<h3>Known limits</h3>
<p>No TLS pinning yet — sites reached over <code class="inline">ip</code> records
are only as trustworthy as the upstream server. Being fixed.</p>
</div>
</div>
<div class="cta" style="justify-content:flex-start">
<span class="btn ghost" style="opacity:.6;pointer-events:none">Packaging in progress</span>
</div>
</section>
<!-- ============ ANDROID (side entry into Apps) ============ -->
<section id="android">
<h2>5 · Ariadne for Android — the phone <span class="pill p-alpha" style="vertical-align:middle;margin-left:.4rem">alpha</span></h2>
<p class="lede">A phone app that resolves BNS names on the device itself — no relay
in the middle. Tabs, a start page built from the names actually registered on chain,
and a badge on every page showing whether it came from the chain or from DNS.</p>
<div class="cta" style="justify-content:flex-start">
<a class="btn acid" href="../apps/#android">Download APK →</a>
</div>
</section>
</div>
<footer>
<div>Silent Mode — a Deviant project.</div>
<div class="fine">Alpha software on a test network. Nothing signed by a recognized
authority: builds carry no code-signing certificate, the Android APK is signed with
our own key vouched for by nobody. The SHA-256 is the real check.</div>
</footer>
</body>
</html>

764
register.html Normal file
View file

@ -0,0 +1,764 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Register a name — Silent Mode</title>
<meta name="description" content="Own a domain name on the Bitcoin Cash blockchain. Permanent, no renewal, censorship-resistant. Search availability, mint the name certificate to your own wallet, and pick decentralized hosting.">
<style>
:root{
--bg:#0b0e14; --panel:#141a24; --panel2:#18202c; --line:rgba(255,255,255,.09);
--ink:#e7eaf1; --mut:#8b98a9; --dim:#5e6678; --acid:#d6ff3d;
--chain:#d6ff3d; --sia:#b39ddb; --srv:#4fd1a5; --ok:#4fd1a5; --taken:#f6768a;
--warn:#ffc75f;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:radial-gradient(1100px 560px at 50% -12%,#16202e,var(--bg));
color:var(--ink);font:16px/1.65 system-ui,-apple-system,Segoe UI,Roboto,sans-serif}
.wrap{max-width:920px;margin:0 auto;padding:0 1.2rem}
a{color:var(--acid)}
header{text-align:center;padding:4.5rem 1.2rem 1rem}
.mark{font-size:52px;line-height:1}
h1{font-size:clamp(1.9rem,5vw,2.7rem);margin:.4rem 0 .3rem}
h1 .g{color:var(--acid)}
.tag{color:var(--mut);font-size:1.05rem;max-width:600px;margin:0 auto}
/* search */
.search{max-width:620px;margin:2rem auto 0;padding:0 1.2rem}
.searchrow{display:flex;gap:8px}
.searchrow input{flex:1;padding:14px 18px;border-radius:12px;border:1px solid #ffffff22;
background:#141a24;color:var(--ink);font-size:17px;outline:none}
.searchrow input:focus{border-color:#4b7bec}
.searchrow select{padding:0 12px;border-radius:12px;border:1px solid #ffffff22;background:#141a24;color:var(--ink);font-size:15px}
.result{margin-top:14px;min-height:28px;font-size:15px}
.result .card{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;
background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:14px 18px}
.result .name{font-family:ui-monospace,monospace;font-size:18px}
.badge{font-size:12px;padding:2px 10px;border-radius:999px;font-weight:600}
.b-ok{background:rgba(79,209,165,.15);color:var(--ok)} .b-taken{background:rgba(246,118,138,.15);color:var(--taken)}
.btn{display:inline-block;text-decoration:none;padding:10px 18px;border-radius:10px;background:#4b7bec;color:#fff;font-size:14px;border:none;cursor:pointer;font-family:inherit}
.btn.ghost{background:transparent;border:1px solid var(--line);color:var(--ink)}
.btn.acid{background:var(--acid);color:#0b0e14;font-weight:600}
.btn:hover{filter:brightness(1.12)}
.btn:disabled{opacity:.45;cursor:not-allowed;filter:none}
.muted{color:var(--dim);font-size:13px}
section{padding:2.6rem 0;border-top:1px solid var(--line);margin-top:2.5rem}
section:first-of-type{border-top:none;margin-top:1.5rem}
h2{font-size:1.4rem;margin:0 0 .4rem}
.lede{color:var(--mut);margin:0 0 1.5rem;max-width:660px}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px}
.card{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:18px 20px}
.card h3{margin:0 0 .4rem;font-size:1.05rem;display:flex;align-items:center;gap:8px}
.card p{margin:0;color:var(--mut);font-size:13.5px}
.card .price{color:var(--acid);font-size:13px;margin-top:.6rem;font-weight:600}
.dot{width:9px;height:9px;border-radius:50%;display:inline-block}
.d-chain{background:var(--chain)} .d-sia{background:var(--sia)} .d-srv{background:var(--srv)}
.note{background:var(--panel);border:1px solid var(--line);border-left:3px solid var(--acid);
border-radius:10px;padding:14px 18px;color:var(--mut);font-size:14px;margin-top:1.4rem}
.note b{color:var(--ink)}
.note.warn{border-left-color:var(--warn)}
.note.danger{border-left-color:var(--taken)}
ol.steps{counter-reset:s;list-style:none;padding:0;margin:0;display:grid;gap:10px}
ol.steps li{counter-increment:s;display:grid;grid-template-columns:30px 1fr;gap:14px;align-items:start;
background:var(--panel2);border:1px solid var(--line);border-radius:12px;padding:13px 16px}
/* The counter owns column 1; everything else stacks in column 2. Without the
explicit placement the <span> auto-flows onto row 2 of column 1 — the 30px
one — and the description renders one word per line. */
ol.steps li::before{content:counter(s);grid-column:1;grid-row:1;
display:grid;place-items:center;width:24px;height:24px;border-radius:50%;
background:rgba(214,255,61,.14);color:var(--acid);font-size:12.5px;font-weight:700}
ol.steps li > *{grid-column:2;min-width:0}
ol.steps b{color:var(--ink)} ol.steps span{color:var(--mut);font-size:14px}
code.inline,.mono{background:#0e131b;border:1px solid var(--line);border-radius:6px;padding:1px 6px;font-family:ui-monospace,monospace;font-size:13px}
footer{border-top:1px solid var(--line);padding:2.4rem 0 3.5rem;color:var(--dim);font-size:13px;text-align:center;margin-top:2.5rem}
/* ---- registration flow ---- */
.modal{position:fixed;inset:0;background:rgba(6,9,14,.82);backdrop-filter:blur(3px);
display:none;align-items:flex-start;justify-content:center;padding:3vh 1rem;overflow-y:auto;z-index:50}
.modal.open{display:flex}
.sheet{background:var(--panel);border:1px solid var(--line);border-radius:16px;max-width:620px;width:100%;
padding:26px 28px 28px}
.sheet h3{margin:0 0 .2rem;font-size:1.25rem}
.sheet .sub{color:var(--mut);font-size:14px;margin:0 0 1.2rem}
.sheet label{display:block;font-size:13px;color:var(--mut);margin:14px 0 5px}
.sheet input[type=text],.sheet input[type=password],.sheet textarea,.sheet select{
width:100%;padding:11px 13px;border-radius:10px;border:1px solid #ffffff22;background:#0e131b;
color:var(--ink);font-size:14px;font-family:inherit;outline:none}
.sheet textarea{min-height:76px;resize:vertical;font-family:ui-monospace,monospace;font-size:13px}
.sheet input:focus,.sheet textarea:focus{border-color:#4b7bec}
.row{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.row.end{justify-content:flex-end}
.x{position:absolute;top:14px;right:18px;background:none;border:none;color:var(--dim);font-size:22px;cursor:pointer}
.sheetwrap{position:relative;width:100%;max-width:620px}
.phrase{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px}
.phrase span{background:#0e131b;border:1px solid var(--line);border-radius:8px;padding:8px 10px;
font-family:ui-monospace,monospace;font-size:13px}
.phrase span b{color:var(--dim);font-weight:400;margin-right:6px;font-size:11px}
.addr{display:flex;gap:8px;align-items:center;margin-top:8px}
.addr code{flex:1;word-break:break-all;background:#0e131b;border:1px solid var(--line);border-radius:8px;
padding:9px 11px;font-family:ui-monospace,monospace;font-size:12.5px}
table.price{width:100%;border-collapse:collapse;margin-top:12px;font-size:14px}
table.price td{padding:7px 0;border-bottom:1px solid var(--line);color:var(--mut)}
table.price td:last-child{text-align:right;font-family:ui-monospace,monospace;color:var(--ink)}
table.price tr.total td{border-bottom:none;color:var(--ink);font-weight:600;padding-top:12px}
table.price tr.total td:last-child{color:var(--acid)}
table.price td small{display:block;color:var(--dim);font-size:11.5px}
.steps-log{margin-top:14px;font-family:ui-monospace,monospace;font-size:12.5px;color:var(--mut);
background:#0e131b;border:1px solid var(--line);border-radius:10px;padding:12px 14px;max-height:180px;overflow-y:auto}
.steps-log div::before{content:" ";color:var(--acid)}
.err{color:var(--taken);font-size:13.5px;margin-top:12px}
.ok{color:var(--ok)}
.pill{display:inline-block;font-size:11px;padding:2px 8px;border-radius:999px;background:rgba(214,255,61,.13);
color:var(--acid);margin-left:8px;vertical-align:middle}
.pill.soon{background:rgba(255,255,255,.07);color:var(--dim)}
.wopt{display:flex;gap:14px;align-items:flex-start;background:var(--panel2);border:1px solid var(--line);
border-radius:12px;padding:14px 16px;cursor:pointer;text-align:left;width:100%;color:inherit;font:inherit;margin-top:10px}
.wopt:hover{border-color:#4b7bec}
.wopt:disabled{opacity:.45;cursor:not-allowed}
.wopt .ic{font-size:22px;line-height:1}
.wopt b{display:block;font-size:14.5px}
.wopt span{color:var(--mut);font-size:13px}
.chk{display:flex;gap:9px;align-items:flex-start;margin-top:14px;font-size:13.5px;color:var(--mut)}
.chk input{margin-top:3px}
</style>
<link rel="stylesheet" href="shared.css">
</head>
<body>
<nav class="topnav">
<a class="brand" href="/">⛓️ Silent <span class="g">Mode</span></a>
<a href="nav/">Tools</a>
<a href="apps/">Apps</a>
<a href="register.html" class="here">Names</a>
<a href="store/">Store</a>
<a href="hermes/">Messenger</a>
</nav>
<header>
<div class="mark">⛓️</div>
<h1>Own your <span class="g">name</span></h1>
<p class="tag">A domain name that lives on the Bitcoin Cash blockchain. You hold it — permanently,
with no renewal, that no registrar can revoke or seize.</p>
</header>
<div class="search">
<div class="searchrow">
<input id="q" placeholder="search a name…" spellcheck="false" autocomplete="off" autofocus>
<select id="tld">
<option value="bch">.bch</option>
<option value="nav">.nav</option>
<option value="p2p">.p2p</option>
<option value="bit">.bit</option>
</select>
</div>
<div class="result" id="result"><span class="muted">Type a name to check availability on the chain.</span></div>
</div>
<div class="wrap">
<section>
<h2>How registration works</h2>
<p class="lede">You are not buying a name from us — you are minting a name <b>certificate you own</b> on the
Bitcoin Cash chain. We provide the tool; the chain gives you the name.</p>
<ol class="steps">
<li><b>You hold the key.</b> <span>The name is a certificate on the chain — a title deed — controlled by your
wallet. Whoever holds the key owns the name: not us, not a registrar. It cannot be taken back.</span></li>
<li><b>You pay the chain, not a middleman.</b> <span>Registration is a single Bitcoin Cash transaction —
a few cents in network fees, plus a small service fee. No yearly renewal, ever.</span></li>
<li><b>You point it anywhere.</b> <span>Attach a record: store the site on the chain itself, on the Sia
network, or on any server you run. Update it any time — only your key can.</span></li>
</ol>
<div class="note"><b>Self-custody, by design.</b> Because you hold the key, only you can transfer or
change the name. That is the whole point — it also means <b>keep your recovery phrase safe</b>;
there is no company that can reset it for you. We never take custody of your name or your funds,
and your recovery phrase never leaves your browser.</div>
</section>
<section>
<h2>Hosting — where your site lives</h2>
<p class="lede">Point your name at any of these. Mix and match; change it whenever you like.</p>
<div class="grid">
<div class="card">
<h3><span class="dot d-chain"></span> On the blockchain</h3>
<p>Tiny sites live <i>inside the transaction itself</i> — no server, no host, permanent as the chain.
Best for a page, a profile, a link hub.</p>
<div class="price">≈ free · a few cents once</div>
</div>
<div class="card">
<h3><span class="dot d-sia"></span> Sia network</h3>
<p>Full multi-file sites, encrypted and scattered across independent storage hosts worldwide.
No hosting company to bill or suspend you.</p>
<div class="price">≈ $13 / TB / month (a website: pennies)</div>
</div>
<div class="card">
<h3><span class="dot d-srv"></span> Your own server</h3>
<p>Already run a server or VPS? Point the name straight at it. Works with anything you host —
the name just resolves to your IP.</p>
<div class="price">your server's cost</div>
</div>
<div class="card">
<h3><span class="dot d-sia"></span> IPFS <span class="muted">(soon)</span></h3>
<p>Content-addressed peer-to-peer storage. The name pins a content hash; anyone can help serve it.
Coming as a record type.</p>
<div class="price">free + optional pinning</div>
</div>
</div>
</section>
<section>
<h2>Anonymous VPS — if you want your own server</h2>
<p class="lede">For the "your own server" option, or to run a node. Privacy-first providers that take
crypto and ask for no identity — consistent with owning a censorship-resistant name.</p>
<div class="grid">
<div class="card"><h3>MyNymBox</h3><p>No-KYC VPS, web hosting, and anonymous domain registration.
Pays in Monero / Bitcoin / Lightning. Free WHOIS privacy.</p><div class="price">from ~€3.50/mo</div></div>
<div class="card"><h3>Njalla</h3><p>Privacy-by-proxy domains and VPS — they hold the registration on your
behalf, you keep control. Crypto accepted.</p><div class="price">domains ~€15/yr</div></div>
<div class="card"><h3>1984 / others</h3><p>Iceland-based, privacy-respecting hosting. Several no-KYC
providers exist — pick one outside your jurisdiction, pay in Monero.</p><div class="price">varies</div></div>
</div>
<div class="note">These are independent third parties, listed for convenience — not affiliated with Silent
Mode. For a name you never have to renew and nobody can seize, the name itself lives on the chain; a VPS
only matters if you choose to host content on your own server.</div>
</section>
</div>
<footer>
Silent Mode — a Deviant project · <a href="/">home</a> · <a href="/#downloads">downloads</a><br>
Alpha on a test network (chipnet). You hold your own keys; verify everything against the chain.<br>
<span style="opacity:.8">Wallet connection via
<a href="https://gitlab.com/riftenlabs/lib/wizardconnect" target="_blank" rel="noopener">WizardConnect</a>
by Riften Labs —
<a href="/vendor/LICENSE.lgpl-3.0.txt">LGPL-3.0-or-later</a>
(<a href="/vendor/LICENSE.gpl-3.0.txt">GPL-3.0</a>);
the library ships as a separate, unmodified module at
<a href="/js/wizardconnect.js">/js/wizardconnect.js</a> so you can replace it.
Cryptography by <a href="https://github.com/bitauth/libauth" target="_blank" rel="noopener">libauth</a> (MIT).</span>
</footer>
<!-- One shared libauth for every bundle. The browser's module loader guarantees
its top-level-await WASM init settles before any importer runs — which a
per-bundle copy does not. See Argus/src/web/libauth-entry.js. -->
<script type="importmap">
{ "imports": { "@bitauth/libauth": "./js/libauth.js" } }
</script>
<!-- ───────────────────────── registration flow ───────────────────────── -->
<div class="modal" id="modal">
<div class="sheetwrap">
<button class="x" id="close" title="close">×</button>
<div class="sheet" id="sheet"></div>
</div>
</div>
<script type="module">
import * as BNS from "./js/bns-register.js";
const API = "https://navigate.st/api/name/";
const $ = (id) => document.getElementById(id);
const esc = (s) => String(s).replace(/[&<>"']/g, (c) => ({ "&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;" }[c]));
const sats = (v) => Number(v).toLocaleString("en-US");
// ---------- availability search (unchanged behaviour) ----------
let timer, lastReq = 0, currentName = null;
function clean(v){ return v.toLowerCase().replace(/[^a-z0-9-]/g, "").slice(0,32); }
// Availability, two ways. The API is a convenience (fast, cached); the chain is
// the authority. If the API is unreachable — down, blocked, censored — fall
// straight through to electrum, which is the same source the API reads. A name
// service that stops working when one HTTP host does would rather miss the point.
async function lookup(full) {
try {
const r = await fetch(API + encodeURIComponent(full));
if (!r.ok) throw new Error("api " + r.status);
return await r.json();
} catch {
const a = await BNS.checkAvailability(await client(), full);
return { name: a.name, registered: !a.available, records: a.entry?.records ?? {}, viaChain: true };
}
}
async function check() {
const label = clean($("q").value);
const tld = $("tld").value;
const res = $("result");
currentName = null;
if (!label) { res.innerHTML = '<span class="muted">Type a name to check availability on the chain.</span>'; return; }
const full = label + "." + tld;
res.innerHTML = '<span class="muted">checking ' + esc(full) + ' on the chain…</span>';
const my = ++lastReq;
try {
const j = await lookup(full);
if (my !== lastReq) return; // stale
if (j.error) { res.innerHTML = '<span class="muted">' + esc(j.error) + '</span>'; return; }
if (j.registered) {
res.innerHTML = '<div class="card"><span class="name">' + esc(full) + '</span>'
+ '<span class="badge b-taken">already registered</span>'
+ '<a class="btn ghost" href="https://navigate.st/bns/' + encodeURIComponent(full) + '" target="_blank" rel="noopener">view site →</a></div>';
} else {
currentName = full;
res.innerHTML = '<div class="card"><span class="name">' + esc(full) + '</span>'
+ '<span class="badge b-ok">available</span>'
+ '<button class="btn acid" id="go">Register ' + esc(full) + ' →</button></div>'
+ '<div class="muted" style="margin-top:8px">You mint it to your own wallet — you hold the key. '
+ 'A few cents in chain fees, no renewal.</div>';
$("go").onclick = () => startFlow(full);
}
} catch (e) {
if (my === lastReq) res.innerHTML = '<span class="muted">could not reach the chain — try again.</span>';
}
}
$("q").addEventListener("input", () => { clearTimeout(timer); timer = setTimeout(check, 350); });
$("tld").addEventListener("change", check);
$("q").addEventListener("keydown", (e) => { if (e.key === "Enter") { clearTimeout(timer); check(); } });
// ---------- flow state ----------
const state = { name: null, wallet: null, session: null, client: null, quote: null, result: null };
const modal = $("modal"), sheet = $("sheet");
function open(){ modal.classList.add("open"); }
function close(){
modal.classList.remove("open");
if (state.client) { try { state.client.close(); } catch {} state.client = null; }
if (state.session) { try { state.session.disconnect(); } catch {} state.session = null; }
}
$("close").onclick = close;
modal.addEventListener("click", (e) => { if (e.target === modal) close(); });
function render(html){ sheet.innerHTML = html; }
function err(e){
sheet.querySelectorAll(".err").forEach((n) => n.remove()); // one error at a time, not a pile
const box = document.createElement("div");
box.className = "err";
box.textContent = e?.message ?? String(e);
sheet.appendChild(box);
}
async function client(){
if (!state.client) state.client = await BNS.connect();
return state.client;
}
function startFlow(name){
state.name = name;
open();
stepWallet();
}
// ---------- step 1: choose a wallet ----------
function stepWallet(){
const saved = BNS.BuiltInWallet.exists();
render(`
<h3>Register ${esc(state.name)}</h3>
<p class="sub">First, the wallet that will <b>own</b> the name. The certificate is minted
straight to it — we never hold it.</p>
${saved ? `<button class="wopt" id="w-unlock"><span class="ic">🔓</span><span>
<b>Unlock my browser wallet</b>
<span>You already created one on this device.</span></span></button>` : ``}
<button class="wopt" id="w-new"><span class="ic"></span><span>
<b>Create a new wallet<span class="pill">easiest</span></b>
<span>Made here in your browser. You get a recovery phrase to write down — it is the only key.</span></span></button>
<button class="wopt" id="w-import"><span class="ic">🔑</span><span>
<b>Import a recovery phrase</b>
<span>Restore a wallet you already have, from its 12-word phrase.</span></span></button>
<button class="wopt" id="w-wiz"><span class="ic">🪄</span><span>
<b>Connect a wallet — WizardConnect<span class="pill">most private</span></b>
<span>Cashonize 0.9+ or Paytaca. Encrypted end-to-end over Nostr; the relay sees only
ciphertext. Your keys never leave your wallet.</span></span></button>
<div class="note" style="margin-top:18px">Everything below runs on <b>chipnet</b>, Bitcoin Cash's
test network. The coins are free and worth nothing — this is an alpha, and it is the honest place
to try it before real money is involved.</div>
`);
if (saved) $("w-unlock").onclick = stepUnlock;
$("w-new").onclick = stepCreate;
$("w-import").onclick = stepImport;
$("w-wiz").onclick = () => stepExternal("wizard");
}
// ---------- external wallets (WizardConnect) ----------
// Takes the identical transaction the built-in path builds; only the signing
// transport differs. The buyer approves on their own device.
async function stepExternal(){
const label = "WizardConnect";
render(`<h3>Connect with ${esc(label)}</h3><p class="sub">Starting the connection…</p>`);
let session;
try {
const mod = await import("./js/wizardconnect.js");
session = await mod.openWizardSession({
dappName: BNS.REGISTRAR.wizardConnect.dappName,
dappIcon: BNS.REGISTRAR.wizardConnect.dappIcon,
prefix: BNS.REGISTRAR.addressPrefix,
// libauth lives in the main bundle only — see the note in wizardconnect.js
crypto: {
pubkeyToAddress: BNS.pubkeyToAddress,
pubkeyToLockingBytecode: BNS.pubkeyToLockingBytecode,
binToHex: BNS.binToHex,
txidOfHex: BNS.txidOfHex,
},
});
} catch (e) {
render(`<h3>Could not start ${esc(label)}</h3><p class="sub">${esc(e.message)}</p>
<div class="row end"><button class="btn ghost" id="back">Back</button></div>`);
$("back").onclick = stepWallet;
return;
}
const uri = session.qrUri ?? session.uri;
render(`
<h3>Open your wallet</h3>
<p class="sub">Scan or paste this into ${esc(label)}-capable wallet, then approve the connection.</p>
<div class="addr"><code id="uri">${esc(uri)}</code><button class="btn ghost" id="copy">Copy</button></div>
<div class="note warn" style="margin-top:16px">Waiting for your wallet…
The link stays valid until you close this page.</div>
<div class="row end"><button class="btn ghost" id="cancel">Cancel</button></div>
`);
$("copy").onclick = () => navigator.clipboard?.writeText(uri);
$("cancel").onclick = async () => { try { await session.disconnect(); } catch {} stepWallet(); };
try {
await session.ready;
} catch (e) {
err(e);
return;
}
stepExternalConfirm(session, label);
}
async function stepExternalConfirm(session, label){
render(`<h3>Connected</h3><p class="sub">Reading your wallet and building the registration…</p>`);
try {
const c = await client();
const addresses = await session.getAddresses();
const owner = addresses[0];
const balance = await BNS.getBalance(c, addresses);
const genesis = BNS.describeGenesisRequirement(balance.hasGenesisInput);
if (balance.sats === 0n) {
render(`<h3>That wallet is empty</h3>
<p class="sub">Fund <span class="mono">${esc(owner)}</span> with chipnet coins and reconnect.</p>
<div class="row end"><button class="btn ghost" id="back">Back</button></div>`);
$("back").onclick = async () => { try { await session.disconnect(); } catch {} stepWallet(); };
return;
}
const quote = await BNS.quoteRegistration(c, { name: state.name, ownerAddress: owner, records: {} });
const rows = BNS.priceSummary(quote.costs).map((l) => `
<tr class="${l.total ? "total" : ""}"><td>${esc(l.label)}${l.note ? `<small>${esc(l.note)}</small>` : ""}</td>
<td>${sats(l.sats)} sat</td></tr>`).join("");
render(`
<h3>Confirm ${esc(quote.displayName)}</h3>
<p class="sub">Connected to ${esc(label)}. The certificate is minted to
<span class="mono">${esc(owner)}</span> — your wallet, your key.</p>
<table class="price">${rows}</table>
${genesis.ready ? "" : `<div class="note warn" style="margin-top:16px">
<b>Two approvals needed.</b> ${esc(genesis.explanation)}</div>`}
<div class="row end"><button class="btn ghost" id="back">Back</button>
<button class="btn acid" id="go">Register — approve in your wallet</button></div>
`);
$("back").onclick = async () => { try { await session.disconnect(); } catch {} stepWallet(); };
$("go").onclick = async () => {
render(`<h3>Approve in your wallet</h3>
<p class="sub">${esc(label)} has sent the transaction to your device. Check the details there
and approve. Do not close this tab.</p><div class="steps-log" id="log"></div>`);
const log = $("log");
const say = (s) => { const d = document.createElement("div"); d.textContent = s; log.appendChild(d); };
try {
const res = await BNS.registerWithExternalWallet(await client(), {
session, name: state.name, ownerAddress: owner, records: {}, onProgress: say,
});
state.result = res;
state.session = session; // keep it open — the record step signs too
stepDone();
} catch (e) {
err(e);
const row = document.createElement("div"); row.className = "row end";
row.innerHTML = `<button class="btn ghost" id="back">Back</button>`;
sheet.appendChild(row);
$("back").onclick = () => stepExternalConfirm(session, label);
}
};
} catch (e) {
err(e);
}
}
// ---------- step 2a: create ----------
function stepCreate(){
render(`
<h3>Create your wallet</h3>
<p class="sub">Generated in this browser. The phrase is never sent anywhere — not to us, not to anyone.</p>
<label for="pw">Password (encrypts the wallet on this device)</label>
<input type="password" id="pw" autocomplete="new-password" placeholder="at least 8 characters">
<label for="pw2">Repeat password</label>
<input type="password" id="pw2" autocomplete="new-password">
<div class="note warn" style="margin-top:16px"><b>There is no reset.</b> The password protects this
device; the recovery phrase you will see next <i>is</i> the wallet. Lose both and the name is gone
forever — that is what self-custody means.</div>
<div class="row end"><button class="btn ghost" id="back">Back</button>
<button class="btn acid" id="next">Generate phrase →</button></div>
`);
$("back").onclick = stepWallet;
$("next").onclick = async () => {
const pw = $("pw").value, pw2 = $("pw2").value;
if (pw.length < 8) return err(new Error("password must be at least 8 characters"));
if (pw !== pw2) return err(new Error("passwords do not match"));
try {
const wallet = await BNS.BuiltInWallet.create();
await wallet.save(pw);
state.wallet = wallet;
stepPhrase();
} catch (e) { err(e); }
};
}
function stepPhrase(){
const words = state.wallet.mnemonic.split(" ");
render(`
<h3>Write this down. Now.</h3>
<p class="sub">These 12 words are your wallet. Anyone who has them owns your names; if you lose them,
nobody — including us — can recover anything.</p>
<div class="phrase">${words.map((w,i)=>`<span><b>${i+1}</b>${esc(w)}</span>`).join("")}</div>
<div class="row"><button class="btn ghost" id="copy">Copy phrase</button></div>
<label class="chk"><input type="checkbox" id="ack">
<span>I have written the phrase down somewhere safe and offline. I understand it cannot be reset.</span></label>
<div class="row end"><button class="btn acid" id="next" disabled>Continue →</button></div>
`);
$("copy").onclick = () => navigator.clipboard?.writeText(state.wallet.mnemonic);
$("ack").onchange = (e) => { $("next").disabled = !e.target.checked; };
$("next").onclick = stepFund;
}
// ---------- step 2b: import / unlock ----------
function stepImport(){
render(`
<h3>Import a recovery phrase</h3>
<p class="sub">12 words, separated by spaces. It stays in this browser.</p>
<label for="mn">Recovery phrase</label>
<textarea id="mn" spellcheck="false" placeholder="word word word …"></textarea>
<label for="pw">Password to encrypt it on this device</label>
<input type="password" id="pw" autocomplete="new-password">
<div class="row end"><button class="btn ghost" id="back">Back</button>
<button class="btn acid" id="next">Import →</button></div>
`);
$("back").onclick = stepWallet;
$("next").onclick = async () => {
try {
if ($("pw").value.length < 8) throw new Error("password must be at least 8 characters");
const wallet = await BNS.BuiltInWallet.fromMnemonic($("mn").value);
await wallet.save($("pw").value);
state.wallet = wallet;
stepFund();
} catch (e) { err(e); }
};
}
function stepUnlock(){
render(`
<h3>Unlock your wallet</h3>
<p class="sub">Decrypts the wallet stored in this browser.</p>
<label for="pw">Password</label>
<input type="password" id="pw" autocomplete="current-password">
<div class="row end"><button class="btn ghost" id="back">Back</button>
<button class="btn acid" id="next">Unlock →</button></div>
`);
$("back").onclick = stepWallet;
$("pw").onkeydown = (e) => { if (e.key === "Enter") $("next").click(); };
$("next").onclick = async () => {
try { state.wallet = await BNS.BuiltInWallet.load($("pw").value); stepFund(); }
catch (e) { err(e); }
};
}
// ---------- step 3: fund ----------
let fundTimer = null;
async function stepFund(){
const w = state.wallet;
const faucets = BNS.REGISTRAR.faucets
.map((f) => `<a href="${esc(f.url)}" target="_blank" rel="noopener">${esc(f.name)}</a>`).join(" · ");
render(`
<h3>Fund your wallet</h3>
<p class="sub">Send test coins to this address. It is yours — derived from your phrase.</p>
<div class="addr"><code id="a">${esc(w.address)}</code>
<button class="btn ghost" id="copy">Copy</button></div>
<div class="muted" style="margin-top:10px">Free chipnet coins: ${faucets}</div>
<div class="note" id="bal" style="margin-top:16px">checking balance…</div>
<div class="row end"><button class="btn ghost" id="back">Back</button>
<button class="btn acid" id="next" disabled>Continue →</button></div>
`);
$("copy").onclick = () => navigator.clipboard?.writeText(w.address);
$("back").onclick = () => { clearInterval(fundTimer); stepWallet(); };
$("next").onclick = () => { clearInterval(fundTimer); stepConfirm(); };
const poll = async () => {
try {
const b = await BNS.getBalance(await client(), w.watchedAddresses);
const enough = b.sats >= 20000n;
$("bal").innerHTML = b.sats > 0n
? `<b class="ok">${sats(b.sats)} sat</b> available (${b.coins} coin${b.coins===1?"":"s"})`
+ (enough ? "" : ` — a little more is needed to cover the registration.`)
: `Waiting for coins… this page is watching the chain live.`;
$("next").disabled = !enough;
} catch (e) { $("bal").textContent = "could not reach the chain: " + e.message; }
};
await poll();
clearInterval(fundTimer);
fundTimer = setInterval(poll, 6000);
}
// ---------- step 4: confirm ----------
async function stepConfirm(){
render(`<h3>Preparing…</h3><p class="sub">Building your registration transaction.</p>`);
try {
const c = await client();
const avail = await BNS.checkAvailability(c, state.name);
if (!avail.available) throw new Error(`"${avail.name}" was just registered by someone else`);
const quote = await BNS.quoteRegistration(c, {
name: state.name,
ownerAddress: state.wallet.address,
records: {},
});
state.quote = quote;
const rows = BNS.priceSummary(quote.costs).map((l) => `
<tr class="${l.total ? "total" : ""}"><td>${esc(l.label)}${l.note ? `<small>${esc(l.note)}</small>` : ""}</td>
<td>${sats(l.sats)} sat</td></tr>`).join("");
render(`
<h3>Confirm ${esc(quote.displayName)}</h3>
<p class="sub">One transaction. It mints the certificate to <b>your</b> address and pays the fees.</p>
<table class="price">${rows}</table>
<div class="note" style="margin-top:16px">The certificate will be minted to
<span class="mono">${esc(state.wallet.address)}</span> — your key, your name.
You can set where it points immediately afterwards.</div>
<div class="row end"><button class="btn ghost" id="back">Back</button>
<button class="btn acid" id="go">Register — sign &amp; broadcast</button></div>
`);
$("back").onclick = stepFund;
$("go").onclick = stepRegister;
} catch (e) {
render(`<h3>Could not prepare</h3><p class="sub">${esc(e.message)}</p>
<div class="row end"><button class="btn ghost" id="back">Back</button></div>`);
$("back").onclick = stepFund;
}
}
// ---------- step 5: register ----------
async function stepRegister(){
render(`<h3>Registering ${esc(state.name)}</h3>
<p class="sub">Signing in your browser and broadcasting to the chain. Do not close this tab.</p>
<div class="steps-log" id="log"></div>`);
const log = $("log");
const say = (s) => { const d = document.createElement("div"); d.textContent = s; log.appendChild(d); log.scrollTop = log.scrollHeight; };
const words = {
"checking-availability": "checking the name is still free",
"loading-coins": "loading your coins",
"preparing-wallet": "preparing your wallet (one-off setup transaction)",
"prepared": "wallet prepared",
"building": "building the registration transaction",
"signing": "signing with your key — in this browser",
"broadcasting": "broadcasting to the Bitcoin Cash network",
"registered": "registered",
};
try {
const res = await BNS.registerWithBuiltInWallet(await client(), {
wallet: state.wallet,
name: state.name,
records: {},
onProgress: (s) => say(words[s] ?? s),
});
state.result = res;
stepDone();
} catch (e) {
err(e);
const row = document.createElement("div");
row.className = "row end";
row.innerHTML = `<button class="btn ghost" id="back">Back</button>`;
sheet.appendChild(row);
$("back").onclick = stepConfirm;
}
}
// ---------- step 6: done + point it somewhere ----------
function stepDone(){
const r = state.result;
render(`
<h3><span class="ok"></span> ${esc(r.displayName)} is yours</h3>
<p class="sub">The certificate is on the chain, held by your key. Nobody can take it back.</p>
<table class="price">
<tr><td>Transaction</td><td>${esc(r.txid.slice(0,20))}…</td></tr>
<tr><td>Certificate ID</td><td>${esc(r.category.slice(0,20))}…</td></tr>
<tr><td>Owner</td><td>${esc(r.ownerAddress.slice(0,22))}…</td></tr>
</table>
<h3 style="margin-top:24px;font-size:1.05rem">Point it somewhere</h3>
<p class="sub">Optional, and changeable any time — only your key can.</p>
<label for="kind">Record type</label>
<select id="kind">
<option value="h">A tiny site stored on the chain itself (h)</option>
<option value="u">Redirect to a web address (u)</option>
<option value="ip">Your own server's IPv4 address (ip)</option>
<option value="tls">TLS certificate fingerprint (tls)</option>
</select>
<label for="val" id="vl">HTML — kept small; it lives inside the transaction</label>
<textarea id="val" spellcheck="false" placeholder="&lt;h1&gt;hello&lt;/h1&gt;"></textarea>
<div class="muted" id="budget"></div>
<div class="row end"><button class="btn ghost" id="skip">Done for now</button>
<button class="btn acid" id="set">Publish record</button></div>
`);
const labels = {
h: ["HTML — kept small; it lives inside the transaction", "<h1>hello</h1>"],
u: ["The https:// address the name should open", "https://example.org"],
ip: ["IPv4 address of your server", "203.0.113.9"],
tls: ["SHA-256 fingerprint of your TLS certificate (hex)", "a1b2c3…"],
};
const budget = () => {
const used = new TextEncoder().encode($("val").value).length;
const max = 200 - 30 - r.name.length;
$("budget").textContent = `${used} / ~${max} bytes used`;
$("budget").style.color = used > max ? "var(--taken)" : "";
};
$("kind").onchange = () => { const [l, p] = labels[$("kind").value]; $("vl").textContent = l; $("val").placeholder = p; budget(); };
$("val").oninput = budget;
budget();
$("skip").onclick = close;
$("set").onclick = async () => {
const records = { [$("kind").value]: $("val").value };
const external = !state.wallet && state.session;
render(`<h3>Publishing record</h3><p class="sub">This moves the certificate — which is how the chain
proves you are the owner.${external ? " Approve it in your wallet." : ""}</p>
<div class="steps-log" id="log"></div>`);
const log = $("log");
const say = (s) => { const d = document.createElement("div"); d.textContent = s; log.appendChild(d); };
try {
const upd = external
? await BNS.setRecordsWithExternalWallet(await client(), {
session: state.session, name: r.displayName, records, onProgress: say,
})
: await BNS.setRecordsWithBuiltInWallet(await client(), {
wallet: state.wallet, name: r.displayName, records, onProgress: say,
});
render(`<h3><span class="ok"></span> ${esc(r.displayName)} now points somewhere</h3>
<p class="sub">Update transaction <span class="mono">${esc(upd.txid.slice(0,20))}…</span> is on the chain.
Resolvers pick it up within a block.</p>
<div class="note">Open it with the Silent Mode resolver, or preview it at
<a href="https://navigate.st/bns/${encodeURIComponent(r.displayName)}" target="_blank" rel="noopener">navigate.st</a>.</div>
<div class="row end"><button class="btn acid" id="fin">Finish</button></div>`);
$("fin").onclick = close;
} catch (e) {
err(e);
const row = document.createElement("div"); row.className = "row end";
row.innerHTML = `<button class="btn ghost" id="back">Back</button>`;
sheet.appendChild(row); $("back").onclick = stepDone;
}
};
}
</script>
</body>
</html>

48
releases-manifest.json Normal file
View file

@ -0,0 +1,48 @@
{
"schema": "silentmode-releases/2",
"updated": "2026-07-29",
"mirrors": [
"https://dl.silentmode.st/"
],
"releases": [
{
"id": "ariadne-resolver",
"product": "Ariadne Resolver (Windows)",
"version": "0.1.0",
"date": "2026-07-29",
"platform": "win-x64",
"signed": false,
"signingAuthority": null,
"files": {
"AriadneResolver-Setup-0.1.0.exe": "5bcb216eef31ea28ed767e4134ab74bd5ac69dfbd365fd249e9e6938e55c986a"
}
},
{
"id": "ariadne-android",
"product": "Ariadne for Android",
"version": "0.2",
"date": "2026-07-26",
"platform": "android",
"minSdk": 21,
"signed": true,
"signingAuthority": null,
"signingCertSha256": "46ebbbe5dc73148d66410fd0337b1e6683472128c983e8e2578200b9e3ca548c",
"files": {
"ariadne-v0.2.apk": "635c8f04d44ef855a8390b9eeddb8cd2d50622e81cc4e5004e8daffc1bb0425c"
}
},
{
"id": "theseus-navigator",
"product": "Theseus Navigator",
"version": "0.0.1",
"date": "2026-07-29",
"platform": "win-x64",
"signed": false,
"signingAuthority": null,
"files": {
"TheseusNavigator-Setup-0.0.1.exe": "7c735e88bad2da3347145adba3016c8f626a18b8422289c8c6ba471972e2952b",
"TheseusNavigator-0.0.1-portable.exe": "008fd84445babeabb401b2bca40ea9466b24b0e6d6c85104da7640c5c5c84521"
}
}
]
}

98
releases/index.html Normal file
View file

@ -0,0 +1,98 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Silent Mode — releases &amp; checksums</title>
<style>
:root{--bg:#0b0e14;--panel:#141a24;--line:rgba(255,255,255,.09);--ink:#e7eaf1;--mut:#8b98a9;--dim:#5e6678;--acid:#d6ff3d}
*{box-sizing:border-box}
body{margin:0;background:radial-gradient(1100px 560px at 50% -12%,#16202e,var(--bg));
color:var(--ink);font:16px/1.65 system-ui,-apple-system,Segoe UI,Roboto,sans-serif}
.wrap{max-width:820px;margin:0 auto;padding:3.5rem 1.2rem 4rem}
a{color:var(--acid)}
h1{font-size:1.8rem;margin:0 0 .3rem}
h1 .g{color:var(--acid)}
.lede{color:var(--mut);margin:.2rem 0 2rem}
.rel{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:20px 22px;margin-bottom:16px}
.rel h2{font-size:1.15rem;margin:0 0 .2rem}
.rel .meta{color:var(--dim);font-size:12.5px;margin-bottom:1rem}
.file{border-top:1px solid var(--line);padding-top:12px;margin-top:12px}
.file .n{font-size:14px;color:var(--ink)}
.file .n a{text-decoration:none}
.file code{display:block;font-family:ui-monospace,monospace;font-size:11.5px;color:#c9d4e3;
word-break:break-all;margin-top:4px}
.note{background:var(--panel);border:1px solid var(--line);border-left:3px solid var(--acid);
border-radius:10px;padding:14px 18px;color:var(--mut);font-size:13.5px;margin-top:1.6rem}
.note b{color:var(--ink)}
footer{color:var(--dim);font-size:12.5px;margin-top:2.5rem;text-align:center}
</style>
<link rel="stylesheet" href="../shared.css">
</head>
<body>
<nav class="topnav">
<a class="brand" href="../">⛓️ Silent <span class="g">Mode</span></a>
<a href="../nav/">Tools</a>
<a href="../apps/">Apps</a>
<a href="../register.html">Names</a>
<a href="../store/">Store</a>
<a href="../hermes/">Messenger</a>
</nav>
<div class="wrap">
<h1>Silent <span class="g">Mode</span> — releases</h1>
<p class="lede">Canonical SHA-256 checksums for every published build. This page lives at the on-chain
name <code>releases.silentmode.bch</code>; the name pins where it is served from, so a tampered
mirror cannot change what you check against here.</p>
<div class="rel">
<h2>Theseus Navigator <span style="color:var(--acid)">0.0.1</span></h2>
<div class="meta">Windows 64-bit · unsigned · 2026-07-25</div>
<div class="file">
<div class="n"><a href="https://dl.silentmode.st/TheseusNavigator-Setup-0.0.1.exe">TheseusNavigator-Setup-0.0.1.exe</a> — installer</div>
<code>7c735e88bad2da3347145adba3016c8f626a18b8422289c8c6ba471972e2952b</code>
</div>
<div class="file">
<div class="n"><a href="https://dl.silentmode.st/TheseusNavigator-0.0.1-portable.exe">TheseusNavigator-0.0.1-portable.exe</a> — portable</div>
<code>008fd84445babeabb401b2bca40ea9466b24b0e6d6c85104da7640c5c5c84521</code>
</div>
</div>
<div class="rel">
<h2>Ariadne Resolver — Windows <span style="color:var(--acid)">0.1.0</span></h2>
<div class="meta">Windows 64-bit · unsigned · bundled Node runtime · 2026-07-28</div>
<div class="file">
<div class="n"><a href="https://dl.silentmode.st/AriadneResolver-Setup-0.1.0.exe">AriadneResolver-Setup-0.1.0.exe</a> — ~24 MB</div>
<code>5bcb216eef31ea28ed767e4134ab74bd5ac69dfbd365fd249e9e6938e55c986a</code>
</div>
</div>
<div class="rel">
<h2>Ariadne for Android <span style="color:var(--acid)">0.2</span></h2>
<div class="meta">Android 5.0+ (API 21) · self-signed release key · 2026-07-26</div>
<div class="file">
<div class="n"><a href="https://dl.silentmode.st/ariadne-v0.2.apk">ariadne-v0.2.apk</a> — 97 KB</div>
<code>635c8f04d44ef855a8390b9eeddb8cd2d50622e81cc4e5004e8daffc1bb0425c</code>
</div>
<div class="file">
<div class="n">Signing certificate — SHA-256 (the same key signs every future release)</div>
<code>46ebbbe5dc73148d66410fd0337b1e6683472128c983e8e2578200b9e3ca548c</code>
</div>
</div>
<div class="note"><b>How to verify.</b> After downloading, compute the file's SHA-256 and compare it to
the value above — on Windows: <code style="display:inline">certutil -hashfile &lt;file&gt; SHA256</code>;
on Android, hash the downloaded <code style="display:inline">.apk</code> on a computer before you move
it to the phone, or use any file-hashing app. Nothing here is signed by an authority your device
already trusts — <b>by design</b> — so it will warn about an unrecognized app; the checksum is the
real check. The machine-readable manifest is at
<a href="https://dl.silentmode.st/releases-manifest.json">releases-manifest.json</a>.</div>
<footer>Silent Mode — a Deviant project. Alpha software on a test network.</footer>
</div>
</body>
</html>

163
shared.css Normal file
View file

@ -0,0 +1,163 @@
/* Silent Mode shared design tokens and component styles.
Every page under silentmode.st links this file so a colour or a control style
only has to change once. Page-specific bits (search UI, download listing,
registration modal) stay in the page. */
:root{
--bg:#0b0e14;
--panel:#141a24;
--panel2:#18202c;
--line:rgba(255,255,255,.09);
--ink:#e7eaf1;
--mut:#8b98a9;
--dim:#5e6678;
--acid:#d6ff3d;
/* semantic accents used to colour-code content sources across pages */
--chain:#d6ff3d;
--sia:#b39ddb;
--srv:#4fd1a5;
--tor:#a98bd8;
--ok:#4fd1a5;
--taken:#f6768a;
--warn:#ffc75f;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
margin:0;
background:radial-gradient(1100px 560px at 50% -12%,#16202e,var(--bg));
color:var(--ink);
font:16px/1.65 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
min-height:100vh;
}
a{color:var(--acid)}
/* ============ top nav ============ */
/* Inlined by each page. Sticky so navigation stays reachable on long pages.
The `.here` class marks the current section. */
.topnav{
position:sticky;top:0;z-index:20;
display:flex;gap:2px;align-items:center;flex-wrap:wrap;
padding:10px 1.2rem;
background:rgba(11,14,20,.82);
backdrop-filter:blur(10px);
border-bottom:1px solid var(--line);
}
.topnav .brand{
font-weight:600;color:var(--ink);text-decoration:none;
margin-right:14px;font-size:15px;letter-spacing:.2px;
}
.topnav .brand .g{color:var(--acid)}
.topnav a{
color:var(--mut);text-decoration:none;
padding:6px 12px;border-radius:8px;font-size:14px;
}
.topnav a:hover{color:var(--ink);background:var(--panel)}
.topnav a.here{color:var(--acid);background:rgba(214,255,61,.08)}
/* ============ layout ============ */
.wrap{max-width:980px;margin:0 auto;padding:0 1.2rem}
.wrap.narrow{max-width:820px}
header.hero{text-align:center;padding:4.5rem 1.2rem 2.4rem}
header.hero .mark{font-size:58px;line-height:1}
h1{font-size:clamp(2rem,5vw,3rem);margin:.5rem 0 .3rem;letter-spacing:.4px}
h1 .g{color:var(--acid)}
.tag{color:var(--mut);font-size:1.1rem;max-width:660px;margin:.4rem auto 0}
section{padding:2.8rem 0;border-top:1px solid var(--line)}
section.plain{border-top:none}
h2{font-size:1.55rem;margin:0 0 .4rem}
h3{font-size:1.05rem;margin:0 0 .3rem}
.lede{color:var(--mut);margin:0 0 1.6rem;max-width:680px}
.cta{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:1.7rem}
/* ============ controls ============ */
.btn{
display:inline-block;text-decoration:none;
padding:11px 20px;border-radius:999px;
background:#4b7bec;color:#fff;font-size:14.5px;
border:1px solid transparent;cursor:pointer;font-family:inherit;
}
.btn.ghost{background:transparent;border-color:var(--line);color:var(--ink)}
.btn.acid{background:var(--acid);color:#0b0e14;font-weight:600;border:none}
.btn:hover{filter:brightness(1.12)}
.btn:disabled{opacity:.45;cursor:not-allowed;filter:none}
/* ============ cards & grids ============ */
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px}
.card{
background:var(--panel);border:1px solid var(--line);border-radius:14px;
padding:18px 20px;
}
.card p{margin:0;color:var(--mut);font-size:14px}
.card h3{display:flex;align-items:center;gap:8px}
/* status pills — every card that describes something has one */
.pill{
display:inline-block;font-size:10.5px;letter-spacing:.04em;
text-transform:uppercase;padding:2px 9px;border-radius:999px;margin-bottom:.6rem;
}
.p-live{background:rgba(79,209,165,.14);color:var(--srv)}
.p-alpha{background:rgba(214,255,61,.13);color:var(--acid)}
.p-designed{background:rgba(179,157,219,.14);color:var(--sia)}
.p-upcoming{background:rgba(139,152,169,.14);color:var(--mut)}
/* ============ steps (numbered explainer lists) ============ */
ol.steps{counter-reset:s;list-style:none;padding:0;margin:0;display:grid;gap:10px}
ol.steps li{
counter-increment:s;display:grid;grid-template-columns:26px 1fr;gap:4px 14px;
align-items:start;
background:var(--panel2);border:1px solid var(--line);border-radius:12px;
padding:15px 18px;
}
ol.steps li::before{
content:counter(s);grid-column:1;grid-row:1;align-self:start;
display:grid;place-items:center;
width:26px;height:26px;border-radius:50%;
background:rgba(214,255,61,.14);color:var(--acid);
font-size:13px;font-weight:700;
}
ol.steps li > *{grid-column:2;min-width:0}
ol.steps b{color:var(--ink);font-size:14.5px}
ol.steps span{color:var(--mut);font-size:14px;line-height:1.62}
/* ============ tables ============ */
table{width:100%;border-collapse:collapse;font-size:14.5px}
th,td{text-align:left;padding:9px 10px;border-bottom:1px solid var(--line);vertical-align:top}
th{color:var(--dim);font-weight:600;font-size:12.5px;text-transform:uppercase;letter-spacing:.04em}
/* code chips + preformatted */
td code,code.inline,.mono{
font-family:ui-monospace,monospace;font-size:13px;
background:#0e131b;border:1px solid var(--line);border-radius:6px;padding:1px 6px;
}
pre{
background:#0e131b;border:1px solid var(--line);border-radius:10px;
padding:13px 16px;overflow-x:auto;
font-family:ui-monospace,monospace;font-size:13px;color:#c9d4e3;margin:.8rem 0;
}
/* ============ source badges (chain / sia / server) ============ */
.src{font-size:12px;padding:1px 8px;border-radius:999px;white-space:nowrap}
.s-chain{background:rgba(214,255,61,.13);color:var(--chain)}
.s-sia{background:rgba(179,157,219,.16);color:var(--sia)}
.s-srv{background:rgba(79,209,165,.14);color:var(--srv)}
/* ============ notes (advisory boxes) ============ */
.note{
background:var(--panel);border:1px solid var(--line);border-left:3px solid var(--acid);
border-radius:10px;padding:14px 18px;color:var(--mut);font-size:14px;margin-top:1.4rem;
}
.note b{color:var(--ink)}
.note.warn{border-left-color:var(--warn)}
.note.danger{border-left-color:var(--taken)}
/* ============ footer ============ */
footer{
border-top:1px solid var(--line);padding:2.5rem 0 3.5rem;
color:var(--dim);font-size:13px;text-align:center;margin-top:2.5rem;
}
footer .fine{max-width:660px;margin:.8rem auto 0;line-height:1.7}

111
store/index.html Normal file
View file

@ -0,0 +1,111 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>App store — Silent Mode</title>
<meta name="description" content="A decentralized app store where entries live on the Bitcoin Cash blockchain and reviews are signed endorsements you filter by who you trust. No gatekeeper approves what ships.">
<link rel="stylesheet" href="../shared.css">
</head>
<body>
<nav class="topnav">
<a class="brand" href="../">⛓️ Silent <span class="g">Mode</span></a>
<a href="../nav/">Tools</a>
<a href="../apps/">Apps</a>
<a href="../register.html">Names</a>
<a href="./" class="here">Store</a>
<a href="../hermes/">Messenger</a>
</nav>
<header class="hero">
<div class="mark">🏛️</div>
<h1>App <span class="g">store</span>
<span class="pill p-designed" style="vertical-align:middle;font-size:12px;margin-left:.6rem">designed · not yet built</span>
</h1>
<p class="tag">The <i>listings</i> live on the Bitcoin Cash blockchain. The
<i>reviews</i> are signed endorsements you filter by who you trust. Nobody approves
what ships — but you decide whose word to believe.</p>
</header>
<div class="wrap narrow">
<section class="plain">
<h2>The problem this fixes</h2>
<p class="lede">Every existing app store is one company deciding what runs on your
device. That company can be pressured — by governments, by competitors, by its own
politics — and every developer above them stands or falls on their whim. Sideloading
exists as an escape hatch but with none of the discovery, updates, or verification
that make a store useful.</p>
<p class="lede">A store without a gatekeeper needs two things it usually can't have at
once: <b>a canonical listing</b> nobody can rewrite, and <b>a review system</b> that
isn't captured by whoever votes hardest.</p>
</section>
<section>
<h2>How the design solves both</h2>
<ol class="steps">
<li><b>Listings are on-chain records.</b>
<span>Same shape as BNS name registrations, under a new prefix
(<code class="inline">APS1</code>). One record per app: name, description, icon,
version, APK / installer SHA-256, and the signing-cert fingerprint the client
must match on install. Payload is a hash — the full manifest lives on Sia.</span></li>
<li><b>Anyone can list. That's the point.</b>
<span>Publishing a listing costs a small on-chain fee and needs no permission.
Removing something you don't own is impossible. Store operators — if they exist
— curate what they <i>surface</i>, they don't gatekeep what <i>exists</i>.</span></li>
<li><b>Reviews are signed endorsements you filter.</b>
<span>An endorsement is a signed on-chain statement: "I, <code class="inline">alice.bch</code>,
vouch for app X." Your client filters endorsements by trust lists you subscribe
to — a security researcher's list, a friend's, your own. A one-star review from
a bot you don't follow simply doesn't render. Token-curated registries and
formal reputation come later.</span></li>
<li><b>Install verifies against the chain.</b>
<span>The Ariadne client pulls the APK from wherever the listing says (Sia,
server, mirror), checks the SHA-256 against the on-chain record, checks the
signing cert against the fingerprint in the record, and only then installs.
Same principle as verifying a website: the chain is the truth, not the mirror.</span></li>
</ol>
</section>
<section>
<h2>Where it fits</h2>
<div class="grid">
<div class="card">
<h3>The frontend <span class="src s-sia">.bch site</span></h3>
<p>Browse, search, and read the listing pages in any browser via the
<a href="../nav/#relay">relay</a>, or natively in <a href="../nav/#theseus">Theseus</a>
and <a href="../nav/#android">Ariadne</a>.</p>
</div>
<div class="card">
<h3>The listings <span class="src s-chain">on chain</span></h3>
<p>Records under the <code class="inline">APS1</code> prefix, indexed by the same
Argus engine that already reads BNS. Adding the record type is a small change,
not a new blockchain.</p>
</div>
<div class="card">
<h3>The verified install <span class="src s-chain">via Ariadne</span></h3>
<p>Mobile-track slice: an "install with on-chain hash + cert verification" flow
inside the Ariadne Android app. That's the reason the store frontend and the
resolver ship as one story.</p>
</div>
</div>
</section>
<div class="note warn"><b>Status: designed, not built.</b> The proposal lives in
<code class="inline">_coordination/sessions/mobile-resolver.md</code>. A protocol
addition (<code class="inline">APS1</code> record type) and a frontend track are the
two open pieces. The trust-list review system starts permissionless; formal token-
curated registries are a Phase 2 conversation, not a launch requirement.</div>
</div>
<footer>
<div>Silent Mode — a Deviant project.</div>
<div class="fine">Not yet built. The listing model is decided; the review model starts
simple (client-side trust lists) and formalizes only if the simple version proves
insufficient in practice.</div>
</footer>
</body>
</html>

674
vendor/LICENSE.gpl-3.0.txt vendored Normal file
View file

@ -0,0 +1,674 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.

165
vendor/LICENSE.lgpl-3.0.txt vendored Normal file
View file

@ -0,0 +1,165 @@
GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
This version of the GNU Lesser General Public License incorporates
the terms and conditions of version 3 of the GNU General Public
License, supplemented by the additional permissions listed below.
0. Additional Definitions.
As used herein, "this License" refers to version 3 of the GNU Lesser
General Public License, and the "GNU GPL" refers to version 3 of the GNU
General Public License.
"The Library" refers to a covered work governed by this License,
other than an Application or a Combined Work as defined below.
An "Application" is any work that makes use of an interface provided
by the Library, but which is not otherwise based on the Library.
Defining a subclass of a class defined by the Library is deemed a mode
of using an interface provided by the Library.
A "Combined Work" is a work produced by combining or linking an
Application with the Library. The particular version of the Library
with which the Combined Work was made is also called the "Linked
Version".
The "Minimal Corresponding Source" for a Combined Work means the
Corresponding Source for the Combined Work, excluding any source code
for portions of the Combined Work that, considered in isolation, are
based on the Application, and not on the Linked Version.
The "Corresponding Application Code" for a Combined Work means the
object code and/or source code for the Application, including any data
and utility programs needed for reproducing the Combined Work from the
Application, but excluding the System Libraries of the Combined Work.
1. Exception to Section 3 of the GNU GPL.
You may convey a covered work under sections 3 and 4 of this License
without being bound by section 3 of the GNU GPL.
2. Conveying Modified Versions.
If you modify a copy of the Library, and, in your modifications, a
facility refers to a function or data to be supplied by an Application
that uses the facility (other than as an argument passed when the
facility is invoked), then you may convey a copy of the modified
version:
a) under this License, provided that you make a good faith effort to
ensure that, in the event an Application does not supply the
function or data, the facility still operates, and performs
whatever part of its purpose remains meaningful, or
b) under the GNU GPL, with none of the additional permissions of
this License applicable to that copy.
3. Object Code Incorporating Material from Library Header Files.
The object code form of an Application may incorporate material from
a header file that is part of the Library. You may convey such object
code under terms of your choice, provided that, if the incorporated
material is not limited to numerical parameters, data structure
layouts and accessors, or small macros, inline functions and templates
(ten or fewer lines in length), you do both of the following:
a) Give prominent notice with each copy of the object code that the
Library is used in it and that the Library and its use are
covered by this License.
b) Accompany the object code with a copy of the GNU GPL and this license
document.
4. Combined Works.
You may convey a Combined Work under terms of your choice that,
taken together, effectively do not restrict modification of the
portions of the Library contained in the Combined Work and reverse
engineering for debugging such modifications, if you also do each of
the following:
a) Give prominent notice with each copy of the Combined Work that
the Library is used in it and that the Library and its use are
covered by this License.
b) Accompany the Combined Work with a copy of the GNU GPL and this license
document.
c) For a Combined Work that displays copyright notices during
execution, include the copyright notice for the Library among
these notices, as well as a reference directing the user to the
copies of the GNU GPL and this license document.
d) Do one of the following:
0) Convey the Minimal Corresponding Source under the terms of this
License, and the Corresponding Application Code in a form
suitable for, and under terms that permit, the user to
recombine or relink the Application with a modified version of
the Linked Version to produce a modified Combined Work, in the
manner specified by section 6 of the GNU GPL for conveying
Corresponding Source.
1) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (a) uses at run time
a copy of the Library already present on the user's computer
system, and (b) will operate properly with a modified version
of the Library that is interface-compatible with the Linked
Version.
e) Provide Installation Information, but only if you would otherwise
be required to provide such information under section 6 of the
GNU GPL, and only to the extent that such information is
necessary to install and execute a modified version of the
Combined Work produced by recombining or relinking the
Application with a modified version of the Linked Version. (If
you use option 4d0, the Installation Information must accompany
the Minimal Corresponding Source and Corresponding Application
Code. If you use option 4d1, you must provide the Installation
Information in the manner specified by section 6 of the GNU GPL
for conveying Corresponding Source.)
5. Combined Libraries.
You may place library facilities that are a work based on the
Library side by side in a single library together with other library
facilities that are not Applications and are not covered by this
License, and convey such a combined library under terms of your
choice, if you do both of the following:
a) Accompany the combined library with a copy of the same work based
on the Library, uncombined with any other library facilities,
conveyed under the terms of this License.
b) Give prominent notice with the combined library that part of it
is a work based on the Library, and explaining where to find the
accompanying uncombined form of the same work.
6. Revised Versions of the GNU Lesser General Public License.
The Free Software Foundation may publish revised and/or new versions
of the GNU Lesser General Public License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the
Library as you received it specifies that a certain numbered version
of the GNU Lesser General Public License "or any later version"
applies to it, you have the option of following the terms and
conditions either of that published version or of any later version
published by the Free Software Foundation. If the Library as you
received it does not specify a version number of the GNU Lesser
General Public License, you may choose any version of the GNU Lesser
General Public License ever published by the Free Software Foundation.
If the Library as you received it specifies that a proxy can decide
whether future versions of the GNU Lesser General Public License shall
apply, that proxy's public statement of acceptance of any version is
permanent authorization for you to choose that version for the
Library.