🏡 README by @jaysen
PublicTxt§
PublicTxt is an experiment in using Git repositories as an interoperability layer and online storage for public and community knowledge. Using free Git hosting and plain-text Markdown, individuals and communities can share, curate and collaborate on content without relying on centralized platforms or paid infrastructure.
At its core is a format specification: plaintext conventions that any tool can read and write. Tools built on it sync your repository, follow and aggregate other people’s repositories, and publish everything to the web as a static site.
What PublicTxt is, for now§
The differentiator is selective aggregation across many Git-hosted repositories: following other people’s PublicTxt repos and pulling chosen pages into a local view. Plain-text Markdown in Git, published as a static site, is the substrate; aggregation is the value. Everything else supports that, or is deferred.
v1 success looks like:
"I can keep my notes and writing in a Git repository, publish them to the web for free via gh-pages or similar, and pull selected pages from other people’s PublicTxt repos into a local aggregate view I can browse and search."
How it works§
- Plain text. Markdown with YAML front matter and inline
#tags, compatible with Obsidian Properties.
- Zero-cost storage and hosting — free Git hosting for storage, distribution and static sites.
- Static website generation — PublicTxt Pages: push and you’re live, with full-text search and facets. See Publishing.
-
Selective aggregation — pull chosen content from other repositories into a local aggregate. In progress: Obsidian PublicTxt Remotes follows repos and forks their pages.
- Follow, then filter. You follow whole repositories and filter when reading.
- Mirror the pages you want at hand into
community/
- Fork with provenance. A page copied from another repo records where it came from in its own front matter, so you can see when the source changes.
- Obsidian compatible — a PublicTxt repository is an Obsidian vault. Obsidian PublicTxt Facets brings the site’s browsing into the editor, and Obsidian PublicTxt Remotes Plugin handles aggregation from other wikis
Status§
Components§
PublicTxt-Pages§
PublicTxt Pages: zero-backend static site for a PublicTxt repository, or any Obsidian or Markdown wiki.
- Builds with Hugo; deploys to GitHub Pages or any static host.
- Works on plain Obsidian vaults that use relative Markdown links, with no conversion step.
- Full-text search and facets (tags, tag combinations, type) via Pagefind.
- Single repo in v1.
see publictxt/publictxt-pages GitHub repo
Obsidian-PublicTxt-Facets§
Obsidian PublicTxt Facets: the same faceted browsing inside Obsidian. Offline by design.
- Filter notes by combinations of tags; the tag list narrows to tags that co-occur with the selection.
see publictxt/obsidian-publictxt-facets GitHub repo
Obsidian-PublicTxt-Remotes§
Obsidian PublicTxt Remotes: the pulling half of v1.
- Follow whole repos, one note per repo in
follows/; narrow what’s shown by folder (include).
- See what changed since you last looked, by git blob SHA.
- Mirror the pages you want at hand into
community/, as their authors wrote them, with mirror_* provenance.
- Fork a page into your own notes, with
fork_* provenance in its front matter.
- Named remotes: each follow note is named for its remote, and forks record the name (
fork_remote).
- Local sources: a git repo on your computer, such as another vault, can be followed too, with no path in its note. Snapshot commits what changed in it; a plain folder can be made a repo.
- Local copies: a repo followed by URL that is also cloned on your computer stays one source, fetched from the folder.
- Desktop only, over the git CLI: any host, your own SSH keys.
- Decisions: ADR-0011, ADR-0012, ADR-0014, ADR-0015.
see publictxt/obsidian-publictxt-remotes GitHub repo
WikiTool: multiplatform .NET tool for handling multiple wikis.
- Converts between wiki formats and syntaxes, including Obsidian ↔ md-wiki.
- Copies between wikis by search, tag expressions (
tag1 + tag2 - tag3) and attributes.
see jaysen/WikiTool GitHub repo
PublicTxt.net: .NET implementation. Core libraries, feature services, Git and database infrastructure.
see publictxt/publictxt.net GitHub repo
CuratedCommons§
CuratedCommons: social bookmarking and curation on PublicTxt repos. Commentary lives in plain-text repos that are public, forkable and followable.
see publictxt/curated-commons GitHub repo
Repository layout§
The spec follows the PublicTxt-Pages layout (ADR-0013); details in Repository structure and spec §4.
publictxt.yaml manifest: spec version, author, ignore
_index.md home page; any folder's _index.md is its own page
wiki/ posts/ notes/ one collection per top-level folder
blog/ 2023/12/17/post.md, 2024/09/20240922-title.md or 20260509-title.md
bookmarks/sites/<domain>/… one file per web resource, with a bookmark: URL
media/ shared attachments
follows/ one note per repo you follow (ADR-0014)
Any folder layout works: an existing vault’s top-level folders become its collections, with no remapping.
A minimal manifest (spec §3):
publictxt: "0.1"
author:
name: Your Name
A follow, follows/example-notes.md (spec §3.2):
---
url: https://github.com/example/notes
include: [blog/]
rating: 4 # how far I trust this repo, 1–5: the source rating of its pages
---
Why I follow it, and what to read there.
Front matter on a wiki page that is also a bookmark:
---
title: Pro Git
created: 2026-10-13T00:36:00+02:00
tags: [git, books]
bookmark: https://git-scm.com/book/en/v2
---
Use cases§
- Personal knowledge management: your own Markdown knowledge base with version control and free hosting.
- Distributed blogging: posts that others can follow and aggregate.
- Research and learning: pull selected pages from peers’ repos into a local view for study and synthesis.
- Social bookmarking (CuratedCommons): share and annotate web resources; aggregate other people’s bookmarks and tags.
- Community wikis (lightweight): small groups using Git’s own collaboration: pull requests, branches, forks.
Later§
Deferred until the v1 aggregation-and-publish story works and is used. Each has a trigger in IDEAS.md; the Roadmap has the order.
- Visibility: public, semi-public and private content. Private content needs private repos; how they fit into following is undecided.
- Community: profiles, groups, discussion and moderation. (
community/ now holds mirrors of followed repos’ pages; where these live is open.)
- Desktop and web apps that hide Git, with a local cache for fast search.
- MetaWeb: a browser extension showing Git-stored notes on web pages; W3C Web Annotation export.
- Federation: ActivityPub; Git commits as public records.
- Richer data: RDF semantic edges, weighted links, a TerminusDB graph backend, consensus and reputation.
This repository§
A working PublicTxt repository, published as publictxt.github.io/publictext/ (see Publishing). It also holds the project’s own docs:
wiki/publictxt/: project documentation
wiki/publictxt/docs/spec/: format specification and conformance fixtures
wiki/publictxt/docs/IDEAS.md: parked ideas, each with a trigger for revisiting it
wiki/publictxt/docs/adr/: architecture decision records
wiki/publictxt/docs/history/: earlier versions of this README
Suggest changes through issues, pull requests or by forking.
License§
GPLv3: https://www.gnu.org/licenses/gpl-3.0.en.html. See LICENSE.
Contributing§
See CONTRIBUTING.md.
🏡 README by @jaysen
Architecture decision records§
Format and process: 0001.
| ADR |
Decision |
Status |
| 0001 |
Record architecture decisions |
Proposed |
| 0002 |
The format spec is the product |
Proposed |
| 0003 |
Git is the only source of truth; derived data is never committed |
Proposed |
| 0004 |
Use the git CLI, not LibGit2Sharp |
Proposed |
| 0005 |
Follow whole repos, filter at query time; no topic branches |
Accepted / Proposed; follows in the manifest superseded by 0014 |
| 0006 |
Tags stay raw on disk; normalization and aliases at view time |
Accepted |
| 0007 |
One document model; features are document types |
Proposed; type superseded by 0013 |
| 0008 |
Obsidian is the editor; defer custom clients |
Proposed |
| 0009 |
One author per repository |
Accepted |
| 0010 |
Bookmark is an attribute any document can carry |
Accepted / Proposed; metaweb/ type superseded by 0013 |
| 0011 |
Follow and fork from an Obsidian plugin, desktop-only, over the git CLI |
Proposed; mobile phase superseded by 0015 |
| 0012 |
A fork records its provenance in its own front matter |
Proposed |
| 0013 |
The spec follows the PublicTxt-Pages layout and page rules |
Proposed |
| 0014 |
Follows are notes, one per repo, in follows/ |
Proposed |
| 0015 |
Obsidian PublicTxt Remotes: named remotes, local sources, desktop only for good |
Proposed |
| 0016 |
A repo’s rating lives on its follow; a document’s source is computed |
Proposed |
| 0017 |
Mirrors: followed repos’ pages, as written, under community/ |
Proposed |
| 0018 |
A hosted follow can have a local copy; it stays one follow |
Proposed |
🏡 README by @jaysen
PublicTxt§
Plain Markdown in Git as personal and public knowledge storage - published free, readable by any tool, and (next) aggregated across other people’s repositories.
Roadmap§
| Version |
Scope |
Status |
| v1 Personal |
Store and publish your own knowledge: Obsidian + Facet Plugin, PublicTxt-Pages deploy, format spec 0.1 |
Current |
| v2 Aggregation |
Subscribe to other PublicTxt repos and browse a filtered, merged view |
In progress |
| v3 Community |
Groups, shared repos, discussion, federation |
Designed |
v1 Personal - Store and Publish§
"I keep my notes and writing in a Git repository, edit them in Obsidian, and publish them to the web for free with search and tag navigation."
How it fits together§
- Write in Obsidian, using relative Markdown links.
- Navigate your vault by tag combinations with the Facet Plugin.
- Commit and push to GitHub, GitLab or any Git host.
- Publish with PublicTxt-Pages to GitHub Pages or any static host.
No server, no database, no paid service. Your content stays plain Markdown that outlives the tooling.
Obsidian PublicTxt Facet Plugin - v1.0§
github.com/publictxt/obsidian-publictxt-facets
- Search and filter notes by combinations of tags, ratings, category and collection facets.
- Selecting a tag narrows the remaining tags to those that co-occur with the selection, so drill-downs never dead-end.
PublicTxt-Pages§
github.com/publictxt/publictxt-pages - zero-backend static site for a PublicTxt repo or any Obsidian / Markdown vault.
- Static and free: Hugo build, deploys to GitHub Pages or any static host.
- Works on plain Obsidian vaults: relative Markdown links build as-is, no conversion step.
- Search and facets: full-text search and filtering by tags (incl. combinations) and document type via Pagefind, with no hosted search.
- Hashtags: inline
#tags become front matter tags at build time.
- Content types: wiki, blog, notes and bookmarks, from folder layout or front matter
type.
- Sidebar: sections, top tags / tag cloud, page metadata.
- Single repository per site.
Optional: publish from a private vault§
Keep a private Obsidian vault and copy only selected notes into your public repo with WikiTool. It selects by tag expression (e.g. public - draft), search or attributes, and converts Obsidian wikilinks to Markdown links. Edit imported notes in the private vault and re-run the copy.
Repository layout§
Default folders (spec §4 is authoritative; a publictxt.yaml manifest can remap them):
| Path |
Type |
wiki/ |
Wiki pages |
blog/<yyyy>/<mm>/<yyyymmdd>[-<n>]-<slug>.md |
Blog posts |
notes/ |
Notes |
metaweb/<domain>/<subdomain-or-folder>/<file>.md |
Bookmarks, one file per web resource |
media/ |
Attachments |
publictxt.yaml |
Optional manifest |
- Any document with a
bookmark: <url> front matter attribute is also a bookmark.
- Indexes and tag pages are derived data and are never committed.
v2 Aggregation - Follow Other Repos§
The differentiator: pull chosen subsets of other people’s PublicTxt repos into a local, searchable view.
- Repos stay single-author; multi-author views come from aggregation.
- Subscribe via
follows in publictxt.yaml, filter at query time by tag, path or type.
- Reconcile tag vocabulary at view time with your own alias file - no global normalization.
- Bookmarks of the same resource group across repos by
resource_id.
- Foundation for CuratedCommons: social bookmarking and curation across PublicTxt repos.
Open design questions are tracked in spec §13.
- Groups, shared repos, profiles, discussion.
- Public / semi-public / private content controls.
- Friendlier merge UX for non-technical contributors.
- ActivityPub, MetaWeb browser extension, W3C Web Annotation export.
- Richer data models: semantic edges, graph database backends, reputation.
| Repo |
Purpose |
Status |
| WikiTool |
.NET wiki libraries; converts between wiki syntaxes (incl. Obsidian ↔ Markdown links); copy by search, tag expressions, attributes |
In progress |
| PublicTxt.net |
.NET implementation: core, syntax, Git and data layers; Avalonia and Blazor apps later |
In progress |
| CuratedCommons |
Curation and bookmarking layer over PublicTxt repos (details) |
Specification |
License§
GPLv3 - see LICENSE.
Contributing§
See CONTRIBUTING.md.
🏡 README by @jaysen
Earlier versions of the project README. See the current README and the project overview.
log§
#publictxt #project
🏡 README by @jaysen
Project Name: Public Text / PublicTxt§
Overview§
PublicTxt is an experiment in using Git repositories as an interoperability layer and online storage for public and community knowledge. By leveraging free Git hosting services and plain text markdown files, it enables individuals and communities to share, curate, and collaborate on content without relying on centralized platforms or paid infrastructure.
The core idea is simple: Desktop and Web applications that sync between local and multiple Git repositories to store and share knowledge, subscribe to repositories and aggregate content from different sources, collaborate through user friendly abstractions over Git’s branching and merging workflows, and publish everything to the web using static site generation.
The experiment is in early stages. Links to software repositories for tooling that works with these plaintext repositories to follow.
Linked Repos§
-
WikiTool In-progress. Multiplatform .NET Tool for handling multiple wikis
- Core Wiki Libraries
- Converts between Wiki formats and Wiki-Syntax
- Copy between wikis based on search, tag expressions (tag1 + tag2 - tag3), attributes.
-
PublicTxt.net An in-progress .NET implementation with:
- Core libraries, and feature based services
- Git and Database Infrastructure projects
- Avalonia Desktop & Blazor Web Apps
Core Features§
- Zero Cost Online Storage and Web Hosting: Leverages free Git hosting (GitHub, GitLab, etc.) for all storage and distribution, and for static websites.
- Static Website Generation: Simple publish to web flow requiring zero/minimal setup.
- Plain text: Using Markdown for simple, flexible content creation and editing. Tags and more complex metadata is stored using plaintext syntax.
- Compatibility Plaintext PublicTxt Syntax should be consistent with Obsidian and Obsidian DataView Plugin links and attributes
- Desktop UI: Native applications that sync with Git repositories and pull repository data into local database for fast searching and browsing. User interfaces for content creation, organisation, discovery, search, aggregation, and community engagement.
- User Friendly Git Operations: Desktop and web applications hide the complexity of Git operations
- Feature Rich UI Making all the other features easy to use, while storing as much data as possible in plaintext with PublicTxt Syntax, synced and transferred to database for use by applications.
- Fluid Community Controls: Flexibility with public, semi-public, and private content settings.
- Social Bookmarking and Annotation: A standard for storing MetaWeb (SideWiki like) data about web resources, using W3C Annotation standards.
- GIT Topic Branches: Using different branches to allow following certain aspects of a repo. These use shared naming standards.
Use Cases§
- Personal and Community Knowledge Management: Maintain your own markdown-based knowledge base with version control
- Community Wikis and Content Management: Collaborative knowledge bases maintained by multiple contributors
- Social Bookmarking: Share and annotate web resources with commentary and discussion
- Distributed Blogging: Publish blog posts that others can subscribe to and aggregate
- Research Collaboration: Share research notes and findings with selective access control
- Learning Communities: Build shared knowledge bases around specific topics or fields
Future Ideas/Possibilities§
- MetaWeb Commons Functionality: A browser extension that integrates Git repositories that contain discussion and notes about web pages with the web browsing experience.
- ActivityPub: integration with the decentralized social networking protocol.
- Immutable Public Records: Leveraging Git commits - possibly in combination with other forms of distributed ledgers - for transparent and reliable record-keeping.
- Rich Semantic Syntax: Using RDF Semantic Edges and Weighted Attributes and Weighted Links/Edges
- TerminusDb Backend: Use richly featured, collaboration focused, versioned Graph Database like TerminusDb to store the Knowledge Graph in memory for faster use of the graph in ecosystem applications
- Consensus and Reputation Mechanisms: Empowering community-driven content management and peer review.
Public Text Template§
- This repo should also function as a template of the format. Although it also holds a wiki and other content about the entire PublicTxt idea. If
- This repository should be able to be used with custom software, like the hoped for browser extension and other tooling.
- Suggest changes via pull requests, issues, comments, or by forking the repository and creating your own version of the template.
Directory Structure§
The directory structure for a Public Text repository is as follows:
-
blog: Contains blog posts
- wiki: Contains wiki pages
- notes: Contains notes
- media: Contains media files
-
metaweb: Contains bookmarks, annotations and notes about web pages
-
sites: (eg www.example.com.md) folder containing all web pages with data for that site
- bookmarks
- notes
- annotations
- indexes: Contains indexes for web pages
- tags: tag indexes for metaweb content
- tags: Contains tag indexes for the entire repository
- indexes: Contains indexes for the entire repository
-
community: Contains community content
- discussion: Contains discussion threads
- profiles: Contains user profiles
- groups: Contains group profiles
- settings: Contains settings files
- indexes: Contains indexes for community content
- tags: Contains tag indexes for community content
- settings: Contains settings files
License§
Contributing§
🏡 README by @jaysen
PublicTxt§
PublicTxt is an experiment in using Git repositories as an interoperability
layer and online storage for public and community knowledge.
The idea: keep your notes, wiki, and writing as plain Markdown files in a Git
repository. Publish them to the web for free. Subscribe to other people’s
PublicTxt repositories and pull selected content into a local aggregate view
you can browse and search - all without a centralised platform, server, or
subscription.
The experiment is in early stages. Links to software repositories for tooling that works with these plaintext repositories to follow.
Linked Repos§
-
WikiTool In-progress. Multiplatform .NET Tool for handling multiple wikis
- Core Wiki Libraries
- Converts between Wiki formats and Wiki-Syntax
- Copy between wikis based on search, tag expressions (tag1 + tag2 - tag3), attributes.
-
PublicTxt.net An in-progress .NET implementation with:
- Core libraries, and feature based services
- Git and Database Infrastructure projects
- Avalonia Desktop & Blazor Web Apps
Why Git?§
Git hosting is free, ubiquitous, versioned, and nobody owns it. A PublicTxt
repository is just a folder of Markdown files - it works in any text editor,
any Git client, and any static site host today, regardless of whether
purpose-built PublicTxt tooling exists yet. The content outlives the tooling.
The Core Idea§
-
Zero Cost Online Storage and Web Hosting: Leverages free Git hosting (GitHub, Codeberg, etc.) for all storage and distribution, and for static websites.
-
Plain text: Using Markdown for simple, flexible content creation and editing. Tags and more complex metadata is stored using plaintext syntax.
-
Static Website Generation: Simple publish to web flow requiring zero/minimal setup.
-
Selective aggregation is the differentiator. Anyone can put Markdown in Git. What PublicTxt adds is a shared structure and convention that lets software:
- Subscribe to another person’s repository and pull only the parts you want
(by topic branch, tag, path, or filter expression).
- Publish your own content to the web with a single push to a Pages-enabled
branch.
- Sync bidirectionally with one or more of your own remotes.
-
GIT Topic Branches: Using different branches to allow following certain aspects of a repo. These use shared naming standards.
Plain-text Markdown in Git is the substrate. Aggregation across many
repositories is the value.
Content is stored as standard Markdown using md-wiki link syntax
([Page Title](page.md)), so any static site generator can publish it
without a conversion step.
PublicTxt syntax is compatible with Obsidian - either
by configuring Obsidian to use Markdown links directly, or via WikiTool format
conversion tooling.
Tags and structured metadata use plaintext conventions compatible with
Obsidian DataView attributes.
Directory Structure§
v1 content types in bold; later-phase types in italics.
blog/ - Blog posts, organized by year/month/day/
wiki/ - Wiki pages
notes/ - Notes
media/ - Media files
tags/ - Tag indexes for the repository
indexes/ - Content indexes
settings/ - Repository settings
-
metaweb/ - Bookmarks, annotations, and notes about web pages (later)
sites/, bookmarks/, notes/, annotations/, indexes/, tags/
community/ - Discussion, profiles, groups (later)
Future Ideas§
These are part of the long-term vision, explicitly deferred until the core
aggregation-and-publish story is working:
- Community & Social - Discussion threads, profiles, groups, moderation,
access controls, friendly merge UX for non-technical contributors.
- CuratedCommons / MetaWeb / Web Annotation - Browser extension for Git-backed page
annotations; W3C Annotation-compatible social bookmarking.
- Federation - ActivityPub integration; immutable public records via Git
commits.
- Richer Data Models - RDF semantic edges, weighted links, graph-database
backend (e.g. TerminusDB), consensus and reputation mechanisms.
- Consensus and Reputation Mechanisms: Empowering community-driven content management and peer review.
License§
GPLv3
Contributing§
See CONTRIBUTING.md.
🏡 README by @jaysen
Project Name: Public Text / PublicTxt§
From Readme of the parent project - github.com/publictxt/publictext
Overview§
PublicTxt is an experiment in using Git repositories as an interoperability layer and online storage for public and community knowledge. By leveraging free Git hosting services and plain text Markdown files, it enables individuals and communities to share, curate, and collaborate on content without relying on centralized platforms or paid infrastructure.
The core idea is simple: desktop and web applications that sync between local working copies and one or more Git repositories, selectively aggregate content from other people’s repositories, and publish to the web using static site generation - all built on plain Markdown that survives the tooling.
The experiment is in early stages.
What PublicTxt Is (and Isn’t), For Now§
The differentiator - the thing PublicTxt does that existing tools don’t - is selective aggregation across many Git-hosted repositories: subscribing to other people’s PublicTxt repos and pulling chosen subsets (by topic branch, tag, path, or filter) into a local aggregate view. Plain-text Markdown in Git, published via static hosting, is the substrate; aggregation is the value.
Everything else in this document supports that, or is deferred.
v1 Success Looks Like§
"I can keep my notes and writing in a Git repository, publish them to the web for free via gh-pages or similar, and pull selected pages from other people’s PublicTxt repos into a local aggregate view I can browse and search."
If that works and feels good, the project is real. Community features, browser extensions, federation protocols, and graph-database backends are all possible later - but they aren’t what v1 ships.
Linked Repos§
-
WikiTool - In-progress. Multiplatform .NET tool for handling multiple wikis.
- Core wiki libraries.
- Converts between wiki formats and wiki syntaxes (incl. Obsidian ↔ md-wiki).
- Copy between wikis based on search, tag expressions (
tag1 + tag2 - tag3), attributes.
-
PublicTxt.net - In-progress .NET implementation:
- Core libraries and feature-based services.
- Git and database infrastructure projects.
- Avalonia desktop & Blazor web apps (later phases).
Core Features (v1 Focus)§
These are the load-bearing features for the v1 vision above.
- Plain Text First: Markdown on disk, in the md-wiki dialect (standard
[text](page.md) links) so content is publishable by any static-site host with no conversion step. Tags and structured metadata use plaintext conventions.
- Zero-Cost Online Storage and Hosting: Leverages free Git hosting (GitHub, GitLab, etc.) for storage, distribution, and static websites.
- Static Website Generation: Simple "publish to web" flow with minimal setup - push to a Pages-enabled branch and you’re live.
- Selective Aggregation from Multiple Repositories: Subscribe to other PublicTxt repos and pull selected content (by topic branch, tag, path, or filter) into a local aggregate. This is the killer feature.
- Sync to One or More Origin Remotes: Bidirectional sync with the instance’s own remote(s); a single origin to start, multiple later.
- Obsidian Compatibility: Files round-trip with Obsidian - either by configuring Obsidian to use Markdown links, or via WikiTool conversion at the editing edge. PublicTxt syntax aims to be compatible with Obsidian and Obsidian DataView attributes.
- Git Topic Branches: Different branches expose different aspects of a repo, with shared naming conventions, so subscribers can follow only what they want. (Conventions TBD.)
- Desktop & Web UI: Native applications that hide Git’s complexity for everyday content workflows, sync with Git repositories, and pull repository data into a local cache for fast search and browsing. (Later phase - see milestones in ProjectSpec.md.)
Use Cases (v1 Focus)§
- Personal Knowledge Management: Maintain your own Markdown knowledge base with version control and free hosting.
- Distributed Blogging: Publish blog posts that others can subscribe to and aggregate.
- Research and Learning Aggregation: Pull selected content from peers’ repositories into a local view for study, reference, or synthesis.
- Community Wikis (Lightweight): Small-group collaborative Markdown wikis using Git’s existing collaboration model - pull requests, branches, forks. Heavier community/moderation features are a later phase.
Public Text Directory Structure§
The directory structure for a Public Text repository (v1 focus in bold, later-phase content types in italics):
-
blog: Blog posts
- wiki: Wiki pages
- notes: Notes
- media: Media files
- tags: Tag indexes for the entire repository
- indexes: Indexes for the entire repository
- settings: Settings files
-
metaweb: Bookmarks, annotations and notes about web pages (later phase)
-
sites: (eg
www.example.com.md) folder containing all web pages with data for that site
- bookmarks
- notes
- annotations
- indexes
- tags
-
community: Community content (later phase)
- discussion, profiles, groups, settings, indexes, tags
Future Ideas / Later Phases§
These ideas are part of the PublicTxt vision but are explicitly deferred until the v1 aggregation-and-publish story is working and used.
- Community Features: Discussion threads, profiles, groups, moderation. Building a social platform on top of Git is a separate, much larger product than a knowledge tool, and is deferred until the underlying tool has users.
- Fluid Community Controls: Public / semi-public / private content settings, with selective access control for collaborative use.
- Collaborative Wikis with Friendly Merge UX: Hiding Git’s branching/merging complexity for non-technical contributors. v1 expects users comfortable with Git’s existing collaboration primitives (PRs, branches, forks).
- MetaWeb Commons: A browser extension that integrates Git-stored discussion and notes about web pages into the browsing experience.
- Social Bookmarking and Annotation: A standard for storing MetaWeb (SideWiki-like) data about web resources, using W3C Annotation standards.
Federation & Protocols§
- ActivityPub: Integration with the decentralized social networking protocol.
- Immutable Public Records: Leveraging Git commits - possibly combined with distributed ledgers - for transparent record-keeping.
Richer Data Models§
- Rich Semantic Syntax: RDF semantic edges, weighted attributes, weighted links/edges.
- TerminusDB Backend: Versioned graph database to store the knowledge graph in memory for fast graph operations across the ecosystem.
- Consensus and Reputation Mechanisms: Community-driven content management and peer review.
🏡 README by @jaysen
Example repo§
A README is a document, not skipped.
🏡 README by @jaysen
Each case is a directory:
NNN-name/
repo/ # a PublicTxt repository (no .git needed)
expected.json # Reader output, spec §10
A Reader passes a case when its output for repo/ equals expected.json. Compare as parsed JSON: key order is ignored, array order matters.
Fixtures have no .git, so created and updated cover the front matter and path rungs only (spec §5.1).
| Case |
Covers |
| 001-minimal |
Folder collection, H1 as first non-empty line (a later H1 or one inside code is ignored), file name and _index.md titles, publish: off, README as a document, relative link |
| 002-tags |
Tag sources, inline grammar edge cases, raw/match, de-duplication |
| 003-dates |
The three blog path forms, path dates in any folder, digit guard, created/updated and legacy date/lastmod, datetime and date-only values, no time zone conversion, invalid date |
| 004-bookmark |
bookmark on any document, bookmarks lists, bookmarks/sites/ and bookmarks/wiki/, collections, resource_id, URL normalization v0, mismatch, missing URL, url is not a bookmark |
| 005-existing-vault |
Vault folders as collections, root page, ignore, link resolution |
Rules for adding cases:
- Keep to one concern per case where possible.
- Every change to a [P] rule changes a fixture in the same commit.
- Files are UTF-8, NFC, LF.
🏡 README by @jaysen
The project overview, status and components are in the root README.
| File |
What |
| publictxt-spec.md |
The format specification, v0.1 draft |
| fixtures/ |
Conformance fixtures: a Reader must produce each case’s expected.json |
| ../adr/ |
Architecture decision records behind the spec |
Changing a [P] rule? Change a fixture in the same commit (fixtures/README.md).
🏡 README by @jaysen
Jaysen Naidoo’s bliki & public txt instance§
about§
Jaysen Naidoo, a 50 odd year old mostly-male, living in Johannesburg, South Africa. Software developer by trade - currently taking a break from contract work to experiment with a few ideas for public software…
Spend time on and thinking about:
- free-software, free-culture and info-politics;
- new-work and worker owned co-ops;
- social software and public information infrastructure;
- the human project and the political
- armchair science - evolution; life; neuroscience; cosmology; physics; complexity.
See also:
Content§
- Wiki - linked wiki pages
- Blog - weblogging
- Notes - nothing yet
- Posts - Toots, tweets, threads, micro-blogs - all can get duplicated here.
More about PublicTxt, and its GitHub repo
See also notes on bliki - blog and wiki hybrids contained in public-text repos.
👤 About @jaysen