An open API service indexing awesome lists of open source software.

https://github.com/dimdengd/diagsite

Command line program to crawl site and generate HTML file with diagram of pages.
https://github.com/dimdengd/diagsite

Last synced: 10 months ago
JSON representation

Command line program to crawl site and generate HTML file with diagram of pages.

Awesome Lists containing this project

README

          

# Diagsite
Command line program to crawl site and generate HTML file with diagram of pages.

```
Usage: node index.js [params] [options]

Params:
crawl Crawls given URL and saves diagram data to file
render Renders diagram from file
comment Adds comment to URL in file
clean Removes all urls containing given text from file
restore Restores file to previous version

Ignore text file can end with $ to indicate that the text should be matched at the end of the url.
Clean text file can start with ^ to indicate that the text should be matched at the start of the url.

Options:
-c Connects given URL to previously crawled link.
-r Removes given CSS selector's elements
-x Specify json array file with comments to ignore
-i Specify json array file with links to ignore
-t Specify json file with text to remove
-w Whitelist links
-o Output file name
-m Treat url as array of urls split by comma
-d Debug mode
-h Prints this help message
```