Overview

Referencing the following tweet, I tried adding images and a IIIF manifest to IPFS.

https://twitter.com/edsilv/status/1400221815369355267

For adding to IPFS, I used Fleek, which is also mentioned in the above tweet.

https://fleek.co/

The following site was helpful for learning how to use Fleek.

https://i-407.com/blog/m10/

Source Code

The source code is below.

https://github.com/nakamura196/fleek_test

Steps

Uploading Images

First, I uploaded the following image to the above repository.

https://github.com/nakamura196/fleek_test/blob/main/kunshujo_400.jpg

Following the reference site, I connected this repository to Fleek. As a result, it became accessible at the following URL.

https://ipfs.io/ipfs/QmbZekG5x834rwGKVZntBefkbNfL5auH171m4c26TZmCAo/kunshujo_400.jpg

Reference

I also downloaded the IPFS desktop app and entered “QmbZekG5x834rwGKVZntBefkbNfL5auH171m4c26TZmCAo”, which displayed the following.

Furthermore, I installed the following Google Chrome extension.

https://chrome.google.com/webstore/detail/ipfs-companion/nibjojkomfdiaoajekhjakgkdhaomnch

With the desktop app running, entering the earlier URL (https://ipfs.io/ipfs/…) resulted in it being converted to the following URL.

http://bafybeigepsc4mwgbur7y7tao5v26oeqgi3bkial2rrbuudlaf3z43iyquq.ipfs.localhost:8080/kunshujo_400.jpg

Uploading the Manifest File

Next, I created a manifest file. I created the following manifest file.

{}"""""""]"]@@@adlm,scitteaeeodytsbtqn"prcea{}u{}t:eirldee"bi"anx":up:tcthtta""e"""]"t"ii""lvs@@c:tsooM:aa"itapcnnybl:dyn"s:""[eu"pv{}h:M::fle[:eat/ai"""st/n""r::":epiisMshs""""]""}":pfaat""t""@@hi,lt,w/femnkits:itemahi/sspiIeppcdyiabudi.tlfIyfs:["pgg{}em"tii"eeIws:S:ehelb@hio,"sFo"/e"ts"ni"f,tr/q":"":ad:.iadiuh::"""""}i"ipfn"pet"@@mor"l:4ofid,fnts2[itone["0/slscpc8dyt"s1:"0a/eI.es:9"pi:o"""""]hpQPi":C,:evu@@fhw"{timoFo,/a"a"ritoei,t/bfS//n":thcdyridppZ"iivhite"pmgtsreM,ppat"ot":eahh:ekyffstonp:"tt"/sGss"pa"s":"":/e5f/.,s:::{h::inxiQi:A/t"4pt8rmo/n"/td"20fa3sb//nsipci80st4tZiiocpstm9.ireppt:f:ya,iowIkffaps/pgonGIGssta./ee//KI5/.iiiis/i2VFxQionop:jp/Z8mont/fIpfcna3b/"iismesotn4Zi,np.ag/nBdrepgfig"Qtewkf"soe,mefIGGs,//"bxkPK5/Qi,ZtbFVxQmpe.NSZ8mbfkjf"n3bZsGsL,t4Ze/5o5BrekQxnaewkGm8"ufGG5b3,HkK5xZ41bVx8er7NZ83kw1fn34GGmLt4r5K45BrwxVcaewG8Z2ufGK3n6HkKV4tT1bVZrBZ7NZnwem1fntGfCmLtBKkA45BeVbocaefZN/2ufknfk6HkbtLuT1bNB5nZ7Nfeasm1fLfuhCmL5kHuA45ab1jocauN7o/2uHf1_k6H1Lm4uT17540nZ71ac0sm1mu2.hCm4H6juA4c1Tpjoc27Zgo/261m"_k6TmC,4uTZ4A0nZmco0smC2/.hCA6kjuAoTupjo/Zngo/kms/_kuChs4unAue0nsojq0sh/ou.huk_ejuju4npjon0cgo_s0e/_4h./c40ujna00jpon0.ogrv.j_"majp4aspg0l/g/0"p/c.,1aaj"nnp,nvgoa"ts,a/tpi1o"n,/p1-image",

As a result, it became accessible at the following URL.

https://ipfs.io/ipfs/QmdS7UP4oSHw5wgG4T46NXvLrN17hCoWrSRgBQUtjCVpmM/manifest.json

When I displayed this manifest file in Universal Viewer, it was displayed correctly as shown below.

https://uv-v4.netlify.app/#?manifest=https://ipfs.io/ipfs/QmdS7UP4oSHw5wgG4T46NXvLrN17hCoWrSRgBQUtjCVpmM/manifest.json

Summary

While there are still many things I don’t fully understand, I was able to add images and a IIIF manifest file to IPFS for now.