blogin

A simple static blog framework, powered by Node.js.

npm install blogin
5 downloads in the last week
20 downloads in the last month

blogin is A simple static blog framework, powered by Node.js.

How to install

  1. Install node.js and npm.
  2. npm install -g blogin
  3. blogin init blogdir
  4. cd blogdir
  5. Change blog config at "blogdir/blogin.json"
  6. blogin update
  7. blogin server
  8. Open http://127.0.0.1:3000 in browser.

Create post

  1. blogin post this is my first post
  2. Then edit "blogindir/data/posts/2013/this-is-my-first-post.md". Blogin use markdown format to write blog.
  3. blogin update
  4. blogin server

Usage

blogin command:

deploy     Deploy static files to git server, like github.
server     Start a server on http://localhost:3000 .
update     Generate the static files.
post       Create post, show post tree, delete post.
page       Create page, show page tree, delete page.
init       Init the blog directory.
help       Display help.
trash      Show trash tree, recovery deleted file.

Custom theme

Edit the file at "blogindir/public/" to custom your own theme.

Please feel free to use blogin.

Update

  • 0.1.0
  • 0.1.1
    bug fix.
  • 0.2.0
    support delete post/page.
    support post/page tree view, when using blogin post / blogin page.image
    new command blogin trash, to view or recovery deleted file. see blogin help trash for detail.
    support blogin help commandName.
    bug fix.
  • 0.2.1
    bug fix #1.
  • 0.2.2
    fix bug when create new page.
npm loves you