Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/battleoverflow/webanalyzer
Web Analyzer is a web analysis CLI built using TypeScript to allow immediate retrieval of website information without a GUI or any type of third-party installation
https://github.com/battleoverflow/webanalyzer
broken-link-finder cli command-line-tool nodejs typescript typescript-cli web-dev-cli
Last synced: 2 months ago
JSON representation
Web Analyzer is a web analysis CLI built using TypeScript to allow immediate retrieval of website information without a GUI or any type of third-party installation
- Host: GitHub
- URL: https://github.com/battleoverflow/webanalyzer
- Owner: battleoverflow
- License: mit
- Created: 2022-09-06T22:24:45.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-22T13:32:24.000Z (9 months ago)
- Last Synced: 2024-08-02T15:45:32.744Z (6 months ago)
- Topics: broken-link-finder, cli, command-line-tool, nodejs, typescript, typescript-cli, web-dev-cli
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/@stellata/webanalyzer
- Size: 282 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Web Analyzer is a web analysis CLI built using TypeScript to allow immediate retrieval of website information without a GUI or any type of third-party installation. Currently allows for broken link detection, JSON and HTML export and extraction, website data aggregation, and much more.
Available arguments:
```
-h, --help "Help menu"
-u, --url "Provide a URL for parsing broken links and collecting web info"
-f, --file "Save website data to a file in JSON format (default: report.json)"
-o, --output "Specify the name of the JSON or HTML file for extracted data (don't specify an extension)"
-v, --verbose "Output link information in a file and display the data in terminal"
-d, --debug "Debug logs (more in-depth information about the domain/tools being used)"
-w, --web "Saves website data to a file in HTML format (default: report.html)"
-b, --broken "Scans provided URL for broken links, returning a status code"
```### Examples
You can run this command to gather broken links on your website and export them to a JSON file:
```bash
webanalyzer -u https://example.com -f -o example_report -b
```If you need to quickly export the HTML source code instead, you can run the same command as above, but by including the `-w` flag:
```bash
webanalyzer -u https://example.com -f -o example_report -b -w
```NOTE: Depending on your system and how you installed webanalyzer, you may need to use `npx` alongside the CLI utility in the examples above.