Skip to content

Supabase storage adapter for Ghost. Recommended as a completely free storage solution for blogs being hosted on platforms with ephemeral filesystems, like Heroku.

License

Notifications You must be signed in to change notification settings

raulriera/ghost-storage-supabase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ghost-storage-supabase

Supabase storage adapter for Ghost. Recommended as a completely free storage solution for blogs being hosted on platforms with ephemeral filesystems, like Heroku.

Installation

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

Usage

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.

Credit

Inspiration of this README came from https://github.com/ifvictr/ghost-storage-github

License

MIT License

About

Supabase storage adapter for Ghost. Recommended as a completely free storage solution for blogs being hosted on platforms with ephemeral filesystems, like Heroku.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published