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.
- Host: GitHub
- URL: https://github.com/dimdengd/diagsite
- Owner: dimdenGD
- Created: 2023-06-15T00:02:54.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-18T19:49:53.000Z (almost 3 years ago)
- Last Synced: 2025-01-19T06:25:48.632Z (over 1 year ago)
- Language: JavaScript
- Size: 38.1 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```