Commonplace Notes (CPN) is an Obsidian plugin that publishes a curated subset of your vault as a fast, stacked-panes static site — the kind where clicking a link opens the target note in a new column beside the current one, so a reader can follow a train of thought without losing their place. Sites are self-hosted on AWS (S3 + CloudFront), notes are private by default (nothing publishes until you opt a note in), each note gets a stable per-note UID that drives its URL, and the Markdown→HTML pipeline is fully user-extensible. CPN is desktop-only.
CPN is available in Obsidian's community plugin directory: Commonplace Notes.
- In Obsidian, open Settings → Community plugins and turn off Restricted mode if it's on.
- Choose Browse, search for Commonplace Notes, and select Install.
- Select Enable.
Updates arrive through Obsidian's normal community plugin updates.
Requirements: desktop Obsidian 1.13.1 or newer, and an AWS account with
credentials configured locally for the default (AWS) publish target. See
Getting started for the full install + first-publish
walkthrough.
The 60-second path (assumes the plugin is installed and enabled):
- Open Settings → Commonplace Notes and confirm the default profile.
- Deploy AWS infrastructure with the Deploy publishing infrastructure command (or point the profile at an existing bucket). See Infrastructure deployment.
- Open a note and run Toggle publishing context: to opt it in
(this adds the profile to
cpn-publish-contexts; acpn-uidis generated automatically). - Run Publish current note.
- Run Copy link to current note URL and open it in a browser.
New here? Getting started walks through all of this in detail.
- Account required. Publishing to the web needs your own AWS account. CPN has no hosted service of its own; your site and everything it serves live in your AWS account.
- Paid services. The AWS resources CPN deploys (S3, CloudFront, and optional extras such as sign-in, comments, and Lambda@Edge functions) are billed to your AWS account at AWS's rates. A small personal site typically costs little, but CPN doesn't control or cap these costs.
- Network use. CPN calls AWS APIs with your credentials to deploy infrastructure and upload published notes. The comments panel reads comment threads from your own site. The experimental Local publish mechanism downloads a default HTML template from this GitHub repository the first time it runs. CPN collects no telemetry or analytics.
- Files outside your vault. CPN reads your local AWS configuration
(
~/.aws/config,~/.aws/credentials, SSO cache) to find credentials. - Shell commands. If you configure a custom credential refresh command, or
use AWS SSO sign-in, CPN runs that command (or the
awsCLI) on your machine. - Vault-wide file listing. CPN lists the files in your vault to find the notes a publishing profile should include, resolve note UIDs and links, apply excluded-directory rules, and find attachments that are no longer referenced. Only notes you publish leave your machine.
- Clipboard. Copy buttons (published-note URLs, DNS records, sign-in settings) write to your clipboard. CPN never reads from it.
- Getting started — install and your first publish
- Concepts — glossary of the core ideas
- Commands — every command in the palette
- Settings — every setting, with defaults
- Publishing model — contexts, profiles, UIDs, URLs, invalidation
- Infrastructure deployment — provision AWS from inside Obsidian
- Authentication & access — read-gating, sign-in, and commenting
- Site asset customizations — inject per-profile snippets
- Note routing — file a note in one command (move, frontmatter, publish contexts, templates)
- Parser extensions — extend the Markdown→HTML pipeline
- Troubleshooting
- Publishing profile — a named publish target (bucket, base URL, infra, look & feel). Multiple profiles let one vault feed multiple sites.
- Publish context — a profile ID listed in a note's
cpn-publish-contexts; it's how a note opts in to a site. - UID — a stable per-note identifier (
cpn-uid) that drives the site URL, generated the first time a note gains a publish context. - Stacked URLs — links that open several notes side by side in one view.
Full definitions in the concept glossary.
For contributors (end users should install from the community plugin directory):
nvm use # Node 26 (see .nvmrc)
npm install
npm run build # tsc typecheck + esbuild production bundle → main.js
npm run dev # esbuild watch modeThe build emits main.js; the plugin ships main.js, manifest.json, and
styles.css. Note the npm package name is commonplace-notes-publisher, but the
Obsidian plugin ID (in manifest.json, and used at
app.plugins.plugins['commonplace-notes']) is commonplace-notes.
Pushing a version tag runs .github/workflows/release.yml, which builds the
plugin and creates a draft GitHub release containing main.js,
manifest.json, and styles.css. Obsidian only picks up published
releases, so each draft must be published in the GitHub UI before the update
reaches users. The tag must exactly match manifest.json's version.
Contributions are welcome — open an issue or PR at zachmueller/commonplace-notes.
If CPN is useful to you, you can buy me a coffee.
Licensed under the MIT License.