FISSION IPFS Storage Adapter for Ghost Blog

Description

Using ghost-storage-adapter-s3 as a model, create an IPFS adapter for the Ghost 2.x blog system that uses the FISSION IPFS API.

References:

User Impact

Who would want to use this and why?

FISSION uses Ghost for our blog, and maintains fission-ghost, a “Deploy to Heroku” distribution of Ghost. We will include the adapter in fission-ghost and make it work with our upcoming Heroku add on.

References:

Features

Create a Github repo that contains the storage adapter

In such a way that it can be included via NPM/yarn in package.json. Expects configuration through env variables compatible with how Heroku works. Should mirror how the S3 adapter works, except with different variables.

Choice of gateway

Choose which gateway to use. Defaults to ipfs.io, or add your own.

Future / Ideas / Research

Serve IPFS “natively”

In an IPFS enabled browser, can we detect this and serve up IPFS hashes instead of Web2 gateway URI + IPFS hash?

I was looking at the s3-adapter and found a :bug:

Official docs for creating custom storage adapters in Ghost look like a good place to start.

1 Like