gp_manager
github page manager, alfred workflow
#Changelog
- v0.3
feature: upload snapshot of clipboard to qiniu cdn
- v0.2
feature: save snapshot of clipboard to file
##Feature
- new post file use default templet
- edit post file by search keyword
- edit templet
- save snapshot of clipboard to file
##How to install
- download the last release zip: gp_manager.alfredworkflow.zip
- unzip
gp_manager.alfredworkflow.zip
you will getgp_manager.alfredworkflow
. - double click the
gp_manager.alfredworkflow
file , alfred will open and install it. - use
gp config
to open config file , and sethome
to your blog dir.
##How to use
alfred keyword is gp
##Edit default templet:
gp templet *search*
##New post file:
it will create new post file, filename format {yyyy-mm-dd}-{title}.md
gp new title
it will create new post file in dir {dirname}
gp new dirname/title
##Edit post file
it will search the file
gp edit *search*
##Save snapshot of clipboard to file
###config
use gp config
to open config file , and set post_images_dir
to which dir you want to save the images of post.
###use
- do snapshot to clipboard just like
Shift + Cmmand + Control + 4
- use
gp paste2image
- then you and paste the file name `/Volumes/f/liang8305.github.com/assets/images/posts/20141110/20141110130825.png
##Save snapshot of clipboard to qiniu cdn
before use
- config
use
gp config
to open config file , and setqiniu_bucket
to which bucket you want to upload. - qiniu login
###use