The exact grammar of lns-links/1, every limit in one table, a worked example, the references, and the history of this document.
Appendix A is normative. Appendices B and C are informative: they restate the code at the builds listed in the Status section.
Appendix A. lns-links/1 grammar
In ABNF (RFC 5234), with one change: quoted strings here are case-sensitive, so "# lns-links/1", "index" and "title" match only in lower case. HEXDIG accepts a-f and A-F.
links-list = first-line *( LF line )
first-line = *ws "# lns-links/1" *ws [ CR ]
line = *ws [ item *ws ] [ CR ]
item = index-dir / title-dir / comment / entry
index-dir = "#" *ws "index" 1*ws segment
title-dir = "#" *ws "title" 1*ws title-text
comment = "#" *text-char ; any other "#" line
entry = segment [ "/" ] 1*ws cid [ 1*ws sha256 ]
segment = 1*seg-char ; 1 to 255 bytes of UTF-8,
; and not "." or ".."
cid = 8*128( ALPHA / DIGIT )
sha256 = 64HEXDIG
title-text = 1*text-char ; first 200 characters kept
ws = SP / HTAB
text-char = <any Unicode scalar value except
control characters other than HTAB>
seg-char = <any Unicode scalar value except
whitespace, control characters,
U+061C, U+200B to U+200F, U+2028,
U+2029, U+202A to U+202E,
U+2066 to U+2069, U+FEFF, and
"/" "\" "?" "#" "<" ">" DQUOTE "'">
Further rules that the grammar does not express:
The whole list is at most 2,097,152 bytes and has at most 10,000 entries.
No entry name appears twice in one list, whether as a file or a folder.
At most one index-dir per list. Without one, the index name is index.html.
A line whose content starts with # is never an entry. It is an index-dir if, after the # and any spaces, it is the word index followed by a space or tab or nothing; a title-dir likewise for title; otherwise a comment. An index line with no valid segment after it makes the list invalid.
Parsers strip all leading and trailing whitespace from a line, not only ws. Publishers should write none.
Any violation makes the whole list invalid. There is no partial parse.
Entries carry a sha256 in every list a client will follow (section 5.5.1).
The canonical form a publisher writes is in section 5.6.
Appendix B. Limits
Each component enforces its own limits, so they differ. "—" means the component has no such limit or does not handle that input.
The lns publish site limits are defaults that lns.json can change (maxFiles, maxBytes, maxFileBytes). The gateway's file limits are its defaults (GATEWAY_MAX_INLINE, GATEWAY_MAX_DOWNLOAD).
B.4 Rendering (Names Browser)
Limit
Value
HTML document
512 KiB
CSS, all sheets together
256 KiB
Parsed DOM nodes
6,000
DOM depth
64
CSS rules
4,096
CSS declarations
16,384
Selectors per rule
64
Parts per selector
16
Linked stylesheets
16
@font-face rules
16
var() nesting
8
CSS value nesting (calc, repeat, color-mix)
8
Inline SVG / SVG file
64 KiB each; 256 draw operations, 128 defs, 64 use expansions, 4,096 polygon tokens, 64 KiB path data each; 1,024 ops and 128 KiB path data per page; 2,048 px canvas
Raster image
4 MiB, 4,096 pixels a side, 16 megapixels
Inline data: image
256 KiB
Images per page
64 megapixels in all
Site font
4 MiB (raw TTF/OTF only; inline data: font 512 KiB)
Page title
200 characters
Values from static_render.rs, sanitize.rs, cache.rs and logic.mjs. The Static Profile document gives 512 draw operations per SVG; the code allows 256, and the code is what runs. Section 7 has the full content profile.
Appendix C. A worked example
A three-file site for the name alice. The SHA-256 values are real, computed from the files shown. The CIDs are placeholders: real ones come from the Logos Storage node at upload time and look like zDvZRwzm….
(One line in the real file; wrapped here.) site/docs/intro.html (204 bytes) is like index.html, with the title and heading "Intro", the stylesheet at ../style.css, and a link ../ back home.
S. Bradner, "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, March 1997. https://www.rfc-editor.org/rfc/rfc2119
RFC 8174
B. Leiba, "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, May 2017. https://www.rfc-editor.org/rfc/rfc8174
RFC 5234
D. Crocker and P. Overell, "Augmented BNF for Syntax Specifications: ABNF", January 2008. https://www.rfc-editor.org/rfc/rfc5234
FIPS 180-4
NIST, "Secure Hash Standard (SHS)", August 2015. Defines SHA-256.
RFC 9106
A. Biryukov and others, "Argon2 Memory-Hard Function for Password Hashing and Proof-of-Work Applications", September 2021. Used to derive a name's keys.
Logos Names specification
"Logos Names: specification", version 2, draft (SPEC.md in the Logos Names repository). Names, derivation, record and page layouts, text entries, changing a name.
LNS Static Profile v1
STATIC-PROFILE.md in the Names Browser source. The content profile of section 7.
Informative
LNS web security report
"LNS web: security report", 27 November 2026. 85 findings across all review rounds, the trust model and the claim wording used in sections 2, 10 and 11. Not yet published.
Names Browser source
Names Browser 0.4.6 / core 0.3.6 (lns-browser, commit 4a3c32a): basecamp/qml/logic.mjs, Main.qml, and basecamp-module/rust-lib/src/ (links.rs, sanitize.rs, static_render.rs, cache.rs, storage.rs, lib.rs). Not yet in a public repository. The public repository github.com/jefdiesel/LNS_Browser still holds the older WebKit line (0.3.0), which this document does not describe.
Gateway and publisher source
lns-gateway: serve.mjs, sanitize.mjs, reserved.mjs, links.mjs, derive.mjs, storage.mjs, publish.mjs, single-publish.mjs, with its README.md and GATEWAY.md. The round-3 version described here is not yet in a public repository.
Logos Storage
The Logos content-addressed storage network. Its REST API (/api/storage/v1) is used to upload and fetch blobs by CID.
LEZ
The Logos Execution Zone, the chain that holds the LNS registry. Version 0.4 testnet line (rc3); JSON-RPC getAccountView.
borsh
The binary encoding used for records and pages. https://borsh.io
Changes
27 November 2026 · Gateway domain
Gateway moved to lnsweb.online
2026-11-27: gateway moved to lnsweb.online; nameswallet.app subdomains redirect. Sites are now served at <name>.lnsweb.online, and old <name>.nameswallet.app addresses redirect permanently (301, path and query kept). Host forms and examples updated throughout; deployment (§8.10) describes the move; shared domain (§8.11, §10.5.3) rewritten: G7 is reduced, not closed, until lnsweb.online is on the Public Suffix List. The Names Wallet site, its abuse page, the browser download and the RPC stay on nameswallet.app.
27 November 2026 · Privacy first
Privacy moved to section 2; planned 0.4 registry features
Privacy is now section 2 and covers all of LNS: names never on chain (Argon2id), holders and owner tags, commit-reveal and private registration, payments to receiving keys, browsing, publishing and known gaps (§2.1 to §2.12). Accessibility is section 3, and the other sections moved down: names §4, format §5, verification §6, content profile §7, gateways §8, publishing §9, security §10, reviews §11. The Abstract leads with privacy, a "Privacy at a glance" list follows it, and §1.2 lists the design goals. Added §4.10, planned subnames and prices for the 0.4 registry (not built), and the planned gateway host form blog--alice.lnsweb.online (§8.2). The gateway's headers now list Strict-Transport-Security: max-age=31536000; includeSubDomains, sent on every response since 27 November 2026 (§8.5.3).
27 November 2026 · Review pass
Accuracy review and missing topics
2026-11-27: review pass: added how to view a site (§1.4) and versions/roadmap noting LEZ 0.4.0 migration and superseded WebKit 0.3.0 (§1.6); added getting and holding a name with commit-reveal waits, deposits, locked/reserved shortlist counts and private vs public holders (§4.9); added subname notes (§4.1, §8.2), Logos Storage operations, persistence, seed peer and discovery notes (§5.11), and Cloudflare gateway deployment and zero-Worker cost model (§8.10, renumbering Shared domain to §8.11 and Trust to §8.12); expanded cid:// parsing vs navigation/subresource refusal (§4.7, §6.2.2, §7.3), on-chain page size/cost/RPC rules (§4.5), record text-key scope (§4.4), avatar raw-bytes vs data: URL limits (§4.6, §9.5), and owner removal/abuse reporting (§8.7, §8.8); fixed code mismatches on TTF/OTF-only font isolation in Names Browser (§6.4, §7.7, §7.10.2, B.4), lns:// normalisation (§4.1), gateway sanitizer vs static profile wording (§8.5.2), gateway Storage file caps (§10.2.3), SVG rejection/cap lists (§7.8.2, B.4), and Appendix B limits.
27 November 2026 · Draft 1
First edition as a specification
Replaces the one-page "LNS web standards" summary first published at lns://web earlier the same day. New: abstract, status, terminology and RFC 2119 requirements; numbered sections on names and records, the lns-links/1 format, verification, the content profile, gateways, publishing, security and privacy; the review log kept from the earlier page; the grammar, limits and example appendices.