PublicTxt Format Specification
Version: 0.1.0-draft · Date: 2026-11-13
Defines how a Git repository stores PublicTxt content so that independent tools can read, validate, aggregate and publish it. Rendering, UI, search and indexing are out of scope.
Every rule carries a status marker:
- [D] decided
- [P] proposed, needs sign-off
- [O] open, listed in §13
MUST, SHOULD and MAY are used as in RFC 2119.
The layout and page rules follow PublicTxt-Pages, the static site that publishes PublicTxt repos (ADR-0013). Where this spec and Pages disagree, §13 lists it.
1. Conformance
| Role | Requirement |
|---|---|
| Reader | Parses a repo into the Document model (§10). MUST produce the expected output for every case in spec/fixtures/. |
| Writer | Produces files that a conformant Reader parses without errors. |
| Validator | Reports diagnostics (§11). MUST NOT modify files. |
A tool states the role and version it conforms to, e.g. “Reader 0.1”.
2. Repository
- [D] One author per repository. Multi-author views come from aggregating repositories (ADR-0009).
- [D] Git is the source of truth.
- [P] Repositories MUST NOT commit derived data: indexes, tag pages, search data, normalized tags (ADR-0003). One open exception: §8.
- [P] Content is published on the default branch. Other branches are for drafts and pull requests, not distribution (ADR-0005).
- [P] Documents are
*.mdfiles in UTF-8. Writers SHOULD use LF line endings and Unicode NFC. Readers MUST accept CRLF. - [P] Every other file is an attachment: it can be a link target but is not a document.
- [P] Readers skip:
- the folders
.git/,.obsidian/,.trash/,_site/andnode_modules/, at any depth; - the files
CNAMEand.gitignore, at any depth; - every path listed under
ignorein the manifest.
- the folders
- [P]
README.md,LICENSE.mdandCONTRIBUTING.mdare not skipped by default: they are documents like any other, andLICENSEis an attachment. A Reader MAY let a repo name further file names to skip (PublicTxt-Pages:params.skipFiles).
3. Manifest: publictxt.yaml
[P] A YAML file at the repo root. A Reader MUST accept a repo without one and emit no-manifest.
publictxt: "0.1" # required: spec version the repo targets
author:
name: Jaysen # required: display name
ignore: # optional: path prefixes Readers skip
- .obsidian/
- templates/
aliases: aliases.yaml # optional: this author's tag alias file (§7.4)
ignoreentries are repo-relative folder prefixes ending in/.- [P]
types(folder → type) is gone: collections come from folder names (§4). - Readers MUST ignore unknown keys.
- [P] A repo’s identity is its remote URL, not a manifest field, in canonical form (§3.1).
- [P]
followsis gone: follows are documents (§3.2, ADR-0014).
3.1 Canonical repo URL
[P] v0, adopted from obsidian-publictxt-remotes, which needs a stable key for follows and forks:
- Form:
https://<host>/<owner>/<repo>. - Lower-case the scheme and host. Owner and repo keep their case: hosts differ on case sensitivity.
- Drop a
.gitsuffix, a trailing/, the query and the fragment. git@<host>:<owner>/<repo>.gitbecomes the HTTPS form.- Anything else is invalid, including
file:URLs. A follow of a repo with no public URL has nourlat all (§3.2). - [O] Hosts with nested groups (GitLab subgroups), other ports and self-hosted paths.
3.2 Follows
[P] The repos this author follows. Each is a document in follows/, at any depth, with front matter (ADR-0014):
---
url: https://github.com/example/notes # required: canonical repo URL (§3.1)
branch: main # optional; default: the remote's default branch
include: [blog/] # optional folder prefixes; default: the whole repo
rating: 4 # optional: this author's rating of the repo, 1–5 (§5.4)
---
Why I follow it, and what to read there.
- A document in
follows/is a follow whenurlis a valid repo URL. Readers canonicalize it (§3.1). Without one, the Reader emitsfollow-missing-urland it is a plain document. - A follow’s name is its file name without
.md:follows/ann-notes.mdis the followann-notes. Forks and mirrors name the follow they came through by it (fork_remote, §5.2;mirror_remote, §5.5). Names are unique in a repo, compared without case. - [P] A document in
follows/withlocal: trueand nourlis a tool’s follow of a repo with no public URL, such as another vault on the author’s computer (ADR-0015). It holds no path. To Readers it is a plain document, withoutfollow-missing-url. - [P] A repo is followed once. A tool that also has a copy of a hosted follow’s repo on the author’s computer may fetch from it, and keeps where it is in its own settings: the follow stays the hosted repo’s, and says nothing of the copy (ADR-0018).
branchnames the branch to follow; when absent or blank, the remote’s default branch.includelists repo-relative folder prefixes ending in/, likeignore; when absent or empty, the whole repo. It narrows what a reader shows, not what it fetches: the whole repo is still fetched (ADR-0005). It is the first piece of the filter grammar; tag filters stay open (§13).- Two follows of one canonical URL: the first by path (byte order) counts; the Reader emits
duplicate-followon the others. - [P]
ratingis a document’s rating (§5) like any other: on a follow, a document about a repo, it is this author’s rating of that repo. It is the source rating of every document that came through the follow (§5.4). - Readers MUST ignore other keys in a follow: tools keep their own settings there. obsidian-publictxt-remotes keeps
folder,list_mirrorsandlist_forks; they are not facets. - Follows are documents like any other: in the collection
follows(§4.2), and published. - [O] Whether the Document model lists follows under
repo(§13).
4. Layout and collections
4.1 Layout
[P] Any folder layout is valid: an existing Obsidian vault needs no restructuring. This layout is the convention, and what PublicTxt-Pages builds sections from:
| Path | Holds |
|---|---|
_index.md | The home page |
wiki/ | Reference pages, read by place |
blog/ | Dated posts; the date usually comes from the path (§5.1) |
posts/ | Longer pieces |
notes/ | Short notes |
bookmarks/sites/<domain>/…/<file>.md | One file per web resource, with a bookmark URL (§8) |
bookmarks/wiki/ | Pages about bookmarks; no URL needed |
media/ | Shared attachments |
settings/site.toml | PublicTxt-Pages site settings; not content |
follows/ | One document per followed repo (§3.2) |
community/<follow>/… | Mirrors: documents from followed repos, as their authors wrote them, each at the path it has there (§5.5) |
Blog paths, each dated by §5.1:
blog/2023/12/17/post.md day folders
blog/2024/09/20240922-title.md YYYYMMDD file name prefix, month folders
blog/20260509-title.md YYYYMMDD file name prefix, no folders
- [P]
_index.mdis a folder’s own page, at any depth. It is a document like any other. - [P] Attachments sit beside the note that uses them, or in a top-level folder such as
media/. - [P]
community/holds mirrors, a folder per follow, named for it (§5.5, ADR-0017). It is the one folder of this repo that isn’t this author’s writing. - [O] Profiles, groups and discussion are deferred. They were pencilled in for
community/before it held mirrors; whether they live beside the mirrors or elsewhere is open (§13).
4.2 Collections
[P] A document is in one or more collections. They replace types (ADR-0013).
| Source | Collection it adds |
|---|---|
| The top-level folder the document is filed in | That folder’s name |
| A document at the repo root | page |
Front matter collections (one string or a list) | Each value |
A bookmark or bookmarks URL (§8) | bookmarks |
- Collections are lower-cased:
Notesandnotesare one collection. - Order: the folder’s (or
page), thencollectionsvalues as written, thenbookmarks. Duplicates are dropped; the first stays. - Collections add, never replace: the folder’s collection always stays.
- A collection needs no folder:
collections: [recipe]is valid on its own.
5. Front matter
[P] Optional. If a file’s first line is exactly ---, the YAML block runs to the next line that is exactly ---. This matches Obsidian Properties. If the block does not parse to a mapping, the Reader emits invalid-frontmatter and treats the file as having no front matter.
Reserved keys, all optional:
| Key | Value | Meaning |
|---|---|---|
title | string | Document title (§6) |
collections | string, or list of strings | Extra collections (§4.2) |
tags | list of strings, or one string | Tags (§7) |
created | ISO 8601 datetime or date | When the document was written (§5.1). Legacy: date |
updated | ISO 8601 datetime or date | When it last changed (§5.1). Legacy: lastmod |
publish | off, false, no or 0 | Not published (§5.3) |
rating | integer 1–5 | This author’s rating of the document; on a follow, of the repo (§5.4) |
bookmark, bookmarks | absolute URL, or list of them | Makes the document a bookmark of each resource (§8) |
resource_id | string | See §8 |
aliases | list of strings | Obsidian note aliases (not tag aliases) |
fork_* | see §5.2 | Fork provenance |
mirror_* | see §5.5 | Mirror provenance |
- Readers preserve unknown keys and pass them through. PublicTxt-Pages also reads
categories,author,source_repo,source_pathand post source keys (mastodon,substack, …); to this spec they are unknown keys. - [P]
ratingis an integer from 1 to 5, as in PublicTxt-Pages and obsidian-publictxt-facets. Any other value is treated as absent: the document is unrated. - [P]
typeis not reserved: collections replace it (§4.2). - [P]
urlis not reserved. Hugo uses front matterurlto override a page’s output path, so a bookmark stored asurlwould break the static site. Readers treaturllike any unknown key. - [O]
authorandsource_repocan be derived from the manifest and the repo URL. The Hugo interface currently carries them in front matter. Decide whether they are written to disk (derived data, ADR-0003) or injected at publish time.
5.1 Dates
[P] Every document has a created and an updated, resolved by a ladder. Each rung that applies wins over the ones below it. The Reader records the rung for created as created_source.
created:
front-matter:created, else the legacydatepath: a date in the file name, else in the folders (below)git: the first commit that touched the filemtime, thenbuild: the file system and the build time
updated: front matter updated, else the legacy lastmod; then the last commit, the file’s mtime, the build time. Consumers keep updated no earlier than created.
[P] Rungs 3 and 4 depend on the checkout, not the files: a shallow clone collapses rung 3. The Document model (§10) holds rungs 1 and 2 only, and is null where neither applies. Consumers fill in the rest.
[P] A path date is the first of:
YYYY-MM-DDin the file name without its extension;YYYYMMDDin the file name without its extension;YYYY/MM/DD/in the folders.
Either file name form must not touch another digit, so a longer run (an ISBN, an id) is not a date. A form that isn’t a real calendar date is skipped. Month folders alone (
2024/09/) are not a date. The path date applies in any folder, not onlyblog/, and is the date-only formYYYY-MM-DD.[D] Front matter dates are ISO 8601. Writers SHOULD include the time and UTC offset:
2026-10-13T00:36:00+02:00.[D] A date-only value (
2026-10-13) is valid and produces no diagnostic.[P] Accepted forms:
YYYY-MM-DD, optionally followed byTor a space andhh:mm, then optional:sswith an optional fraction, then optionalZor±hh:mm. This covers the values Obsidian’s date and date-and-time properties write.[P] Readers MUST use the value as written and MUST NOT convert time zones. YAML libraries disagree on timestamps: YAML 1.1 resolves them to typed values, while the YAML 1.2 core schema leaves them as strings. Relying on typed parsing would make Readers disagree.
[P] A value that doesn’t match these forms, or isn’t a real calendar date and time (
2026-02-30), emitsinvalid-dateand is treated as absent: the next rung applies.
5.2 Fork provenance
[P] A fork is this author’s own document, made from a document in another repo. It records where it came from in its own front matter, flat so Obsidian Properties can show and edit it (ADR-0012).
| Key | Value |
|---|---|
fork_remote | Name of the follow (§3.2) in this repo it was forked through |
fork_repo | Canonical repo URL (§3.1) of the source; absent when the follow has none (local: true) |
fork_path | Repo-relative path of the file forked |
fork_branch | Branch it was forked from |
fork_commit | Source head commit SHA at fork time |
fork_blob | Git blob SHA of the source file at fork time: the change marker and merge base |
fork_date | ISO 8601 datetime of the fork, with offset |
fork_seen | Git blob SHA of a later source version the author dealt with without taking it, or gone for a source file removed upstream. Absent until then |
- [P] A document is a fork when
fork_pathandfork_blobare valid and it has a validfork_repoorfork_remote. The others are optional when reading. - [P] A Writer writes
fork_remote, andfork_repowhenever the source has a URL: the URL is what lets anyone reading a published fork find the original, which a name alone can’t. - [P] A Writer that forks keeps the source’s front matter, sets its
fork_*keys, and removes any otherfork_*key and everymirror_*key (§5.5), so a fork of a fork never keeps the upstream’s provenance, and a mirror that is forked stops being one. - [P]
fork_seenrecords a decision, not where the text came from:fork_blobstays the version the text was copied from. A Writer that takes a newer version rewritesfork_bloband removesfork_seen. - [P] These are authored facts, not derived data: they can’t be recomputed from the repo (ADR-0003).
- [O] Whether the Document model (§10) exposes fork and mirror provenance. In 0.1 Readers pass
fork_*andmirror_*through like any unknown key.
5.3 Publishing
- [P]
publish: off(orfalse,no,0, case-insensitive) keeps a document off published sites. It is hidden, not private: the file is still public in the repo. - [P] Readers still read unpublished documents and set
published: false(§10). Whether followers aggregate them is up to the consumer.
5.4 Source, source rating and copy
[P] Every document has a source, the repo its text came from, and a source rating, the rating of that repo. A document from another repo is also a copy of one kind: forked or mirrored. All three are computed when reading from fork_* keys (§5.2), mirror_* keys (§5.5) and follows (§3.2), and never written to disk (ADR-0003, ADR-0016). Views facet and sort on them.
A mirror is read as a fork is, with mirror_remote and mirror_repo for fork_remote and fork_repo. Below, “fork” stands for either.
A document’s follow:
- A fork with
fork_remotecame through the follow of that name in this repo, compared without case. If no follow has that name, it has no follow. - A fork without
fork_remotecame through the follow whose canonicalurl(§3.1) equalsfork_repo, if there is one. - A document that is neither a fork nor a mirror has no follow.
Its source:
| Document | Source | Label |
|---|---|---|
| A fork with a follow | That follow | The follow’s name |
| A fork without a follow | Its fork_remote, else its fork_repo | That value |
| Not a fork | This repo | The consumer’s choice, such as the manifest’s author.name |
Its source rating:
| Document | Source rating |
|---|---|
| A fork with a follow | The follow’s rating; unrated if it has none |
| A fork without a follow | Unrated |
| Not a fork | None: this repo’s own documents are not rated as a source |
Its copy:
| Document | Copy |
|---|---|
| A fork (§5.2) | forked: this author’s version of the source’s text |
| A mirror (§5.5) | mirrored: the source’s text as it stands there |
| Neither | None: this repo’s own documents are not copies |
- Copy goes by the document’s keys, not its folder (§5.5), and not by whether it has a follow: a fork whose follow is gone is still
forked. - Views SHOULD keep “this repo” apart from forks and from unrated sources: an own document isn’t from an unrated repo.
- Views SHOULD tell a mirror from a fork (“from” the source, “forked from” the source), and MAY facet on copy. A document with no copy matches neither value: including one leaves this repo’s own documents out, excluding one keeps them. PublicTxt-Pages filters on it as
copy(?copy=forked,?copy-not=mirrored). - A follow is not a fork, so its own source is this repo, while its
ratingis the source rating of the documents that came through it. - A document’s own
rating(§5) and its source rating are separate facets. A fork keeps theratingit had in its source repo unless the author changes it; a mirror’sratingis its source author’s. - Changing a follow’s
ratingrates every document from that repo at once, and renaming a follow moves its forks out of it until theirfork_remoteis updated. This matches how obsidian-publictxt-remotes matches forks to follows. - The source is not
source_repo: that key names the repo a document is published from (§13). - [O] Ratings from other people: aggregated, weighted or consensus reputation (§13).
5.5 Mirrors
[P] A mirror is another repo’s document kept in this repo as its author wrote it: to read, search and link to, not to edit (ADR-0017). Following a repo, mirroring some of its documents and forking some of those are three steps. A fork is this author’s document; a mirror is still its source’s.
| Key | Value |
|---|---|
mirror_remote | Name of the follow (§3.2) in this repo it was mirrored through |
mirror_repo | Canonical repo URL (§3.1) of the source; absent when the follow has none (local: true) |
mirror_path | Repo-relative path of the file mirrored |
mirror_branch | Branch it was mirrored from |
mirror_commit | Source head commit SHA when the mirror was last written |
mirror_blob | Git blob SHA of the source file the mirror’s text is |
mirror_date | ISO 8601 datetime the mirror was last written, with offset |
- [P] A document is a mirror when
mirror_pathandmirror_blobare valid, it has a validmirror_repoormirror_remote, and it is not a fork: validfork_*keys (§5.2) win. The others are optional when reading. - [P] What a document is goes by its keys, not its folder: a mirror moved out of
community/is still a mirror, and a fork filed under it is still a fork. - [P] A Writer that mirrors keeps the source’s front matter and body as they are, links included, sets its
mirror_*keys, and removes anyfork_*key. It writesmirror_remote, andmirror_repowhenever the source has a URL. - [P] A Writer that updates a mirror replaces its text with the source’s and rewrites its
mirror_*keys. There is nothing to merge and nomirror_seen: the copy is the source’s. A Writer SHOULD NOT overwrite a mirror whose text no longer matchesmirror_blobwithout asking. - [P] A Writer that forks a mirror moves the document, never copies it, and renames each
mirror_*key to itsfork_*namesake, withfork_datethe time of the fork.fork_blobis themirror_blob: the text came from it. - [P] By convention a mirror is at
community/<follow name>/<mirror_path>(§4.1), so links between one source’s mirrors resolve as they did in the source. A Reader resolves a mirror’s links like any document’s (§9): one to a document that isn’t mirrored is unresolved. - [P] Mirrors are documents like any other: in the collection
communitywhen filed there (§4.2), and published unlesspublish: off(§5.3). A view MAY leave that collection out of its lists until asked for; PublicTxt-Pages does. - [P] A mirror’s source and source rating are computed as a fork’s are, and its copy is
mirrored(§5.4). - [P] Like
fork_*, these are authored facts, not derived data (ADR-0003): which documents an author mirrors is their choice, and can’t be recomputed from the repo.
6. Title
[P] First match wins:
- Front matter
title - An ATX H1 (
# Heading) if it is the first non-empty line in the body. - For
_index.md, its folder’s name with-replaced by spaces (at the repo root,index). Otherwise the file name without.md, with-and_replaced by spaces and trimmed. A date prefix stays:20260509-title.mdis titled20260509 title.
7. Tags
7.1 Sources
- [D] Front matter
tags. A leading#is stripped. Writers SHOULD omit it, because an unquoted#starts a YAML comment. - [D] Inline hashtags in the body.
7.2 Inline grammar
[P] A tag is # followed by one or more tag characters, where:
- the
#is at the start of a line or preceded by whitespace; - tag characters are Unicode letters, digits,
_,-and/; - at least one character is not a digit (
#2026is not a tag).
Tags are not recognized inside front matter, fenced code blocks or inline code. These rules also exclude headings (# Title) and URL fragments (/page#section).
7.3 Raw and match forms
- [D]
rawis the tag as written, without#. It is never rewritten on disk. - [D]
matchis computed when reading and never written to disk. - [P]
match= Unicode NFC, then lowercase. The/hierarchy is kept. - [P] Tags are de-duplicated by
match: front matter tags first, then inline tags in reading order. The first occurrence’srawis kept.
7.4 Tag aliases
[D] Vocabulary is reconciled at view time with the reader’s own alias file. Tags are never normalized globally (ADR-0006).
[P] File format, keyed by match:
dotnet: [dot-net, net-core]
Aliases apply in views only. They are not part of the Document model.
8. Bookmarks
A bookmark is a document about a web resource. Being a bookmark is an attribute, not a folder (ADR-0010).
- [D] Any document with a
bookmarkattribute is a bookmark, wherever it lives. A wiki page about a book stays inwikiand joinsbookmarks(§4.2). - [P] The attribute is front matter
bookmarkorbookmarks: an absolutehttporhttpsURL, or a list of them. Both keys may be present; URLs are readbookmarkfirst, thenbookmarks, duplicates dropped. - [P] A document under
bookmarks/, except underbookmarks/wiki/and except_index.md, without a URL emitsbookmark-missing-url. It is still in thebookmarkscollection by folder. - [P] Several documents in one repo may bookmark the same resource, e.g. a
bookmarks/sites/entry and a wiki page. Views group them byresource_idand combine their tags.
resource_id
- [D]
resource_ididentifies the resource across repos. It is a hash of the normalized URL. - [P]
resource_id = "sha256:" + lowercase hex SHA-256 of the UTF-8 bytes of normalize(url). - [P]
normalizev0 is deliberately minimal:- lowercase the scheme and host;
- drop the default port (
:80for http,:443for https); - drop the fragment;
- an empty path becomes
/; - change nothing else: no query reordering, no trailing-slash or
www.changes.
- [O] Full normalization and near-miss handling are deferred.
- [P] Readers compute
resource_idfor every bookmark URL. If front matter holds aresource_id, the document has exactly one URL and the two differ, the Validator emitsresource-id-mismatch. - [O] A stored
resource_idis derived data (ADR-0003). Changingnormalizewould make every stored value stale. The options are (a) never store it and compute it when reading, or (b) store it with a normalization version prefix. Recommendation: (a), unless a consumer needs it on disk. - [O] The mapping from URL to a
bookmarks/sites/path is undefined. Readers MUST NOT validate it in 0.1.
9. Links
[P] Readers extract explicit links outside code, in reading order:
- Markdown links
[text](target)and embeds - Wikilinks
[[target]],[[target|label]],[[target#heading]]and embeds![[target]]
Resolution:
- [P] A target with a URI scheme (
https:,mailto:) is external. Itstargetis the whole URL as written,fragmentis null, and it is not resolved. - [P] For internal links,
targetis as written, minus any#fragmentand wikilink|label. It is not percent-decoded. Text after#becomesfragment. - [P] Markdown targets are percent-decoded and resolved relative to the linking file’s folder. A leading
/means the repo root. - [P] A wikilink target without an extension gets
.md. A target containing/is a repo-relative path. Any other target matches by filename, case-insensitively, among files that are not ignored. Exactly one match resolves; zero or several leave the link unresolved. - [P] An empty target (
[[#heading]]) resolves to the linking file. - [P] An unresolved internal link produces
unresolved-link. - [O] Bare URLs are not links in 0.1. Revisit for bookmarking.
- [O] Full parity with Obsidian’s link resolution (shortest-path rules) is not a goal for 0.1.
10. Document model
This is the Reader’s output and the shape of every fixture’s expected.json. Documents are sorted by path in byte order. Collections, bookmarks, tags and links keep their order.
{
"repo": { "spec": "0.1", "author": "Jaysen", "diagnostics": [] },
"documents": [
{
"path": "notes/quick-link.md",
"collections": ["notes", "reading", "bookmarks"],
"title": "Quick link",
"created": "2026-10-13T00:36:00+02:00",
"created_source": "front-matter",
"updated": null,
"published": true,
"bookmarks": [{ "url": "http://Example.com:8080/a/b", "resource_id": "sha256:…" }],
"tags": [{ "raw": "Reading", "match": "reading", "source": "frontmatter" }],
"links": [{
"syntax": "markdown", "embed": false, "external": false,
"target": "../wiki/home.md", "fragment": null, "resolved": "wiki/home.md"
}],
"diagnostics": []
}
]
}
collectionsfollows §4.2 and is never empty.createdis the front matter value exactly as written, else the path date (YYYY-MM-DD), else null.created_sourceisfront-matter,pathor null (§5.1).updatedis the front matter value exactly as written, else null.publishedis false only forpublish: offand its synonyms (§5.3).bookmarkslists each URL as written, with its computedresource_id; empty when the document is not a bookmark.tags[].sourceisfrontmatterorinline.links[].syntaxismarkdownorwikilink.- Each diagnostic is
{ "level": "warning" | "error", "code": string, "subject": string | null }.
11. Diagnostics
| Code | Level | Scope | subject |
|---|---|---|---|
no-manifest | warning | repo | null |
unsupported-spec | warning | repo | the manifest’s version |
invalid-frontmatter | error | document | null |
invalid-date | warning | document | the value as written |
bookmark-missing-url | warning | document | null |
resource-id-mismatch | warning | document | the stored value |
unresolved-link | warning | document | the link target |
follow-missing-url | warning | document | null |
duplicate-follow | warning | document | the canonical URL |
12. Versioning
- [P] The spec follows SemVer. Any 0.x minor version may break compatibility.
- [P] The manifest’s
publictxtkey declares the version a repo targets. A Reader SHOULD emitunsupported-specwhen it is newer than the Reader supports.
13. Open questions
- Filter grammar for follows beyond
includefolder prefixes, e.g. tags (§3.2) - Canonical repo URL beyond v0: nested groups, ports, self-hosted paths (§3.1)
authorandsource_repo: stored on disk or injected at publish (§5)- Mapping from URL to a
bookmarks/sites/path (§8) - Full URL normalization and near-miss handling (§8)
- Whether
resource_idis stored on disk (§8) - Bare URLs as links (§9)
- Parity with Obsidian link resolution (§9)
community/beyond mirrors: where profiles, groups and shared repos live (§4.1)- Dataview inline fields (
key:: value, e.g.bookmark:: <url>). The README requires Dataview compatibility; 0.1 does not parse them. - Whether two documents in one repo bookmarking the same resource should warn (§8)
- Whether the Document model exposes fork and mirror provenance (§5.2, §5.5), and the source, source rating and copy computed from it (§5.4). PublicTxt-Pages and obsidian-publictxt-facets each compute them for now.
- Detecting local edits to a fork or a mirror: needs a hash of the body without the
fork_*ormirror_*keys (§5.2, §5.5) - Where folders are left out: manifest
ignorehere,params.excludeFoldersin PublicTxt-Pages’settings/site.toml. One place would be better (§3) - Differences from PublicTxt-Pages still to settle (ADR-0013):
- Tags: Pages reads ASCII letters only and lower-cases at build; this spec allows Unicode letters and keeps
raw(§7). Pages also tags a page with a nested tag’s parents (#dev/app→dev). - Invalid dates: Pages passes an invalid
createdthrough; this spec drops it and moves to the next rung (§5.1). - Links: Pages shows
[[wikilinks]]as plain text; this spec extracts and resolves them (§9).
- Tags: Pages reads ASCII letters only and lower-cases at build; this spec allows Unicode letters and keeps
- Whether the Document model lists follows under
repo(§3.2) - Reputation beyond this author’s own rating of a follow: other people’s ratings, weighting, consensus (§5.4, IDEAS.md)
- Links in mirrors: a link to a document that isn’t mirrored is
unresolved-link, and a root-relative link resolves against this repo, not the source. Whether a Reader should resolve a mirror’s links against its source’s layout, or stay silent about them (§5.5, §9) - Attachments of mirrors: whether a mirrored document’s images and other embeds are mirrored with it (§5.5)
Appendix A. Changes from the README layout
indexes/andtags/folders removed: derived data (ADR-0003).- Topic branches removed (ADR-0005).
- Bookmarks are one file per resource under
bookmarks/sites/<domain>/, replacingmetaweb/and its sub-folders (sites,bookmarks,notes,annotations) (ADR-0013). - Any document can be a bookmark through the
bookmarkattribute, wherever it lives [D] (ADR-0010). - Blog posts keep all three PublicTxt-Pages path forms, day folders included (ADR-0013).
community/deferred.- W3C Web Annotation moved from storage model to a possible export format (IDEAS.md) [D].
Appendix B. Changes from the 2026-10-13 draft (ADR-0013)
- Types (
type,type_source, manifesttypes) replaced by collections (§4.2). datereplaced bycreatedandupdated, withdateandlastmodread as legacy keys (§5.1). Path dates apply in any folder; the blog sequence<n>is gone.metaweb/replaced bybookmarks/sites/.bookmarkslists are allowed; the model’sbookmarkandresource_idbecamebookmarks[].bookmark-missing-urlis a warning, scoped tobookmarks/outsidebookmarks/wiki/.blog-missing-dateandblog-date-mismatchremoved.- Titles keep date prefixes and replace
-and_with spaces;_index.mdtakes its folder’s name (§6). publishreserved;publishedadded to the model (§5.3).- Editor folders,
CNAMEand.gitignoreskipped; READMEs, licences and contributing files are not (§2).
Appendix C. Changes from the 2026-11-12 draft (ADR-0017)
- Mirrors added (§5.5):
mirror_*keys, andcommunity/<follow>/…as where they live (§4.1). Source and source rating read them as they read forks, and copy (forked,mirrored) tells the two apart (§5.4). community/now holds mirrors. Profiles, groups and discussion, which it was pencilled in for, have no folder yet (§13).- Writing a fork removes
mirror_*keys (§5.2). - A hosted follow with a copy on the author’s computer is still one follow, with nothing of the copy in it (§3.2, ADR-0018).
- obsidian-publictxt-remotes’ own follow keys are
folder,list_mirrorsandlist_forks;watchis gone (§3.2).