ysm-dev/cpdown
À propos
📥 cpdown — Copiez dans le presse-papiers le contenu de n’importe quelle page web ou les sous-titres YouTube au format Markdown épuré, en un clic ou à l’aide d’un raccourci clavier.
IA et apprentissage automatiqueWhat you can do
- 📋 Copy any webpage content as clean markdown with one click (or keyboard shortcut)
- 📋 Copy YouTube subtitle as clean markdown with one click (or keyboard shortcut)
- 📖 Uses Defuddle or Mozilla's Readability to extract the main content
- 🔍 Removes unnecessary HTML elements (scripts, styles, iframes, etc.)
Progression mesurée des étoiles
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +1
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
Originalcpdown
Copy any webpage as clean markdown.
Overview
cpdown is a browser extension that allows you to copy the content of any webpage as clean, formatted markdown. If you're on YouTube, you can also copy the subtitle as markdown.
Demo
https://github.com/user-attachments/assets/cedf05e8-ed1d-4e71-9769-66c9b292fbdd
Features
- 📋 Copy any webpage content as clean markdown with one click (or keyboard shortcut)
- 📋 Copy YouTube subtitle as clean markdown with one click (or keyboard shortcut)
- 📖 Uses Defuddle or Mozilla's Readability to extract the main content
- 🔍 Removes unnecessary HTML elements (scripts, styles, iframes, etc.)
- 🔢 Shows token count for the copied content (for LLM)
- ⌨️ Keyboard shortcut support
Installation
- Chrome: Chrome Web Store
- Firefox: Firefox Add-ons
Options
Go to chrome://extensions/?options=knnaflplggjdedobhbidojmmnocfbopf or click the "Options" link in the extension's details page to configure cpdown after installation.

Manual Installation
- Clone this repository
- Install dependencies:
bun i - Build the extension:
bun run build - Load the unpacked extension:
- Open Chrome/Edge and navigate to
chrome://extensions - Enable "Developer mode"
- Click "Load unpacked" and select the
.output/chrome-mv3directory
- Open Chrome/Edge and navigate to
Usage
- Navigate to any webpage you want to copy
- Click the cpdown icon in your browser toolbar, or use the keyboard shortcut
- The page content will be copied to your clipboard as markdown
- Paste the markdown content anywhere you need it
Settings
cpdown offers several configuration options:
- Use Defuddle: Use Defuddle to clean up the markdown output
- Use Mozilla Readability: Parse webpage content using Readability for cleaner markdown output
- Wrap in Triple Backticks: Wrap the copied content in triple backticks for better readability
- Show Success Toast: Display a notification when content is successfully copied
- Show Raycast Confetti: Celebrate successful copying with a confetti animation (for Raycast users)
Development
This extension is built with:
- Cursor - For the vibe coding
- WXT - The Web Extension Toolkit
- React - For the options UI
- Shadcn UI - For the options UI
- Sonner - For the toast notifications
- Tailwind CSS - For styling
- Defuddle - For main content extraction & markdown cleanup
- Mozilla Readability - For main content extraction
- Turndown - For HTML to Markdown conversion
- tiktoken - For token counting
Development Commands
bun run dev
Star History
License
Explorer des projets similaires
Chargement…