FirecrawlのOSS版をself-hostingして使ってみたので、ご紹介します。
gh repo clone mendableai/firecrawl && cd firecrawl/
git checkout refs/tags/v1.0.0
.env
をセットアップcp apps/api/.env.example .env
10c10
< USE_DB_AUTHENTICATION=true
---
> USE_DB_AUTHENTICATION=false
docker compose up -d
以下のURLがそれぞれ開けることを確認しました。
curl -X POST http://localhost:3002/v1/crawl \
-H 'Content-Type: application/json' \
-d '{
"url": "https://docs.firecrawl.dev"
}'
curl -X POST http://localhost:3002/v1/scrape \
-H 'Content-Type: application/json' \
-d '{
"url": "https://docs.firecrawl.dev"
}'
以上、FirecrawlのOSS版をself-hostingして使ってみた、現場からお送りしました。