Skip to content

MaestroMiyagi/deepwiki-md-utilities

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DeepWiki MD Utilities

A bundle of utilities to extract documentation content from DeepWiki for LLM consumption.

Features

  • Copy content formatted for LLMs
  • Download content as markdown
  • Automatically ignores script tags and non-content elements
  • Focuses on main content area
  • Extracts navigation structure
  • CLI tool with Playwright for automated full-site extraction

Utilities Included

1. TamperMonkey Script

  • Install in TamperMonkey/GreaseMonkey
  • Automatically adds extraction buttons to documentation pages
  • Location: tampermonkey/deepwiki-extractor.user.js

2. CLI Tool (Recommended for full documentation)

  • Automated extraction of entire documentation sites
  • Uses Playwright to avoid CORS issues
  • Generates a single markdown file with all pages
  • Location: cli/
  • Best for: Extracting complete documentation sites automatically

Installation

CLI Tool (Recommended for full documentation extraction)

cd cli
npm install
npm run install-browsers

Usage:

# Extract entire documentation site
npm run extract -- https://deepwiki.com/nextjs/saas-starter/1-overview

# Extract single page
npm run extract -- https://example.com/docs/page --single -o output.md

See cli/README.md for full documentation.

TamperMonkey Script

  1. Install TamperMonkey extension in your browser
  2. Open tampermonkey/deepwiki-extractor.user.js
  3. Click "Install"

Usage

All utilities add a floating button to the page that allows you to:

  • Copy content to clipboard (formatted for LLMs)
  • Download as markdown file
  • View extracted navigation structure

Roadmap

  • Add site-tool to extract documentation from DeepWiki
  • Fix mermaid diagrams
  • Add pdf export

License

MIT

About

A set of utilities to copy and download from deepwiki

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published