Skip to main content

Static site generator for Ghost and Github

Project description

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.

The interface

setup [--gh-repo=<repo-url>]

      Creates a GIT repository inside static/ directory.

generate [--domain=<local-address>]

      Generates static pages from locally running Ghost instance.

preview

      Preview what’s generated on localhost:9000.

deploy

      Commits and deploys changes static files to Github repository.

add-domain <domain-name>

      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.

The Installation

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.

Requirements

  • 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:

  • docopt: Creates beautiful command line interfaces easily.

  • GitPython: Python interface for GIT.

Ghost. What?

Ghost is a beautifully designed, completely customisable and completely Open Source Blogging Platform. If you haven’t tried it out yet, check it out. You’ll love it.

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.

Buster?

Inspired by THE GhostBusters.

Ghost Buster Movie Poster

Ghost Buster Movie

Contributing

Checkout the existing issues or create a new one. Pull requests welcome!


Made with jugaad in Dilli.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

buster-0.1.3.tar.gz (4.9 kB view details)

Uploaded Source

File details

Details for the file buster-0.1.3.tar.gz.

File metadata

  • Download URL: buster-0.1.3.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for buster-0.1.3.tar.gz
Algorithm Hash digest
SHA256 68651786ad0d02bb52bcc9364ef484b8937dd7d85021211763a893df41934cc6
MD5 8c7504fff5b2cc87a0a3de8303b48796
BLAKE2b-256 e171aabfec0a7a00fd2db51f4b81baf389aa8878593588945bdf77f2bd9dca49

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page