Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
91 changes: 66 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,48 +1,89 @@
# Website-to-Chatbot
# 💬 Website-to-Chatbot

ChatGPT for every website
Turn **any website** into a **smart chatbot** using ChatGPT – in less than 40 lines of code!

Instantly answer your visitors' questions with a personalized chatbot trained on your website content.
Let your chatbot instantly answer your visitors questions using your own website content.

### Tutorial -> https://www.youtube.com/watch?v=ZSfdZVvZ99Q
🔗 **Video Tutorial**: [Watch on YouTube](https://www.youtube.com/watch?v=ZSfdZVvZ99Q)

Create app like [SiteGPT](https://www.thesamur.ai/sitegpt-alternative) , [Chatbase](https://www.thesamur.ai/chatbase-alternative) , [Dante AI](https://www.thesamur.ai/danteai-alternative) , [Botsonic](https://www.thesamur.ai/botsonic-alternatives) , [CustomGPT](https://www.thesamur.ai/customgpt-alternative) , [Botpress](https://www.thesamur.ai/botpress-alternative) , [Chatbot AI](https://www.thesamur.ai/botpress-alternative) in less than 40 lines of code
---

https://github.com/Anil-matcha/Chatbase/assets/4326215/ef4a9654-dc72-41bb-8644-68454b3a3e33
## 🛠 Create Your Own Chatbot (Like These!)

### Getting Started
You can build apps similar to:

Code is up, ⭐ (Star) the repo to receive updates
* [SiteGPT](https://www.thesamur.ai/sitegpt-alternative)
* [Chatbase](https://www.thesamur.ai/chatbase-alternative)
* [Dante AI](https://www.thesamur.ai/danteai-alternative)
* [Botsonic](https://www.thesamur.ai/botsonic-alternatives)
* [CustomGPT](https://www.thesamur.ai/customgpt-alternative)
* [Botpress](https://www.thesamur.ai/botpress-alternative)
* [Chatbot AI](https://www.thesamur.ai/botpress-alternative)

Replit and streamlit version coming soon
👇 Here's what it looks like:
![Chatbot Demo](https://github.com/Anil-matcha/Chatbase/assets/4326215/ef4a9654-dc72-41bb-8644-68454b3a3e33)

Follow [Anil Chandra Naidu Matcha](https://twitter.com/matchaman11) on twitter for updates
---

Subscribe to https://www.youtube.com/@AnilChandraNaiduMatcha for more such video tutorials
## 🚀 Getting Started

### How to run ?
**1. Clone this repo and give it a star ⭐** to stay updated!

1. Create a virtual environment in python https://docs.python.org/3/library/venv.html
**2. Requirements:**

2. Run "pip install -r requirements.txt"
* Python installed (3.7+ recommended)
* An OpenAI API Key

3. Set OPENAI_API_KEY environment variable with your openai key
**3. Steps to run:**

4. Run "python main.py"
```bash
# Step 1: Create a virtual environment
python -m venv env
source env/bin/activate # On Windows: env\Scripts\activate

5. Change url and query in code if you want to try with any other content
# Step 2: Install required libraries
pip install -r requirements.txt

To run streamlit app, follow the steps run "streamlit run streamlitui.py"
# Step 3: Set your OpenAI API key
export OPENAI_API_KEY=your_openai_api_key_here # On Windows: set OPENAI_API_KEY=your_key

### Demo link
# Step 4: Run the chatbot
python main.py
```

https://heybot.thesamur.ai/
**Optional:**
To run the **Streamlit UI version**, use:

### Also check
[Chat with PDF code](https://github.com/Anil-matcha/ChatPDF)
```bash
streamlit run streamlitui.py
```

[Chat with CSV code](https://github.com/Anil-matcha/Chat-With-Excel)
---

[Chat with Youtube code](https://github.com/Anil-matcha/Chat-Youtube)
## 🌐 Customize It

[ChatGPT in Discord code](https://github.com/Anil-matcha/DiscordGPT)
Want to use your own website content?
👉 Just **change the URL and query** in the code (in `main.py`).

---

## 🔗 Live Demo

Try the chatbot live here:
**[https://heybot.thesamur.ai/](https://heybot.thesamur.ai/)**

---

## 📚 More Projects You’ll Love

* 🤖 [Chat with PDF](https://github.com/Anil-matcha/ChatPDF)
* 📊 [Chat with Excel/CSV](https://github.com/Anil-matcha/Chat-With-Excel)
* 📺 [Chat with YouTube](https://github.com/Anil-matcha/Chat-Youtube)
* 💬 [ChatGPT in Discord](https://github.com/Anil-matcha/DiscordGPT)

---

## 📢 Stay Updated

* 🐦 Follow [Anil Chandra Naidu Matcha on Twitter](https://twitter.com/matchaman11)
* 📺 Subscribe for tutorials: [YouTube Channel](https://www.youtube.com/@AnilChandraNaiduMatcha)