https://github.com/prdpx7/postimg
:rocket: upload images on imgur from cli
https://github.com/prdpx7/postimg
cli-app imgur python-script
Last synced: 10 months ago
JSON representation
:rocket: upload images on imgur from cli
- Host: GitHub
- URL: https://github.com/prdpx7/postimg
- Owner: prdpx7
- License: mit
- Created: 2017-01-21T21:11:32.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2020-12-21T16:25:12.000Z (about 5 years ago)
- Last Synced: 2025-04-16T18:18:36.682Z (11 months ago)
- Topics: cli-app, imgur, python-script
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# postimg
:rocket: upload images on imgur & share instantly.(link will be copied to clipboard automatically)

[](https://raw.githubusercontent.com/prdpx7/postimg/master/LICENSE)
[](https://badge.fury.io/py/postimg)
## IMGUR API
[Get](https://api.imgur.com/oauth2) IMGUR_CLIENT_ID and save it as an environment variable.(although default is hardcoded)
```
export IMGUR_CLIENT_ID='xxxxxx'
```
## Installation
```
pip install postimg
```
## Usage
```
$ postimg --help
usage: postimg [-h] [--github] [--html] [--reddit] img_path
Post/upload image on imgur.com
positional arguments:
img_path image path of file
optional arguments:
-h, --help show this help message and exit
--github Github markdown code of imgur url
--html html
code of imgur url
--reddit reddit markdown code of imgur url
-q, --quiet print only img url without verbose output
link will automatically copied to clipboard
```
## Demo
