alfred workflow, manage github page
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
templets
README.md
action.php
cmd.php
config.php
icon.png
info.plist
manager.php
pngpaste
qboxrsctl
workflows.php

README.md

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

  1. download the last release zip: gp_manager.alfredworkflow.zip
  2. unzip gp_manager.alfredworkflow.zip you will get gp_manager.alfredworkflow.
  3. double click the gp_manager.alfredworkflow file , alfred will open and install it.
  4. use gp config to open config file , and set home to your blog dir.

##How to use

alfred keyword is gp

7da330f5-e6fb-4a48-835b-e7caf2bfb001

##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

9c63d7ed-19e3-4cdc-b4b1-fa879d4b601d

##Edit post file

it will search the file

gp edit *search* 

70f992ae-3a6d-4e10-9230-074506cbbb0b

##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

  1. do snapshot to clipboard just like Shift + Cmmand + Control + 4 image
  2. use gp paste2image image
  3. 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

  1. config use gp config to open config file , and set qiniu_bucket to which bucket you want to upload.
  2. qiniu login
    image

###use

  1. do snapshot to clipboard just like Shift + Cmmand + Control + 4
  2. use gp paste2qiniu image
  3. gp_manager will upload image to qiniu bucket, and copy file url to clipboard