https://github.com/raeperd/typora-image-uploader
Typora ImgBB uploader using python3 requests
https://github.com/raeperd/typora-image-uploader
python typora
Last synced: about 1 month ago
JSON representation
Typora ImgBB uploader using python3 requests
- Host: GitHub
- URL: https://github.com/raeperd/typora-image-uploader
- Owner: raeperd
- Created: 2021-06-15T12:51:18.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-23T10:01:46.000Z (almost 5 years ago)
- Last Synced: 2025-01-12T15:10:22.849Z (over 1 year ago)
- Topics: python, typora
- Language: Python
- Homepage:
- Size: 29.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Typora Image uploader
Typora [ImgBB](https://api.imgbb.com/) uploader using [python3 requests](https://docs.python-requests.org/en/master/)
## Motivation
[Typora | Upload Image - Custom](https://support.typora.io/Upload-Image/#custom)
## Getting started
### Requirements
- python3
- ImgBB API KEY
- You can get this in [ImgBB API Reference](https://api.imgbb.com/)
- **Set your API KEY value in variable `API_KEY` in main.py script**
### Usage
1. Download main.py in this repositories root, or clone it
```shell script
$ git clone https://github.com/raeperd/typora-image-uploader.git
```
2. **Change `API_KEY` variable in main.py to your imgbb API KEY**
3. Open typora, File > Settings > Image
4. Configure When Insert.. to `Upload image`
5. Configure Image Upload Settings as follow (With your repository path)
- Image uploader => `Custom Command`
- Command => Specify python script path
- For Example
- On windows, `python3 C:\github\typora-iamge-uploader/main.py`
- On unix like systems, `python3 /home/your_user_name/main.py`
6. And click Test Uploader to verify your settings