1.4.2 • Published 10 years ago

gh2ost v1.4.2

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

gh2ost

Convert Github readmes into Ghost blog posts

This tool converts readmes from your Github repositories into blog posts for Ghost blogging system.

Also it automatically filters out repositories without readmes or with readmes less than 140 characters length (tweet-fit description are not blog posts, are they? :) ).

Usage

Install globally with npm:

$ npm install -g gh2ost

Run executable with optional parameters...

$ gh2ost --help

  Usage: gh2ost [--min-length 140] [--lang-prefix (none by default)] [--user-id 1] [filename.json]

  Options:

    -h, --help                  output usage information
    -V, --version               output the version number
    -m, --min-length <length>   Minimal length for READMEs markdowns to be considered as posts
    -p, --lang-prefix <prefix>  ```<prefix>-[lang name] for code blocks to be used (i.e., "lang" for Prism)
    -d, --diff                  Export only repos that don\'t exist in destination yet
    -u, --user-id <id>          Ghost User ID

...and enter credentials when requested.

Github username: RReverser
Github password: ********

Now you got Ghost-compliant JSON file which you can import at http://yourblog.com/ghost/debug/.

License

This tool is issued under MIT license.

1.4.2

10 years ago

1.4.1

10 years ago

1.4.0

10 years ago

1.3.2

10 years ago

1.3.1

10 years ago

1.3.0

10 years ago

1.2.1

10 years ago

1.2.0

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago