Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ClipMark

Save any web page as clean Markdown. Forever.

ClipMark is a lightweight browser extension (Chrome / Edge, Manifest V3) that clips the article content of any web page and saves it as a tidy Markdown file — no clutter, no sidebars, no tracking scripts.

Features

  • One-click Save / Copy — extract the main article with Readability.js and convert it to Markdown with Turndown.js
  • Smart frontmatter — every clipping gets YAML metadata: title, source URL, date, site, reading time
  • CJK-friendly filenames — titles in any language are sanitised into safe filenames (max 60 chars, never splits a character)
  • Pro templates (license key unlock via LemonSqueezy):
    • Default — clean YAML frontmatter
    • Obsidian — tags + callout-style quote
    • Zettelkasten — unique note id (YYYY-MM-DD-xxxx)
    • Minimal — just a heading and a link
    • Bullet Journal — a - [ ] Read: checkbox item
  • Auto folder (Pro) — save into Clippings/2026/08 style subfolders
  • Zero tracking, zero remote code (MV3 CSP compliant)

Install (developer mode)

  1. Clone or download this repo
  2. Open chrome://extensions/ (or edge://extensions/) and enable Developer mode
  3. Click Load unpacked and select the repository folder

How it works

popup.js ──sendMessage──▶ background.js (service worker)
                              │ chrome.scripting.executeScript
                              ▼
                       lib/readability.js + lib/turndown.js + content.js
                              │ { markdown, meta }
                              ▼
                       popup.js renders frontmatter
                       → chrome.downloads.download / clipboard

The content scripts are injected only when the user clicks Save/Copy (no persistent injection, no background monitoring).

License verification

Pro features are unlocked with a LemonSqueezy license key, validated client-side against the official License API (no API keys or secrets are shipped in the extension).

Credits

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages