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 · 1112 次点击
    这是一个创建于 600 天前的主题,其中的信息可能已经有所发展或是发生改变。

    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   ·   实用小工具   ·   5430 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 03:42 · PVG 11:42 · LAX 19:42 · JFK 22:42
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.