Skip to content

a plugin of Typora to make using external images much more convenient(图片拖进typora,自动上传至七牛云,并替换地址为cdn url)

License

Notifications You must be signed in to change notification settings

lwabish/typora-qiniu-uploader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

typora-qiniu-uploader

English

功能简介

  • 基本功能:将图片等文件上传到七牛云,并返回访问链接
  • 进阶功能:在typora 编辑器中无缝调用,自动将markdown中的本地图片转为七牛云中的图片
  • 演示

使用方法

  1. 在release中下载编译好的二进制文件,直接运行一次
  2. 首次运行会提示无配置文件,并自动将配置模板写入$HOME/.config/typora-qiniu-uploader/config.json
  3. 编辑配置文件,示例如下
        {
         "access_key": "登陆七牛后,从密钥管理获取",
         "secret_key": "登陆七牛后,从密钥管理获取",
         "Bucket": "存储空间名称",
         "use_https": true,
         "use_cdn_domains": true,
         "domain": "空间绑定的域名,形如https://xxxx.com.cn",
         "sub_dir": "空间里的目录:如typora"
         }
  4. 配置typora:偏好设置-图像
  5. 日志路径:$HOME/.config/typora-qiniu-uploader/tqu.log

编译

make install

参考&致谢

qiniuyun_upload_tools

About

a plugin of Typora to make using external images much more convenient(图片拖进typora,自动上传至七牛云,并替换地址为cdn url)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published