This guide takes you from zero to a published note: install the plugin, set up a publish target, opt a note in, and publish it.
- Desktop Obsidian (
1.8.7or newer). Commonplace Notes is desktop-only — it uses Node/AWS SDK APIs that aren't available on mobile. - An AWS account for the default (AWS) publish mechanism, plus an AWS
credentials profile configured locally (
~/.aws/credentials,~/.aws/config, or SSO). The plugin can provision all the infrastructure for you — see Infrastructure deployment. AWS bills the resources it creates to your account. - Node 26 only if you build from source (contributors).
CPN is listed 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.
Obsidian checks for and installs updates like any other community plugin (Settings → Community plugins → Check for updates).
git clone https://github.com/zachmueller/commonplace-notes
cd commonplace-notes
nvm use # Node 26 (see .nvmrc)
npm install
npm run build # typecheck + esbuild production bundleThen copy main.js, manifest.json, and styles.css into
<your-vault>/.obsidian/plugins/commonplace-notes/ and reload Obsidian (or
enable the plugin if it's the first time). Use npm run dev for an esbuild watch
build while developing.
Commonplace Notes ships with one publishing profile (ID default), and notes
are private by default — nothing publishes until you opt it in.
-
Set up a publish target. Open Settings → Commonplace Notes → Publishing profiles. Either run the Deploy publishing infrastructure command to provision an S3 bucket + CloudFront distribution (walkthrough: Infrastructure deployment), or fill the profile's S3 bucket, region, and Base URL in by hand if you already have a bucket.
-
Opt a note in. Open a note and run the command Toggle publishing context: Default AWS Profile (each profile gets its own toggle command). This adds the profile's ID to the note's
cpn-publish-contextsfrontmatter. -
Note the auto-generated UID. The first time a note gains a publish context, CPN generates a stable
cpn-uidfor it (this drives the note's URL). Don't edit it by hand. See Concepts and the publishing model. -
Publish. Run Publish current note.
-
Get the link. Run Copy link to current note URL and open the copied URL in a browser. (Run it again on other open notes within a few seconds to build a stacked URL.)
- Settings reference — tune UID length, excluded directories, search, site look & feel.
- Publishing model — profiles vs. contexts, incremental publishing, and how URLs work.
- Authentication & access — gate reads behind a password or sign-in, and enable commenting.
- Parser extensions — customize the Markdown→HTML pipeline.