An interactive gist management inside the terminal that you can use to upload content to https://gist.github.com/.
Download the binary from Github Releases and drop it in your $PATH.
Or you can just install it with Go:
go install github.com/dimfu/gisting@latestImportant
Before you start using gisting for the first time you will need to be authenticated. You're gonna need to create your personal classic token here And make sure to tick the gist scope.
To launch the interactive interface:
gisting
# To enable vim motion for the editor (recommended)
gisting -vmTo create a new gist you can do:
# Single file upload
gisting create a.go
# Multiple files
gisting create a.go b.go
gisting create *.goIf you'd like to create from your current clipboard content:
gisting create -PTo delete your gist:
gisting delete [GIST_ID] [FILE_NAME]To list your uploaded and draft gists:
gisting listYou can change the TUI theme by using:
gisting -t [THEME_NAME]For now, you are limited to changing the theme to one listed on the Chroma Style Gallery
See gisting help for more detailed command usages.
| Key | Action | Notes |
|---|---|---|
| tab | Navigate between panes | — |
| ctrl+h | Move to left pane | — |
| ctrl+l | Move to right pane | — |
| a | Create a new gist or file | — |
| u | Upload current gist | Only works in Gist Pane |
| d | Delete selected gist or file | — |
| r | Rename selected gist or file | — |
| y | Copy file content | Only works in Files Pane |
| ? | Toggle help menu | — |
| ctrl+c | Quit the application | — |