![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@667/ghost-storage-github
Advanced tools
GitHub 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
npm install ghost-storage-github
mkdir -p content/adapters/storage
cp -r node_modules/ghost-storage-github content/adapters/storage/ghost-storage-github
Add the following to your configuration file and modify it accordingly.
"storage": {
"active": "ghost-storage-github",
"ghost-storage-github": {
"token": "<your token here>",
"owner": "<your username here>",
"repo": "ghost-assets",
"branch": "master",
"destination": "my/subdirectory",
"baseUrl": "https://cdn.example.com",
"useRelativeUrls": false
}
}
Here's a comprehensive list of configurations:
Name | Required? | Description | Environment variable (prefixed with GHOST_GITHUB_ ) |
---|---|---|---|
baseUrl | no | Base URL of newly saved images. Uses raw.githubusercontent.com by default | BASE_URL |
branch | no | Branch to push assets to. Defaults to master | BRANCH |
destination | no | Directory to push assets to. Defaults to / | DESTINATION |
owner | yes | Username of the user/organization the repo is under | OWNER |
repo | yes | Name of the repo | REPO |
token | yes | Your personal access token | TOKEN |
useRelativeUrls | no | Whether or not to return relative URLs (i.e. under /content/images ) instead of absolute URLs. Might be of use to people who generate and serve a static version of their Ghost blog. | USE_RELATIVE_URLS |
repo
), as ghost-storage-github will need access to your repository.token
field of ghost-storage-github's configuration.Your token or password might be incorrect. You should double-check your configuration.
Make sure the repository you specified exists. Also, check to make sure the branch (if specified) exists in the repo.
FAQs
Save Ghost Blog Content to Github
The npm package @667/ghost-storage-github receives a total of 5 weekly downloads. As such, @667/ghost-storage-github popularity was classified as not popular.
We found that @667/ghost-storage-github demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.