Skip to content
项目

关于

📥 cpdown — 一键或使用快捷键,将任意网页内容或 YouTube 字幕以整洁的 Markdown 格式复制到剪贴板。

人工智能与机器学习

这些数字如何统计

可以做什么

  • 📋 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.)

实测星标增长

24小时
0
7天
0
15天
+1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

cpdown

cpdown logo

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

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

  1. Clone this repository
  2. Install dependencies:
    bun i
    
  3. Build the extension:
    bun run build
    
  4. Load the unpacked extension:
    • Open Chrome/Edge and navigate to chrome://extensions
    • Enable "Developer mode"
    • Click "Load unpacked" and select the .output/chrome-mv3 directory

Usage

  1. Navigate to any webpage you want to copy
  2. Click the cpdown icon in your browser toolbar, or use the keyboard shortcut
  3. The page content will be copied to your clipboard as markdown
  4. 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:

Development Commands

bun run dev

Star History

License

MIT

探索相关项目

加载中…