giab

1.0.8 • Public • Published

giab

A tool for "giab" (github issue as blog) guys

This tool will generate an issue(blog post) list in your README.md.

Install

npm install giab

Usage

  1. Go to your repository's root dir

  2. Make sure you have a readme file named README.md

  3. Add placeholder to README.md, like this:

<!--giab:issue_list_start-->
your articles will be shown here
<!--giab:issue_list_end-->
  1. Add a config file named .giabrc, sample content:
{
  "type": "basic",
  "username": "simongfxu",
  "password": "password here",
  "issues": {
    "repo": "simongfxu.github.com",
    "owner": "simongfxu"
  }
}

GitHub token also supported to hide your password.

  1. Edit .gitignore file in your repository's root dir, add a line
.giabrc

NOTE: this is very important, I do not think you will let everybody know your password.

  1. Execute the following command
node node_modules/giab

That is all!

Example

Readme

Keywords

Package Sidebar

Install

npm i giab

Weekly Downloads

1

Version

1.0.8

License

MIT

Last publish

Collaborators

  • damngoto