MCPcopy Index your code
hub / github.com/dutchcoders/gister

github.com/dutchcoders/gister @v1.0.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.0.1 ↗ · + Follow
17 symbols 41 edges 2 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Gister

Manage your gists from the command-line. You can even manage your gists using your favorite editor.

Demo

Create a github access token

  • https://help.github.com/articles/creating-an-access-token-for-command-line-use/

Install

$ brew tap dutchcoders/homebrew-gister
$ brew install gister

Environment variables

  • GITHUB_TOKEN: your github access token
  • EDITOR: your favorite editor

Usage

usage: gister --editor="vim" --token="GITHUB_TOKEN"
       [<flags>] <command> [<flags>] [<args> ...]

Flags:
  --help          Show help.
  --debug         enable debug mode
  --editor="EDITOR"  editor to use
  --token="GITHUB_TOKEN"
                  github token
  --description=DESCRIPTION
                  description
  --public        public gist

Commands:
  help [<command>]
    Show help for a command.

  list [<flags>]
    list gists

  search [<flags>] <keyword>
    search gists

  download --gist=GIST [<flags>] [<files>]
    download gist

  cat --gist=GIST [<files>]
    cat gist to stdout

  create [<files>]
    create new gist with specified files

  info --gist=GIST
    show info gist

  edit --gist=GIST
    edit gist using editor

  delete --gist=GIST
    delete specified gist

Samples

Create a new gist

$ gister create
00da2a1fddaa77fb40e4

$ cat /tmp/test.txt | gister create
00da2a1fddaa77fb40e4

List gists

$ gister list
nl5887/00da2a1fddaa77fb40e4
nl5887/f74a0a0837f609af9552 test
nl5887/0f70d642f6c91f33535e Slack invite by email

from another github user:

$ gister list --user=msoap

Search gists

$ gister search test
nl5887/f74a0a0837f609af9552 test

Edit

$ gister edit f74a0a0837f609af9552
nl5887/f74a0a0837f609af9552 test

Delete a gist

$ gister delete --gist 960473f0df6f8e98d220

Cat a gist to stdout

$ gister cat --gist 960473f0df6f8e98d220 | grep '...'

Contributions

Contributions are welcome.

Creators

Remco Verhoef - https://twitter.com/remco_verhoef - https://twitter.com/dutchcoders

Copyright and license

Code and documentation copyright 2011-2015 Remco Verhoef.

Code released under the MIT license.

Core symbols most depended-on inside this repo

DebugPrintln
called by 7
utils.go
nz
called by 3
main.go
stringInSlice
called by 2
utils.go
edit
called by 2
main.go
deleteGist
called by 1
main.go
createGist
called by 1
main.go
downloadGist
called by 1
main.go
catGist
called by 1
main.go

Shape

Function 17

Languages

Go100%

Modules by API surface

main.go15 symbols
utils.go2 symbols

For agents

$ claude mcp add gister \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page