https://github.com/yusukebe/mirror
mirror is command line tool for mirroring a web page.
https://github.com/yusukebe/mirror
Last synced: about 1 year ago
JSON representation
mirror is command line tool for mirroring a web page.
- Host: GitHub
- URL: https://github.com/yusukebe/mirror
- Owner: yusukebe
- License: mit
- Created: 2022-01-18T03:37:00.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-02-18T04:53:59.000Z (over 4 years ago)
- Last Synced: 2025-03-29T06:33:17.041Z (about 1 year ago)
- Language: Go
- Size: 43.9 KB
- Stars: 12
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mirror
`mirror` is command line tool for mirroring a web page.
## Caution
**Do not abuse.**
## Feature
- Using Headless Chrome.
- Fetch HTML although rendered by JavaScript.
- Download all assets that emit when page is loaded.
- Decode Gzip and Brotli encoding content.
## DEMO

## Installation
```plain
go install github.com/yusukebe/mirror/cmd/mirror@latest
```
## Usage
```plain
mirror is a command line tool for mirroring web page
Usage:
mirror [url] [flags]
Flags:
-A, --agent string User-Agent name (default "mirror/v0.0.1")
-h, --help help for mirror
-o, --output-dir string Output Directory (default "output")
```
## Author
Yusuke Wada
## License
MIT