Archive single page html and screenshot of websites and save to Arweave.
name: arweave-archive-action
on: [push]
jobs:
capture:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: |
sudo apt-get update
sudo apt-get install -y libgconf-2-4 libatk1.0-0 libatk-bridge2.0-0 libgdk-pixbuf2.0-0 libgtk-3-0 libgbm-dev libnss3-dev libxss-dev libasound2
- name: Archive webpage and screenshot
uses: pawanpaudel93/arweave-archive-action@v1.1.6
with:
jwk: ${{ secrets.JWK }}
url_file_path: 'urls.txt'
gateway_url: 'https://ar-io.net'
Required Arweave wallet JWK
Required File containing urls lines to capture.
Default saved.json
JSON file path to save the captured webpage information.
Default https://arweave.net
URL of the service used to access network data.
Default https://node2.bundlr.network
URL of the service used to submit data to the network when possible instead of using the gateway.
JSON string of the captured webpage information. e.g.
[
{
"title": "Arweave - A community-driven ecosystem",
"url": "https://arweave.org/",
"webpage": "https://arweave.net/WlG3iz__TfzMswJEQTHEqpMROIxuBAoaNG7owfhqwNM",
"screenshot": "https://arweave.net/WlG3iz__TfzMswJEQTHEqpMROIxuBAoaNG7owfhqwNM/screenshot",
"timestamp": 1683967277
}
]
👤 Pawan Paudel
- Github: @pawanpaudel93
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Give a ⭐️ if this project helped you!
Copyright © 2023 Pawan Paudel.