Hi! I'm @agentofuser and this is my first Gatsby starter. It's based on my IPFS+Gatsby blog at https://interplanetarygatsby.com, where I write about things I'm learning in the decentralized publishing space.
The goal of this starter is to provide a full-featured, good-looking default blog to get you writing on the DWeb as effortlessly as possible, without leaving your browser or installing anything, and without any prior knowledge of either Gatsby, IPFS, or even programming.
We're not 100% there yet, but here is how you can get your first dwebsite up:
_
on the key name):IPFS_DEPLOY_PINATA__API_KEY
IPFS_DEPLOY_PINATA__SECRET_API_KEY
yarn stage
At the end of it, if everything went well, you should see something like this:
✔ ? It's pinned to Pinata now with hash:
ℹ ? QmdJiFJHmW4DRjbgntS6wnaWbLpcCaw5gLeV8TiAEmj3Je
Your hash might be different.
Now you can see your website by copying that hash to the end of https://gateway.pinata.cloud/ipfs/
. In my case, it's:
https://gateway.pinata.cloud/ipfs/QmdJiFJHmW4DRjbgntS6wnaWbLpcCaw5gLeV8TiAEmj3Je
You can send that to a friend and they'll be able to see your website both via the HTTPS gateway and via the peer-to-peer network if they have IPFS installed.
Everything worked for you? Awesome! Please ping me on twitter at @agentofuser and let me know. I'd love to hear that!
Also, if you had any trouble, I'll be happy to help you figure it out.
Cheers!