Skip to content

Commit

Permalink
Add hosting: imagebin (#33)
Browse files Browse the repository at this point in the history
* lock

* Add `imagebin`

* Bump version
  • Loading branch information
DeadNews authored Oct 8, 2022
1 parent b57dae3 commit 56b47ea
Show file tree
Hide file tree
Showing 5 changed files with 156 additions and 146 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ repos:
- pep8-naming

- repo: https://github.com/asottile/pyupgrade
rev: v2.38.0
rev: v3.0.0
hooks:
- id: pyupgrade
args: [--py38-plus]
Expand All @@ -50,12 +50,12 @@ repos:
- id: isort

- repo: https://github.com/psf/black
rev: 22.8.0
rev: 22.10.0
hooks:
- id: black

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.971
rev: v0.982
hooks:
- id: mypy
additional_dependencies:
Expand All @@ -76,7 +76,7 @@ repos:
- bandit[toml] # python_version < "3.11"

- repo: https://github.com/python-poetry/poetry
rev: 1.2.0rc1
rev: 7cd761a6a0bdec7fab76cf742ee4109db854ab76 # frozen: 1.2.1
hooks:
- id: poetry-check
- id: poetry-lock
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ yay -S python-images-upload-cli
| [freeimage](https://freeimage.host/) | - | `https://iili.io/{id}.png` |
| [gyazo](https://gyazo.com/) | + | `https://i.gyazo.com/{id}.png` |
| [imageban](https://imageban.ru/) | + | `https://i2.imageban.ru/out/2022/07/30/{id}.png` |
| [imagebin](https://imagebin.ca/) | - | `https://ibin.co/{id}.png` |
| [imgbb](https://imgbb.com/) | + | `https://i.ibb.co/{id}/image.png` |
| [imgchest](https://imgchest.com/) | + | `https://cdn.imgchest.com/files/{id}.png` |
| [imgur](https://imgur.com/) | - | `https://i.imgur.com/{id}.png` |
Expand All @@ -59,7 +60,7 @@ Usage: images-upload-cli [OPTIONS] IMAGES...
Upload images via APIs.

Options:
-h, --hosting [catbox|fastpic|filecoffee|freeimage|gyazo|imageban|imgbb|imgchest|imgur|pictshare|pixeldrain|pixhost|ptpimg|screenshotting|smms|sxcu|telegraph|thumbsnap|up2sha|uplio|uploadcare|vgy]
-h, --hosting [catbox|fastpic|filecoffee|freeimage|gyazo|imageban|imagebin|imgbb|imgchest|imgur|pictshare|pixeldrain|pixhost|ptpimg|screenshotting|smms|sxcu|telegraph|thumbsnap|up2sha|uplio|uploadcare|vgy]
[default: imgur]
-b, --bbcode Add bbcode tags.
-t, --thumbnail Add caption thumbnail and bbcode tags.
Expand Down
Loading

0 comments on commit 56b47ea

Please sign in to comment.