This document covers the public-facing setup required before submitting the
extension to the Chrome Web Store. It complements STORE_LISTING.md and
closes the open items in the “Pre-Publish Checklist” there.
The Chrome Web Store dashboard requires a public URL for the privacy policy.
This project will publish source on GitHub before store submission, so the
simplest and most durable option is GitHub Pages serving the repo’s
/docs folder on the default branch.
Why GitHub Pages over the alternatives:
raw.githubusercontent.com/...) render as plain text
with no styling, can change shape on a rename, and look unprofessional to
store reviewers. Ruled out.PRIVACY.md
changes. Not worth the overhead when the repo is already on GitHub.*.github.io URL, and updates automatically on every push to the
default branch. The Markdown file is already in the repo, so there is
nothing extra to maintain.Push the repo to GitHub as a public repository. Suggested name:
save-to-obsidian. Confirm PRIVACY.md (root) and this
docs/PUBLISHING.md are committed.
Copy PRIVACY.md into docs/ so GitHub Pages can serve it. The root
PRIVACY.md stays as the canonical source for the repo README; the
docs/privacy.md copy is what the Chrome Web Store points at.
Copy-Item .\PRIVACY.md .\docs\privacy.md
Re-copy on every edit, or add a tiny pre-commit hook later.
Deploy from a branchmain (or master)/docsUse this URL pattern in the “Privacy policy” field of the Chrome Web Store developer dashboard:
https://<github-username>.github.io/save-to-obsidian/privacy
GitHub Pages serves docs/privacy.md as /privacy (it strips the .md
extension and renders the Markdown with the default Jekyll theme). If
served at /privacy.md instead on your account, register that URL exactly
as it resolves in a private browser window. Confirm it loads before saving
the dashboard form.
docs/_config.yml with title: Save to Obsidian for
a cleaner page header.docs/index.md pointing at privacy.md and the GitHub repo so the
root of the Pages site is not a 404.PRIVACY.md at the repo root (the canonical copy).Copy-Item .\PRIVACY.md .\docs\privacy.md.This file resolves the following items from STORE_LISTING.md:
PRIVACY.md at a public URL and use that URL in the Chrome Web
Store dashboard.” -> follow the steps above; paste the resulting
https://<github-username>.github.io/save-to-obsidian/privacy URL
into the dashboard’s Privacy policy field.PRIVACY.md.” ->
mirror the “Data Handled” and “Data Not Collected” sections of the
hosted privacy policy in the dashboard’s Privacy practices form.LICENSE file at the repo root (MIT).Items still owned by the user and not covered here:
ALLOWED_EXTENSION_ORIGIN=chrome-extension://<published-extension-id>
in public setup docs.” Update README.md and SECURITY.md once the
store assigns the ID.dist build, not
the dev workspace.A clean sequence for the first submission:
.\scripts\validate.ps1 and .\scripts\package-extension.ps1.LICENSE, PRIVACY.md, docs/privacy.md).dist\save-to-obsidian-extension.zip to the Chrome Web
Store dashboard.STORE_LISTING.md.ALLOWED_EXTENSION_ORIGIN guidance in README.md and SECURITY.md,
then push.