V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
verfasor
V2EX  ›  OpenAI

ChatGPT wrapper inside a static site (vanilla JS)

  •  
  •   verfasor · Mar 30, 2023 · 1937 views
    This topic created in 1125 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   ·   5010 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 09:50 · PVG 17:50 · LAX 02:50 · JFK 05:50
    ♥ Do have faith in what you're doing.