https://github.com/kom-senapati/talk-to-page
🌐 Chat with any URL, anytime! 💬
https://github.com/kom-senapati/talk-to-page
coagents copilotkit groq langchain langgraph nextjs
Last synced: 6 months ago
JSON representation
🌐 Chat with any URL, anytime! 💬
- Host: GitHub
- URL: https://github.com/kom-senapati/talk-to-page
- Owner: kom-senapati
- License: unlicense
- Created: 2024-12-28T06:42:25.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-01-06T11:42:39.000Z (9 months ago)
- Last Synced: 2025-02-20T01:42:14.679Z (8 months ago)
- Topics: coagents, copilotkit, groq, langchain, langgraph, nextjs
- Language: TypeScript
- Homepage:
- Size: 404 KB
- Stars: 16
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

![]()
### ⭐ About
- Open-source web app for chatting with web pages.
- Built with Next.js, CopilotKit.
- Uses a self-RAG LangGraph agent to interact with URLs.
- Simplifies web content extraction and conversation.| Demo Video | Blog Post |
|----------------------------------------------------------------------------|--------------------------------------------------------------------------|
| [](https://www.youtube.com/watch?v=O0Y2WEqkros) | [](https://dev.to/komsenapati/building-talk-to-page-chat-or-talk-with-any-website-g0h) |### :hammer_and_wrench: Tech Stack
![]()
![]()
![]()
![]()
![]()
![]()
### :outbox_tray: Set up
#### **Setting Up the Agent and UI**
##### **1. Get an API Key**
- Obtain a **GROQ_API_KEY**.##### **2. Clone the Repository**
- Clone the repository to your local machine:
```sh
git clone https://github.com/kom-senapati/talk-to-page.git
```##### **3. Set Up the Agent**
- Navigate to the agent directory:
```sh
cd agent
```
- Install dependencies using Poetry:
```sh
poetry install
```
- Create a `.env` file inside the `./agent` directory with your **GROQ_API_KEY**:
```
GROQ_API_KEY=YOUR_API_KEY_HERE
```
- Run the agent demo:
```sh
poetry run demo
```##### **4. Set Up the UI**
- Navigate to the UI directory:
```sh
cd ./ui
```
- Install dependencies using Bun:
```sh
bun i
```
- Create a `.env` file inside the `./ui` directory with your **GROQ_API_KEY**:
```
GROQ_API_KEY=YOUR_API_KEY_HERE
```
- Run the Next.js project:
```sh
bun dev
```#### **Troubleshooting**
1. Ensure no other local application is running on port **8000**.
2. In the file `/agent/rag_agent/demo.py`, change the address from `0.0.0.0` to `127.0.0.1` or `localhost` if needed.### :email: Contact
Hi, I'm K Om Senapati! 👋
Connect with me on [LinkedIn](https://www.linkedin.com/in/kom-senapati/), [X](https://x.com/kom_senapati) and check out my other projects on [GitHub](https://github.com/kom-senapati).