Giter Site home page Giter Site logo

sprifi / gpt-for-web Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 17 KB

Create your own GPT-powered AI chat app UI for your website with pure HTML, CSS, JS. Made with ❤️ @SpriFi Inc.

License: Other

HTML 31.57% JavaScript 45.09% CSS 23.34%
gpt-for-web chatgpt gpt-3 gpt-4 gpt-for-website free-gpt

gpt-for-web's Introduction

GPT-for-Web

Create your own GPT-powered AI chat app UI for your website with pure HTML, CSS, JS.

Steps

METHOD 1

  1. Fork this repository.

  2. You need to get your own OpenAI API key.** FREE options 👇**

    If you want to get free APIs, check this GitHub Repo: https://github.com/xtekky/gpt4free

    Example: If you acquired your free API key from https://discord.pawan.krd , then change the following lines of code:

    In chatbot.js, line 58: (apiURL) https://api.pawan.krd/v1/chat/completions

    In chatbot.js, line 61: (apiKEY) pk-**************************** [the one you got from their discord]

    In chatbot.js, line 65: (model) pai-001-light

    If you are using the official OpenAI API key from openai.com, you need not change any part of the code. Just replace your API key in line 61 and deploy.

  3. Deploy on Vercel, Railway, HuggingFace. Deploy with Vercel

METHOD 2

  1. Directly copy paste the HTML, CSS and JS files to your website.

CREDITS

You must include "Made With Sprifi" text, linking to "https://sprifi.weebly.com" just under the chatbot UI as credits.🙏

Made with ❤️ by @SpriFi Inc.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.