verfasor
V2EX  ›  OpenAI

ChatGPT wrapper inside a static site (vanilla JS)

  •  
  •   verfasor · Mar 30, 2023 · 2179 views
    This topic created in 1208 days ago, the information mentioned may be changed or developed.

    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 replies    2023-03-30 14:08:14 +08:00
    vsitebon
        1
    vsitebon  
       Mar 30, 2023
    Interesting, thanks for sharing.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5678 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 47ms · UTC 07:40 · PVG 15:40 · LAX 00:40 · JFK 03:40
    ♥ Do have faith in what you're doing.