add gist plugin

add gist plugin and webapi