Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not an issue - just a tool #2

Open
MikeHeid opened this issue Oct 29, 2021 · 0 comments
Open

Not an issue - just a tool #2

MikeHeid opened this issue Oct 29, 2021 · 0 comments

Comments

@MikeHeid
Copy link

Might be something that helps somebody here.

This script parses the devnet-temp in your cache file and creates an images.html file so you can look/test uploaded images.
The devnet-temp file is inside your ".caches" folder.

curl -Ls -w $(cat devnet-temp | grep -Eo "(http|https)://[a-zA-Z0-9./?=_%:-]") > arweave.url.out
cat arweave.url.out | grep -Po '"uri":.
?[^\\]",' |awk -F" '{ print "<img src="" $4 "">" }' > images.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant