CLI library for uploading content to Permacast.
npm install -g permacast-cli
Invoking this command is required first of all to be able to invoke any other command in the CLI.
permacast save-keyfile --key-file PATH-TO-YOUR-JWK-FILE.json
Use this command to delete your current keyfile to signout or if you want to replace it with a new one (then invoke command #1)
permacast delete-keyfile
Use this command to import your podcast's content from a valid RSS endpoint to your podcast over Permacast
permacast import-rss --pid YOUR_PODCAST_ID --rss-url THE_RSS_URL --onchain-eval
permacast import-rss --pid IKsjaUBJiKNDtLPIOyobkUM6iPtTKAK2bMDBu30KdmE --rss-url https://terraspaces.org/feed/podcast/
To know how to retrieve your pid
(podcast ID) from the Permacast FE, check this image.
N.B: --onchain-eval
is an optional argument that if passed, it evaluates the podcast's factory contract from Arweave (slow to very slow) instead of fetching the factory's state from Permacast cache.
This command displays your Arweave wallet address, balance, and how many megabytes your can upload to Arweave (excluding Permacast fee multiplier)
permacast account
This command allows you to switch between Arweave stable mainnet gateways (arweave.net/dev/live)
permacast change-gateway --gateway YOUR_OPTION
This project is licensed under the MIT license.