0.0.13 • Published 2 years ago

arweave-archive-cli v0.0.13

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

A CLI tool to archive webpage and it's screenshot to Arweave.

Installation

npm install arweave-archive-cli -g

OR

yarn add global arweave-archive-cli

Run arweave-archive or aar in terminal for more information regarding how to use the CLI.

$ aar
Usage: arweave-archive [options] [command]

A CLI tool to archive webpage and it's screenshot to Arweave

Options:
  -v, --version            output the version number
  -h, --help               display help for command

Commands:
  setup <jwkPath>          setup Arweave JWK file path
  archive [options] <url>  archive url single page webpage and screenshot to Arweave
  archives [options]       display all your archives
  backup [options] <path>  backup archives information
  init-action              initialize archive github action
  help [command]           display help for command

Github Actions

  1. arweave-archive-action: Archive single page html and screenshot of websites to Arweave.
  • A demo project using arweave-archive-action to archive list of urls and save it to a JSON file: arweave-archive-cronjob

Usage

Setup Arweave JWK Path

Run the following command with a Arweave JWK file path.

aar setup "arweave-jwk.json"

Archive

Usage: arweave-archive archive [options] <url>

archive url single page webpage and screenshot to Arweave

Arguments:
  url                             url to archive

Options:
  -j, --jwk-path <jwkPath>        Arweave JWK file path
  -g, --gateway-url <gatewayUrl>  Arweave gateway URL (default: "https://arweave.net")
  -b, --bundler-url <bundlerUrl>  Bundler URL (default: "https://node2.bundlr.network")
  -h, --help                      display help for command

Run this command to save single page html and screenshot for the given url to Arweave.

aar archive https://arweave.org

Archives

To display all your archives:

aar archives

Backup

To backup all your archives to a file:

aar backup 'saved.json'

Github Actions for Archive

To add arweave archive github action to a git repo:

aar init-action

Author

šŸ‘¤ Pawan Paudel

šŸ¤ Contributing

Contributions, issues and feature requests are welcome!Feel free to check issues page.

Show your support

Give a ā­ļø if this project helped you!

Copyright Ā© 2023 Pawan Paudel.

0.0.13

2 years ago

0.0.10

2 years ago

0.0.11

2 years ago

0.0.12

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.5

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago