{"id":15654285,"url":"https://github.com/stefanscherer/ghost-buster-docker","last_synced_at":"2025-07-10T13:33:36.044Z","repository":{"id":143128588,"uuid":"81646873","full_name":"StefanScherer/ghost-buster-docker","owner":"StefanScherer","description":"Run Ghost blog in Docker, and run Buster to deploy to GitHub pages","archived":false,"fork":false,"pushed_at":"2018-01-15T20:27:27.000Z","size":20,"stargazers_count":26,"open_issues_count":1,"forks_count":27,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-30T22:48:43.945Z","etag":null,"topics":["buster","docker","docker-compose","ghost","github-pages"],"latest_commit_sha":null,"homepage":"https://stefanscherer.github.io/dockerizing-ghost-buster/","language":"HTML","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/StefanScherer.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-11T10:49:31.000Z","updated_at":"2023-09-08T17:20:45.000Z","dependencies_parsed_at":"2024-03-09T22:31:37.028Z","dependency_job_id":null,"html_url":"https://github.com/StefanScherer/ghost-buster-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/StefanScherer/ghost-buster-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StefanScherer%2Fghost-buster-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StefanScherer%2Fghost-buster-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StefanScherer%2Fghost-buster-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StefanScherer%2Fghost-buster-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StefanScherer","download_url":"https://codeload.github.com/StefanScherer/ghost-buster-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StefanScherer%2Fghost-buster-docker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264585372,"owners_count":23632646,"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":["buster","docker","docker-compose","ghost","github-pages"],"created_at":"2024-10-03T12:50:26.544Z","updated_at":"2025-07-10T13:33:36.025Z","avatar_url":"https://github.com/StefanScherer.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ghost-buster-docker\n\nRun your Ghost blog in a Docker container and publish it with Buster to static\nGitHub pages.\n\n## Edit content with Ghost\n\n```bash\ndocker-compose up -d ghost\nopen http://localhost:2368/ghost\n```\n\nor\n\n```bash\n./edit.sh\n```\n\nYou can create and publish new content, they are still only locally available.\n\n## View content locally\n\nView the local Ghost site in your Browser\n\n```bash\nopen http://localhost:2368\n```\n\n## Generate static files\n\nThis will run `buster` in a container and update the files in the `static`\nfolder. The data still remains locally on your disk.\n\n```bash\ndocker-compose run buster\n```\n\n## Preview static files locally\n\nIf you want to preview the generated static pages, use another container.\n\n```bash\ndocker-compose up -d preview\nopen http://localhost:2369\n```\n\nor\n\n```bash\n./preview.sh\n```\n\n## Deploy static files to GitHub pages\n\nTo deploy the static files the shell script `deploy.sh` is used that checks\nin all local changes in the `static` folder and pushes it as new Git commit\nto your GitHub pages repo.\n\n```bash\n./deploy.sh\n```\n\n## Customization\n\nSome notes for me so I can look up what I have done \"years\" ago.\n\n### Casper Theme\n\nUpdated Casper theme to 1.3.5 from https://github.com/TryGhost/Casper\n\n```bash\ncd content/themes\nrm -rf casper\ngit clone https://github.com/TryGhost/Casper\nmv Casper casper\ncd ../..\n```\n\n### Disqus\n\nFollowed http://academy.ghost.org/adding-disqus-to-your-ghost-blog/ to add\nDisqus to `post.hbs` and then copied it into the themes folder.\n\n```bash\ncp post.hbs content/themes/casper/post.hbs\n```\n\n### Clone GitHub pages\n\nPut your GitHub pages into a folder `static`.\n\n```bash\ngit clone git@github.com:StefanScherer/stefanscherer.github.io\nmv stefanscherer.github.io static\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefanscherer%2Fghost-buster-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstefanscherer%2Fghost-buster-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefanscherer%2Fghost-buster-docker/lists"}