quihex

0.0.2 • Public • Published

Quihex npm version

Quiver notes => quihex sync => Hexo posts

  1. Quihex converts Quiver notes written by markdown to Hexo blog posts
  2. And sync these converted notes to blog posts files

Motivation

  • I'd like to write blog texts at Quiver and deploy them easily.

Dependency

Awesome app and framework :)

  • Quiver
    • Notebook for programmers
    • We are able to write notes with markdown
  • Hexo
    • Blog framework for markdown

Intro

# Install 
$ npm install -g quihex
 
# Setup 
$ quihex init
 
# Sync(Quiver notes => Hexo posts) 
$ quihex sync
 
# Hexo deploy 
cd ~/hexo-root
$ hexo deploy
 
# Fetch posts at blog server 
$ ssh myblog.com
[you@myblog]$ cd ~/blog
[you@myblog]$ git fetch && git merge origin/master --ff

Tips

# Setting tags for not sync with quiver notes 
#  - quihex dose not sync the note if you set the tag to your notes 
$ vim ~/.quihexrc
# ex) 
# ~~~ 
"tagsForNotSync": [
  "hide",
  "wip",
  "secret",
  "newtag" <= Insert
]
# ~~~ 
 
# Uninstall 
#  - delete module and config file 
$ npm uninstall -g quihex
$ rm ~/.quihexrc

TODO

  • Setting tags for not sync on cli
  • Track changed blog title
    • Now, quihex deals with another posts.
  • Handling image files

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i quihex

Weekly Downloads

0

Version

0.0.2

License

MIT

Last publish

Collaborators

  • bobmk2