A simple desktop tool for image inserting while writing markdown files.
When triggerd, this little application grab the image in clipboard, upload it to seafile server, get the share link, and format the url with pre-defined(custimizable) format string, and copy it to clipboard or replace the trigger keyword you just inputed in markdown file.
And it also provides the Local Work Mode which allows you to insert images without internet, and it also provide the function that help migrate all images in a markdown file, to another directory on your system or some other seafile server!
- Python 3.6.8
- PyQt5 5.13.0
- requests 2.22.0
- pyperclip 1.7.0
- keyboard 0.13.3
- pillow 6.1.0
- pyqt5-tools 5.13.0.1.5 ( For resource compile only, Not necessary)
- fbs 0.8.3 ( For deploy only, Not necessary )
- Make sure you've installed dependencies listed above. (Module versions' not restricted, excluding PyQt5 and Python itself)
- Create a Startup project with fbs, run command
fbs startproject
orpython -m fbs startproject
, answers a few question, and the fbs will generate the structured sample project for you under the working directory. - Clone the project to your system, extract the files into the sample project you've just created( Overwrite of course).
- Start your Python IDE to run
main.py
or use commandfbs run
(in the same path when you executes the create command) orpython -m fbs run
- Follow the Step1 up above.
- Clone the project to your system and extract all files into wherever you like.
- Start your Python IDE to run
img2url.py
.
- Completely custimizable paste format for image url
- Supports hot-key trigger and keyword trigger, both hot-key and key-word are custimizeable.
- Cute floating dektop tool notification on current state.
- Migrates images in makrdown files to another server or keep them local
- support insert images offline and resubmit them all to server later
- Grab image from clipboard only supports Windows/MacOS (for now)
- Has to authenticate the application on MacOS or won't be able to listen to keyboard event.(Run as administrator)
- Specials keys like @# or symbols in key word is not supported for now on MacOS.