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

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.

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

![DEMO](https://user-images.githubusercontent.com/10682/149944322-677375e6-aa53-4ef1-80f4-b1b6d5e010c2.gif)

## 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