--- name: defuddle description: Extract clean markdown content from web pages using Defuddle CLI - removing clutter and navigation. Use instead of `webfetch` or `WebFetch` if the url **does not** end in `.md` **and** the user wants to read online web pages, articles, documentation. --- # Defuddle The defuddle cli extracts clean readable content from Web Pages. Prefer over `webfetch` / `WebFetch` to reduce noise and clutter. ## Workflow ### Installation If not already installed: `npm install -g defuddle` ### Parsing a url Always use `--md` for markdown output ```sh defuddle parse --md ``` ### Extracting metadata - Title: `defuddle parse -p title` - Description: `defuddle parse -p description` - Domain: `defuddle parse -p domain` ### Save to file ```sh defuddle parse --md --output ``` ## Pitfalls - **Always use the `--md` flag** to parse a full url