banner
endercat

endercat

某个白嫖怪的分享博客 现已迁移到 https://endercat.eu.org 请前往该URL查看最新文章
bilibili
github
telegram

Chat with ChatGPT on xLog

ChatGPT is one of the popular chatbots. Did you know that you can embed ChatGPT for free in your own blog, allowing your readers to interact directly with ChatGPT? This article will introduce how to embed ChatGPT on your blog, adding intelligence and fun to your blog.

Prerequisites#

A VPN is required (for both deployment and usage).

Method#

  1. Go to ora.sh

    • Register according to the instructions
    • Create a new bot on the create page
      Image
    • Obtain the HTML code for embedding
      Image
      Image
      Image
      Image
  2. Create a new page

    • Go to the backend
    • Create a new page on the "Pages" page
      Image
  • Fill in the desired title
  • Paste the HTML code obtained in the first step
    Image
  • Preview (optional)
  • Publish
  1. Go to the navigation page in settings
  • Image
  • Create a project and fill in the required information
    Image
    Note that there is a "/" before the page title
  • Save

Now you should be able to have a conversation with ChatGPT by clicking on the button in the navigation bar. You can also place the HTML code in an article or any other place that can load HTML. Currently, there don't seem to be any restrictions other than the need for a VPN.

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.