Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you manage your gists on GitHub? [closed]

Check out GistBox. It supports searching, editing and labels. Here's a screenshot:

GistBox Interface

There's also a demo video at: http://www.youtube.com/watch?v=VLgyY6lqpsQ

GistBox Clipper (a Chrome extension) also provides the ability to save <pre> tags and arbitrary text on any web page.


Edit:

Unfortunately, GistBox is becoming Cacher cacher.io - the free plan will only include: 15 private snippets, 3 private labels, unlimited public snippets. If you plan on having many private gists then you will need to but (sic) a paid plan. – Bartek Skwira


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/


Checkout the cross-platform (Linux/macOS/Windows) gist manager Lepton. It's free and licensed under MIT. http://hackjutsu.com/Lepton/

enter image description here

It seems it meet your needs if you are working in a desktop/laptop environment. (No iOS/Android support yet). Here is the feature list:

  • Group your gists by languages
  • Create/Edit/Delete gists
  • Instant search
  • Custom tags (#tag1, #tag2)
  • Markdown rendering
  • Cross-platform support
  • Proxy

Disclaimer: I'm the major contributor to Lepton.


Gists are lightweight repositories, so why not take advantage of that?

Clone your gists to a 'my_gists' directory, organized in the way you would want them organized.

Then they become searchable fully using whatever search tools you are familiar with on your operating system.

You also have the advantage of being able to edit, comment, commit and push.

This let's you do all that you have listed and more.

Add git instaweb to the mix and you even have a rudimentary web interface to your gists.


My colleague and I are working on an open source cross-platform project to manage gists. It's in a beta stage - gistoapp.com.

enter image description here

It current feature list:

  • Advanced search
  • Enterprise log-in
  • Tags
  • Syntax highlight
  • Grouping by language
  • Quick snippet actions
  • Copy to clipboard
  • Copy file contents to clipboard
  • Editor settings
  • Theme color changer
  • Drag and drop to create files
  • Markdown preview (with emoji)
  • AsciiDoc preview
  • Comments
  • Web app

Full source, and downloads are available via github.