give step by step commands needed to install this / Skip to content BuilderIO /…
- User
give step by step commands needed to install this / Skip to content BuilderIO / gpt-crawler
Type / to search
Code Issues 28 Pull requests 10 Actions Projects Security Insights Owner avatar gpt-crawler Public BuilderIO/gpt-crawler 2 branches 1 tag Latest commit @steve8708 steve8708 Merge pull request #67 from Daethyra/main … 82b70f2 13 hours ago Git stats 97 commits Files Type Name Latest commit message Commit time .github/workflows chore: add build step to build workflow 5 days ago containerapp modified config.ts to fix containerized execution 5 days ago src Update configSchema in src/config.ts 4 days ago .dockerignore modified: .dockerignore yesterday .gitignore Merge pull request #58 from luissuil/main 14 hours ago .releaserc chore(ci): release workflow 5 days ago Dockerfile Continuing file reversion for sake of PR clarity yesterday License Create License 16 hours ago README.md Add resourceExclusions to Config type 5 days ago config.ts cleanup last week package-lock.json chore(release): 1.0.0 [skip ci] 14 hours ago package.json Merge pull request #67 from Daethyra/main 13 hours ago tsconfig.json build: use strict ts mode 5 days ago README.md GPT Crawler Crawl a site to generate knowledge files to create your own custom GPT from one or multiple URLs
Example Get started Running locally Clone the repository Install dependencies Configure the crawler Run your crawler Alternative methods Running in a container with Docker Running as a CLI Development Upload your data to OpenAI Create a custom GPT Create a custom assistant Contributing Example Here is a custom GPT that I quickly made to help answer questions about how to use and integrate Builder.io by simply providing the URL to the Builder docs.
This project crawled the docs and generated the file that I uploaded as the basis for the custom GPT.
Try it out yourself by asking questions about how to integrate Builder.io into a site.
Note that you may need a paid ChatGPT plan to access this feature
Get started Running locally Clone the repository Be sure you have Node.js >= 16 installed.
git clone https://github.com/builderio/gpt-crawler Install dependencies npm i Configure the crawler Open config.ts and edit the url and selectors properties to match your needs.
E.g. to crawl the Builder.io docs to make our custom GPT you can use:
export const defaultConfig: Config = { url: "https://www.builder.io/c/docs/developers", match: "https://www.builder.io/c/docs/**", selector:
.docs-builder-container, maxPagesToCrawl: 50, outputFileName: "output.json", }; See config.ts for all available options. Here is a sample of the common configu options: - Assistant
To install and run the gpt-crawler project from BuilderIO on your local machine, you will need to have Git and Node.js (version 16 or higher) installed. Here's a step-by-step guide:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.