Skip to content
This repository has been archived by the owner. It is now read-only.
📸 A Golang CLI that uploads images to imgur.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
uploader
180182.jpg
README.md
go-imgur.go

README.md

GO-IMGUR-CLI

Go-IMGUR-CLI is a CLI based uploader to imgur.

Pre-requisite:

Set up your IMGUR API Keys:

Add this in your ~/.bash_profile, ~/.profile:

export PATH='<YOUR_IMGUR_SECRET>'

Installation:

Go-IMGUR-CLI requires Golang Runtime to run.

Assuming you have the correct path specified in your $GOPATH.

Clone the repo: git@github.com:whaangbuu/go-imgur-cli.git

$ cd go-imgur-cli
$ go install
$ go-imgur-cli <file/to/upload>

NOTE: By running go install, our app is now a global command that you can access anywhere in your workspace.

Todos:

  • Create a more reusable uploader struct.
  • Add a loader when uploading.
  • Write test

License

MIT

You can’t perform that action at this time.