Supabase storage adapter for Ghost. Recommended as a completely free storage solution for blogs being hosted on platforms with ephemeral filesystems, like Heroku.
cd /path/to/your/ghost/installation
mkdir -p content/adapters/storage/ghost-storage-supabase
After that, simply copy the contents of this repo into that newly created directory and run
yarn install
Add the following to your configuration file and modify it accordingly.
"storage": {
"active": "ghost-storage-supabase",
"ghost-storage-supabase": {
"bucket": "<your public bucket name>",
"supabaseUrl": "<your supabase url>",
"supabaseKey": "<your supabase anon|service key>"
}
}
💡 To locate the information above, follow this Supabase guide. Buckets are readonly by default, even the public ones needed for this integration. After you have created your public bucket follow the Policy guides in order to allow public uploading. Alternatively, you can use your service key
instead.
Inspiration of this README came from https://github.com/ifvictr/ghost-storage-github