Skip to content

Ttatum87/bitful-typora-upload-tools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bitful Typora Upload Tools

Install & Use

  1. Release Download
bitful-typora-upload-tools -u "BitfulUrl"
  1. 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
  1. Open Typora and set Tools -> Preference -> Image -> Upload Image -> Custom Command -> /home/xxx/bitful-typora-upload-tools

Generating configuration files

bitful-typora-upload-tools -u "BitfulUrl"

Cover image

bitful-typora-upload-tools -c "20220903" https://example.com/20220903.jpg

High-definition pictures

bitful-typora-upload-tools.go > UploadFile > fmt.Println(result.Data.Url) ==> fmt.Println(result.Data.OUrl)

or delete ?w=1280&fmt=jpg

Doing

  • file
  • url
  • [?] ftp/smb/afs

Todo

  • cli

About

Bitful Typora Upload Tools

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%