Static site generator for Ghost and Github
Super simple, Totally awesome, Brute force static site generator for Ghost.
Start with a clean, no commits Github repository.
Generate Static Pages. Preview. Deploy to Github Pages.
Warning! This project is a hack. It’s not official. But it works for me.
Creates a GIT repository inside static/ directory.
Generates static pages from locally running Ghost instance.
Preview what’s generated on localhost:9000.
Commits and deploys changes static files to Github repository.
Adds CNAME file with custom domain name as required by Github Pages.
Buster assumes you have static/ folder in your current directory (or creates one during setup command). You can specify custom directory path using [--dir=<path>] option to any of the above commands.
Don’t forget to change your blog URL in config.js in Ghost.
Installing Buster is easy with pip:
$ pip install buster
You’ll then have the wonderful buster command available.
You could also clone the source and use the buster.py file directly.
- wget: Use brew install wget to install wget on your Mac. Available by default on most linux distributions.
- git: Use brew install git to install git on your Mac. sudo apt-get install git on ubuntu/debian
The following python packages would be installed automatically when installed via pip:
The Ghost Foundation is not-for-profit organization funding open source software and trying to completely change the world of online publishing. Consider donating to Ghost.
Inspired by THE GhostBusters.
Ghost Buster Movie