{"id":28561221,"url":"https://github.com/zaxbux/ghost-storage-b2","last_synced_at":"2025-06-10T10:41:33.718Z","repository":{"id":57170331,"uuid":"346860396","full_name":"zaxbux/ghost-storage-b2","owner":"zaxbux","description":"Backblaze B2 storage adapter for Ghost v4","archived":false,"fork":false,"pushed_at":"2021-04-07T23:47:29.000Z","size":151,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-14T08:33:30.746Z","etag":null,"topics":["backblaze-b2","ghost","storage-adapter"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zaxbux.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-11T22:45:20.000Z","updated_at":"2022-01-19T21:30:20.000Z","dependencies_parsed_at":"2022-08-27T12:01:59.766Z","dependency_job_id":null,"html_url":"https://github.com/zaxbux/ghost-storage-b2","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaxbux%2Fghost-storage-b2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaxbux%2Fghost-storage-b2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaxbux%2Fghost-storage-b2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaxbux%2Fghost-storage-b2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zaxbux","download_url":"https://codeload.github.com/zaxbux/ghost-storage-b2/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaxbux%2Fghost-storage-b2/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259057843,"owners_count":22799244,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backblaze-b2","ghost","storage-adapter"],"created_at":"2025-06-10T10:41:16.171Z","updated_at":"2025-06-10T10:41:33.709Z","avatar_url":"https://github.com/zaxbux.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Backblaze B2 Storage Adapter for Ghost\n\nA [Backblaze B2](https://www.backblaze.com/b2/docs/) storage adapter for [Ghost](https://ghost.org) version 4 (also compatiable with version 3.x).\n\n## Installation\n\n```\ngit clone https://github.com/zaxbux/ghost-storage-b2.git\ncd ghost-storage-b2; npm i\ncd ..\ncp -r ghost-storage-b2 ./content/adapters/storage/b2\n```\n\n## Configuration\n\nYou will need to obtain or create app keys and create a bucket in your B2 Cloud Storage Account.\n\nIf your Ghost configuration file, add the B2 configuration options:\n\n```jsonc\n{\n  // ...\n\n  \"storage\": {\n    \"active\": \"b2\",\n    \"b2\": {\n      \"applicationKeyId\": \"\",\n      // See table below for all config values\n    }\n  }\n\n  // ...\n}\n```\n\nAlternatively, the B2 storage adapter can be configured with environment variables:\n\n| JSON File Option   | Environment Variable    | Value\n| ------------------ | ----------------------- | -----\n| `applicationKeyId` | `B2_APPLICATION_KEY_ID` | Your B2 application key ID.\n| `applicationKey`   | `B2_APPLICATION_KEY`    | Your B2 application key.\n| `bucketId`         | `B2_BUCKET_ID`          | Your B2 bucket's ID.\n| `bucketName`       | `B2_BUCKET_NAME`        | *(optional)* Your bucket's name.\n| `pathPrefix`       | `B2_PATH_PREFIX`        | *(optional)* The prefix to add to uploads.\n| `downloadUrl`      | `B2_DOWNLOAD_URL`       | *(optional)* Use a custom URL for downloading. (CDN, etc.)\n\n### Custom Domain\n\nIf you're using a custom domain instead of the default backblaze domain, e.g. with a CNAME pointing `cdn.example.com` to `f001.backblazeb2.com`, and your bucket name is `my_bucket`:\n\n * Set **downloadUrl** to `https://cdn.example.com/file/my_bucket`\n\n## Debugging\n\nTo debug the storage adapter, set the `DEBUG` environment variable to `ghost-storage-b2`.\n\n## Licence\n\n[MIT](license)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaxbux%2Fghost-storage-b2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzaxbux%2Fghost-storage-b2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaxbux%2Fghost-storage-b2/lists"}