Giter Club home page Giter Club logo

gist's Introduction

A simple gist editor for CLI

Pros

  • Simple and intuitive
    • Just select and edit gist you want
      • Can use any editors what you want
      • Work with peco and fzf
    • Automatically synchronized after editing
  • Customizable
    • A few options and small TOML
  • Easy to install
    • Go! single binary

DEMO

Usage

Currently gist supports the following commands:

$ gist help
gist - A simple gist editor for CLI

Usage:
  gist [flags]
  gist [command]

Available Commands:
  config      Config the setting file
  delete      Delete gist files
  edit        Edit the gist file and sync after
  new         Create a new gist
  open        Open user's gist

Flags:
  -v, --version   show the version and exit

Use "gist [command] --help" for more information about a command.

Configurations

Well-specified options and user-specific settings can be described in a toml file. It can be changed with the gist set command.

[Core]
  Editor = "vim"
  selectcmd = "fzf-tmux --multi:fzf:peco:percol"
  tomlfile = "/Users/b4b4r07/.config/gist/config.toml"
  user = "b4b4r07"

[Gist]
  token = "your_github_token"
  dir = "/Users/b4b4r07/.config/gist/files"

[Flag]
  open_url = false
  private = false
  verbose = true
  show_spinner = true

This behavior was heavily inspired by mattn/memo, thanks!

Installation

$ go get github.com/b4b4r07/gist

Versus

There are many other implements as the gist client (called "gister") such as the following that works on command-line:

License

MIT

Author

b4b4r07

gist's People

Contributors

babarot avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.