V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
verfasor
V2EX  ›  OpenAI

ChatGPT wrapper inside a static site (vanilla JS)

  •  
  •   verfasor · 2023-03-30 13:59:48 +08:00 · 844 次点击
    这是一个创建于 391 天前的主题,其中的信息可能已经有所发展或是发生改变。

    Made an ultra minimal ChatGPT (gpt-turbo-3.5) wrapper for my static website generated in Jekyll. It was a nice little experiment. AI Output does support syntax highlighting and proper HTML formatting though. Feel free to copy the JS and CSS if you want.

    ChatGPT wrapper inside a static site

    1. Demo: https://mighil.com/chatgpt/
    2. JS: https://mighil.com/assets/js/open.js
    3. CSS: https://mighil.com/assets/css/open.css
    1 条回复    2023-03-30 14:08:14 +08:00
    vsitebon
        1
    vsitebon  
       2023-03-30 14:08:14 +08:00
    Interesting, thanks for sharing.
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3204 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 14:20 · PVG 22:20 · LAX 07:20 · JFK 10:20
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.