V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
爱意满满的作品展示区。
pluvet

命令行上传工具 Upgit 现已支持十余种图床

  •  1
     
  •   pluvet ·
    pluveto · Feb 8, 2022 · 2776 views
    This topic created in 1544 days ago, the information mentioned may be changed or developed.

    Upgit 是一个轻量级的开源文件上传工具,支持与 Typora 、Obsidian 、VSCode 等搭配使用。

    之前制作的工具 https://v2ex.com/t/831193 广受好评。现在 v0.2 发布,支持自定义上传。

    上传插件可通过 upgit ext add xxxx.jsonc 方式安装。并且可以自由扩展。

    现在支持的存储方式:

    • Github (内置)
    • Gitee
    • Tecent QcloudCOS (内置)
    • Qiniu Kodo
    • Upyun (内置)
    • Hello
    • Niupic
    • SM.MS
    • Imgur
    • ImgUrl.org
    • CatBox
    • LSkyPro
    • Chevereto
    • ImgBB

    下载或了解更多: https://github.com/pluveto/upgit

    即便增加扩展插件,我们也没有引入新的依赖。比如腾讯 COS ,通过手动签名+调单个 API 完成,而非引入整个 SDK 。工具大小适中保持在 5 MiB 左右,随用随开,不常驻内存。

    7 replies    2022-10-24 23:10:56 +08:00
    advancejar
        1
    advancejar  
       Feb 8, 2022
    gitee 怎么配置?
    xiaoz
        2
    xiaoz  
       Feb 8, 2022
    感谢分享,支持的图床挺多的。
    GoodRui
        3
    GoodRui  
       Feb 8, 2022 via iPhone
    同问,OP 不要嫌弃,我是小白,但是用 obsidian 记了很多笔记,但是碍于 markdown 这种东西貌似处理图片都不是很方便,一直没有很好的方案。如果想把 gitee 当图床來使,怎么配置呢?
    pluvet
        4
    pluvet  
    OP
       Feb 8, 2022
    @GoodRui 可以看下我写的配置文件示例,最后一段便是
    https://github.com/pluveto/upgit/blob/main/config.sample.zh-CN.toml
    mlhadoop
        5
    mlhadoop  
       Feb 9, 2022
    支持下 cloudinary ?
    pluvet
        6
    pluvet  
    OP
       Feb 9, 2022   ❤️ 1
    @mlhadoop 试一下,照着某 js 例子写了一个
    PowerDi
        7
    PowerDi  
       Oct 24, 2022
    嗨 请问 obsidian 应该如何使用呢
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2539 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 08:41 · PVG 16:41 · LAX 01:41 · JFK 04:41
    ♥ Do have faith in what you're doing.