bitful-typora-upload-tools -u "BitfulUrl"
- dev build
git clone https://github.com/XRSec/bitful-typora-upload-tools.git
cd bitful-typora-upload-tools
# Edit BitfulUrl in bitful-typora-upload-tools.go
CGO_ENABLED=0 go build -o bitful-typora-upload-tools
# mv bitful-typora-upload-tools /usr/local/bin
# cd .. && rm -rf bitful-typora-upload-tools
- Open Typora and set
Tools
->Preference
->Image
->Upload Image
->Custom Command
->/home/xxx/bitful-typora-upload-tools
bitful-typora-upload-tools -u "BitfulUrl"
bitful-typora-upload-tools -c "20220903" https://example.com/20220903.jpg
bitful-typora-upload-tools.go > UploadFile > fmt.Println(result.Data.Url) ==> fmt.Println(result.Data.OUrl)
or delete ?w=1280&fmt=jpg
- file
- url
- [?] ftp/smb/afs
- cli