Now gist.github.com supports search. So you can search your gist. I use #hashtag in description, so I
can search my gist by tags via user:myusername #tag
.
For offline usage, I cloned all my gists. And use find and grep to search them. I also search them with gonzui (open source code search engine).
I've written a shell script: gister.sh. I use it to
post gists. It will clone the repo to local and import into csearch automatically after the post.
The script also supports sync all your gists (gister sync
).
https://github.com/weakish/gister/