boluny / cray

micro static blog generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

https://travis-ci.org/boluny/cray.svg?branch=master

cray

A micro static blog generator

Motivation

The lazy author forgot the Jekyll usage and don't want to install Ruby and all start from the beginning.

# Yeah I know it's a shabby project until now but it will be updated in times.

Update in 2017-08-04:

I find pelican is a mature one, but I can still have my own one even it's not comply with python philosophy.

Usage

  1. Prerequisite: Python3 and package pip installed and in %PATH%.
  2. Clone the repository.
  3. Cd into the root directory of the repository, install it using
$ pip install -r requirements.txt
  1. Execute following commands:
$ cray init [your-site-name]

$ cd [your-site-name] && cray generate

$ cray preview
  1. Open browser for http://127.0.0.1/

Progress

That's depends on some stuff if the author is defeated in LOL or Wang Zhe Rong Yao which is a game like LOL but on mobile platforms.

TODO list

  1. Usage hint of the program and CLI improvment. [Done]
  2. Add more unit tests.
  3. Refactor if target #2 is done.
  4. Want to generate mindmap using d3.js if I could write a markdown to d3 tree converter.

About

micro static blog generator

License:MIT License


Languages

Language:Python 97.1%Language:HTML 2.9%