https://github.com/gildas-lormeau/singlefile-tools
https://github.com/gildas-lormeau/singlefile-tools
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/gildas-lormeau/singlefile-tools
- Owner: gildas-lormeau
- Created: 2020-12-30T20:19:49.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-26T21:14:43.000Z (about 4 years ago)
- Last Synced: 2025-04-01T02:15:28.716Z (7 months ago)
- Language: JavaScript
- Size: 13.7 KB
- Stars: 8
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# SingleFile tools
## Manual installation
- Install [Node.js](https://nodejs.org)
- Download and unzip the [master archive](https://github.com/gildas-lormeau/SingleFile-tools/archive/master.zip)
`unzip master.zip .`
`cd SingleFile-tools-master`
- Install dependencies
`npm install`
## Run- Syntax
`node screenshot [url] [options ...]`- Display help
`node screenshot --help`
- Examples
- Save a screenshot of https://www.wikipedia.org in a file named ` wikipedia.png`
`node screenshot wikipedia.png https://www.wikipedia.org`
- Save a screenshot from a saved page named ` wikipedia.html`
`node screenshot wikipedia.png < wikipedia.html`