Skip to content
/ gost Public

Quickly turn a file on your machine into a Github Gist

License

Notifications You must be signed in to change notification settings

Rxdgxn/gost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GOST 👻

GOST is a simple tool written in Go to create Github Gists fast, straight from your terminal. So far there is room for improvements, mainly for better error handling + maybe a few more CLI flags, but I am not planning in turning this into a big project.

Usage: go run main.go [opt-flag] ...

opt-flag is an optional flag that can be either --pv or --pb (private or public), and after it comes the list of files that should be published.

Props to this website that made it easy to understand what is actually going on (and for the code): https://www.practical-go-lessons.com/chap-35-build-an-http-client

Note: in order for this to work, you need to get a personal access token to use the Github API from the "Developer Settings" section (and select the "Gist" scope)

About

Quickly turn a file on your machine into a Github Gist

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages