Giter Club home page Giter Club logo

buster's Introduction

A Fork from Buster.

Buster

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.

Improvement

Please read the basic from Buster. With all the basic functionality a new parameter has added with this fork. Parameter only added to generate command.

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

      Generates static pages from locally running Ghost instance.

After generating all the pages, local url/address (--domain) will be replaced with production/actual address/url (provided with parameter prod-domain).

prod-domain is optional. If not provided then URL will remain as it is.

No need to change your blog URL in Ghost configurations.

Background

With the original version if ghost run in local address ( ex. http://localhost:2368) and generate command used then all the static file will have local address as URL, which will not work in production. If we change URL to production URL in the configuration then run ghost in local, some static page will not work. To Solve this problem this parameter is added.

The Installation

Install this fork with pip:

$ pip install git+https://github.com/abusaif01/buster

You'll then have the wonderful buster command available.

You could also clone the source and use the buster.py file directly.

buster's People

Contributors

axitkhurana avatar abusaif01 avatar shaunlebron avatar elyase avatar lasconic avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.