https://github.com/valsov/website-map-visualizer
Go utility to generate a map of a given website, following links in its pages
https://github.com/valsov/website-map-visualizer
Last synced: about 1 year ago
JSON representation
Go utility to generate a map of a given website, following links in its pages
- Host: GitHub
- URL: https://github.com/valsov/website-map-visualizer
- Owner: valsov
- Created: 2023-10-04T17:30:42.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-14T17:21:55.000Z (over 2 years ago)
- Last Synced: 2025-01-26T05:41:34.754Z (about 1 year ago)
- Language: Go
- Size: 260 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Website map visualizer
Go utility to generate a map of a given website, following links in its pages.
## How to use
Available options:
- **-domainUrl**: domain to process
- **-startPath**: start path for the scraping
- **-timeout**: maximum time, in seconds, allowed to process the domain
- **-viewExportPath**: path to write the vis.js-based visualization file
- **-includeExternalLinks**: should the scraping include external links in the output (which are in all cases not followed)
- **-maxVisitsCount**: maximum number of links to follow during the process
```shell
websitemapper -domainUrl https://sample-domain.com
```
## Visualization using vis.js
Internal pages are displayed in blue, external links are yellow. This is configurable in `view.tmpl`.
Example of scraping visualization using the following parameters (maxVisitsCount was set to 1 to avoid the graph being too big):
```shell
websitemapper -domainUrl https://docker.com -maxVisitsCount 1 -includeExternalLinks true
```
