Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/phospho-app/url2chat
https://github.com/phospho-app/url2chat
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/phospho-app/url2chat
- Owner: phospho-app
- License: mit
- Created: 2024-03-05T01:58:00.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-05-20T16:00:49.000Z (8 months ago)
- Last Synced: 2024-05-21T17:15:22.111Z (8 months ago)
- Language: Python
- Homepage: https://url2chat.streamlit.app
- Size: 53.7 KB
- Stars: 0
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# url2chat: chat with any website
## Hosted version
[Try this app here!](https://url2chat.streamlit.app).
## Requirements
To run this app you need to have:
- an [OpenAI](https://platform.openai.com/api-keys) API key
- an [Exa](https://exa.ai) API key (there is a free tier available)
- a [Google API key](https://cloud.google.com/docs/authentication/api-keys) with authorization for `Custom Search API` and a [Google custom search engine](http://www.google.com/cse/). [Read more.](https://stackoverflow.com/questions/37083058/%20programmatically-searching-google-in-python-using-custom-search)
- (optional) a [Phospho](https://phospho.ai) API key and project id## Installation
Set up a virtual environment and install the requirements:
```bash
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
```Setup the streamlit secrets int the `.streamlit/secrets.toml` file:
```toml
EXA_API_KEY=""
OPENAI_API_KEY=""
GOOGLE_API_KEY=""
GOOGLE_CSE_ID=""
```(Optional) Add your phospho api key and project id to get text analytics:
```toml
PHOSPHO_API_KEY=""
PHOSPHO_PROJECT_ID=""
```## Usage
```bash
streamlit run main.py
```This will open a new tab in your default browser with the app running.