爱意满满的作品展示区。
ruoxie

分享过去一年我用 ChatGPT API 结合 vscode 插件写的生产力工具

  •  
  •   ruoxie ·
    wjkang · Jan 20, 2024 · 3035 views
    This topic created in 916 days ago, the information mentioned may be changed or developed.

    OCR + ChatGPT 翻译

    OCR 白嫖百度的,因为 nodejs 没法读取剪贴板里的图片,只能打开一个 webview 去读取。

    生成 value-label 格式 JSON

    使用了 TypeChat,如果 ChatGPT 返回的结果有问题,带上错误信息重试 3 次进行修复。

    中文翻译成驼峰格式

    当前目录翻译成英文

    快速创建代码模板

    还有一些比较复杂的功能就不一一展示了,每一个小功能我定义为物料,可以自定义代码逻辑,独立在 vscode 插件外部,相当于 vscode 插件套娃。

    插件源码: https://github.com/lowcoding/lowcode-vscode

    展示的物料源码: https://github.com/lowcode-scaffold/lowcode-materials

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2672 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 15:01 · PVG 23:01 · LAX 08:01 · JFK 11:01
    ♥ Do have faith in what you're doing.