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

Off-chain fetch RMRK2 entities to CFI/R2 #19

Open
vikiival opened this issue Mar 23, 2023 · 1 comment
Open

Off-chain fetch RMRK2 entities to CFI/R2 #19

vikiival opened this issue Mar 23, 2023 · 1 comment

Comments

@vikiival
Copy link
Member

vikiival commented Mar 23, 2023

Current indexing is slow.

the task is:

const res = await $obtain(uri, ['rmrk'])
  • Save it to your pc
  • for each metadata download image
const link = $purify(uri, ['rmrk']).at(0)
const res = await obtainMedia(link)

Now use ipfs_to_cf (in this repo to push it to CF images)

@vikiival
Copy link
Member Author

vikiival commented Mar 24, 2023

➜  ~ wc -l filename.txt
   49039 filename.txt

Got 50k of unique images

Non-unique

  ~ cat rmrk.json | jq '.data.entities | .[] | .image' | wc -l
  525562

so half a mil

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