Skip to content

Releases: XRSec/bitiful-typora-upload-cli

0.0.83

16 Jan 16:38
Compare
Choose a tag to compare

Bitiful Typora Upload CLI

show1

show2

Install & Use

  1. Release Download
bitiful # require config file
bitiful "/example/example.png"
bitiful "https://example.com/example.png"

or dev build

git clone https://github.com/XRSec/bitiful-typora-upload-cli.git
cd bitiful-typora-upload-cli
# Edit bitifulUrl in bitiful-typora-upload-cli.go
CGO_ENABLED=0 go build -o bitiful
# mv bitiful /usr/local/bin
# cd .. && rm -rf bitiful-typora-upload-cli
  1. Open Typora and set cli -> Preference -> Image -> Upload Image -> Custom Command -> /home/xxx/bitiful

Config

Endpoint: s3.bitiful.net
Region: cn-east-1
AccessKeyID: "xxxxxxxxxxx"
AccessKeySecret: "xxxxxxxxxxxxxxxx"
BucketName: "xxxxxxxxxx"
Path: "/xxxxxxxx/"

Cover image

bitiful -u -n "20220903" -f https://example.com/20220903.jpg
bitiful -u -f/Users/xxx/xxx.png -nTest.png

Doing

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

0.0.82

16 Jan 15:07
Compare
Choose a tag to compare

Bitiful Typora Upload CLI

show1

show2

Install & Use

  1. Release Download
bitiful # require config file
bitiful "/example/example.png"
bitiful "https://example.com/example.png"

or dev build

git clone https://github.com/XRSec/bitiful-typora-upload-cli.git
cd bitiful-typora-upload-cli
# Edit bitifulUrl in bitiful-typora-upload-cli.go
CGO_ENABLED=0 go build -o bitiful
# mv bitiful /usr/local/bin
# cd .. && rm -rf bitiful-typora-upload-cli
  1. Open Typora and set cli -> Preference -> Image -> Upload Image -> Custom Command -> /home/xxx/bitiful

Config

Endpoint: s3.bitiful.net
Region: cn-east-1
AccessKeyID: "xxxxxxxxxxx"
AccessKeySecret: "xxxxxxxxxxxxxxxx"
BucketName: "xxxxxxxxxx"
Path: "/xxxxxxxx/"

Cover image

bitiful -u -n "20220903" -f https://example.com/20220903.jpg
bitiful -u -f/Users/xxx/xxx.png -nTest.png

Doing

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

0.0.81

04 Jul 08:28
Compare
Choose a tag to compare

Bitiful Typora Upload CLI

show1

show2

Install & Use

  1. Release Download
bitiful # require config file
bitiful "/example/example.png"
bitiful "https://example.com/example.png"

or dev build

git clone https://github.com/XRSec/bitiful-typora-upload-cli.git
cd bitiful-typora-upload-cli
# Edit bitifulUrl in bitiful-typora-upload-cli.go
CGO_ENABLED=0 go build -o bitiful
# mv bitiful /usr/local/bin
# cd .. && rm -rf bitiful-typora-upload-cli
  1. Open Typora and set cli -> Preference -> Image -> Upload Image -> Custom Command -> /home/xxx/bitiful

Config

Endpoint: s3.bitiful.net
Region: cn-east-1
AccessKeyID: "xxxxxxxxxxx"
AccessKeySecret: "xxxxxxxxxxxxxxxx"
BucketName: "xxxxxxxxxx"
Path: "/xxxxxxxx/"

Cover image

bitiful -u -n "20220903" -f https://example.com/20220903.jpg
bitiful -u -f/Users/xxx/xxx.png -nTest.png

Doing

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

0.0.8

04 Jul 06:44
829dbba
Compare
Choose a tag to compare

Bitiful Typora Upload CLI

show1

show2

Install & Use

  1. Release Download
bitiful # require config file
bitiful "/example/example.png"
bitiful "https://example.com/example.png"

or dev build

git clone https://github.com/XRSec/bitiful-typora-upload-cli.git
cd bitiful-typora-upload-cli
# Edit bitifulUrl in bitiful-typora-upload-cli.go
CGO_ENABLED=0 go build -o bitiful
# mv bitiful /usr/local/bin
# cd .. && rm -rf bitiful-typora-upload-cli
  1. Open Typora and set cli -> Preference -> Image -> Upload Image -> Custom Command -> /home/xxx/bitiful

Config

Endpoint: s3.bitiful.net
Region: cn-east-1
AccessKeyID: "xxxxxxxxxxx"
AccessKeySecret: "xxxxxxxxxxxxxxxx"
BucketName: "xxxxxxxxxx"
Path: "/xxxxxxxx/"

Cover image

bitiful -u -n "20220903" -f https://example.com/20220903.jpg
bitiful -u -f/Users/xxx/xxx.png -nTest.png

Doing

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