https://github.com/keith/imgur-weechat
Upload to imgur in weechat
https://github.com/keith/imgur-weechat
imgur weechat
Last synced: 11 months ago
JSON representation
Upload to imgur in weechat
- Host: GitHub
- URL: https://github.com/keith/imgur-weechat
- Owner: keith
- License: mit
- Created: 2015-11-24T07:00:05.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-24T07:03:08.000Z (over 10 years ago)
- Last Synced: 2025-01-22T03:08:53.999Z (over 1 year ago)
- Topics: imgur, weechat
- Language: Python
- Homepage:
- Size: 1.95 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# imgur-weechat
This is a simple [weechat](https://weechat.org/) plugin that allows you
to upload images anonymously to [imgur](https://imgur.com/)
## Usage:
```
/imgur PATH_TO_FILE
```
## Configuration:
To use it you need to generate a client ID. You do that
[here](https://imgur.com/account/settings/apps).
```
# If you haven't already
/secure passphrase SECRET_PASSWORD
# Get this token here: https://imgur.com/account/settings/apps
/secure set imgur_token YOUR_TOKEN
/set plugins.var.python.imgur.client_id ${sec.data.imgur_token}
```
## Installation
Copy the script to `~/.weechat/python/autoload`
```sh
mkdir -p ~/.weechat/python/autoload
wget https://raw.githubusercontent.com/keith/imgur-weechat/master/imgur.py ~/.weechat/python/autoload
```