{"id":18710711,"url":"https://github.com/apify/chat-with-a-website","last_synced_at":"2025-11-03T16:31:02.097Z","repository":{"id":212599360,"uuid":"679718195","full_name":"apify/chat-with-a-website","owner":"apify","description":"A simple app that lets you chat with a given website.","archived":false,"fork":false,"pushed_at":"2023-12-15T05:20:04.000Z","size":5,"stargazers_count":9,"open_issues_count":2,"forks_count":5,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-12-24T22:36:36.601Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/apify.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-08-17T13:13:35.000Z","updated_at":"2024-06-07T14:32:03.000Z","dependencies_parsed_at":"2023-12-15T06:47:39.666Z","dependency_job_id":null,"html_url":"https://github.com/apify/chat-with-a-website","commit_stats":null,"previous_names":["apify/chat-with-a-website"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apify%2Fchat-with-a-website","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apify%2Fchat-with-a-website/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apify%2Fchat-with-a-website/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apify%2Fchat-with-a-website/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apify","download_url":"https://codeload.github.com/apify/chat-with-a-website/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231600658,"owners_count":18398550,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T12:35:25.666Z","updated_at":"2025-11-03T16:31:02.052Z","avatar_url":"https://github.com/apify.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chat with a website\n\nChat with a website using Apify and ChatGPT.\n\n## Setup\n\nBefore getting started, be sure to sign up for an [Apify](https://console.apify.com/sign-up) and [OpenAI](https://openai.com/) account and create API keys.\n\nTo set up and run this project, follow these steps:\n\n1. Install the required packages with `pip`:\n   ```\n   pip install -r requirements.txt\n   ```\n2. Rename the `.env.example` file to `.env` and replace the variables. Here's an explanation of the variables in the .env file:\n\n`OPENAI_API_KEY`: Your OpenAI API key. You can obtain it from your OpenAI account dashboard.  \n`APIFY_API_TOKEN`: Your Apify API token. You can obtain it from [Apify settings](https://console.apify.com/account/integrations).  \n`WEBSITE_URL`: The full URL of the website you'd like to chat with.  \n\n3. Run the `scrape.py` script to scrape the website's data using Apify's [Website content crawler](https://apify.com/apify/website-content-crawler).\n4. Run the Streamlit chat app, which should default to `http://localhost:8501` and allow you to chat with the website:\n   ```\n   streamlit run chat.py\n   ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapify%2Fchat-with-a-website","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapify%2Fchat-with-a-website","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapify%2Fchat-with-a-website/lists"}