blogin is A simple static blog framework, powered by Node.js.
- Install node.js and npm.
npm install -g blogin
blogin init blogdir
cd blogdir
- Change blog config at "blogdir/blogin.json"
blogin update
blogin server
- Open
http://127.0.0.1:3000
in browser.
blogin post this is my first post
- Then edit "blogindir/data/posts/2013/this-is-my-first-post.md". Blogin use markdown format to write blog.
blogin update
blogin server
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.
Edit the file at "blogindir/public/" to custom your own theme.
Please feel free to use blogin.
- 0.1.0
- 0.1.1
bug fix. - 0.2.0
support delete post/page.
support post/page tree view, when usingblogin post
/blogin page
.
new commandblogin trash
, to view or recovery deleted file. seeblogin help trash
for detail.
supportblogin help commandName
.
bug fix. - 0.2.1
bug fix #1. - 0.2.2
fix bug when create new page.