Skip to content

Add Firecrawl integration for website content crawling #1849

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

devin-ai-integration[bot]
Copy link
Contributor

Add Firecrawl Integration for Website Content Crawling

This PR implements the Firecrawl integration from PR #13 in the onlook-dev/desktop repository. It adds website content crawling functionality as a toolcall, allowing the AI to extract and process URLs from user messages.

Changes

  • Added @mendable/firecrawl-js dependency to packages/ai
  • Created CrawlerService in packages/ai/src/tools/crawler.ts for handling URL crawling
  • Added URL extraction functionality in packages/ai/src/tools/helpers.ts
  • Added crawlUrlTool to the chat tool set in packages/ai/src/tools/index.ts
  • Added LINK message context type to packages/models/src/chat/message/context.ts
  • Updated chat API route to process URLs in user messages
  • Added Firecrawl API key to .env.example

Testing

The implementation has been adapted to work with the web-based architecture of the onlook repository while maintaining the same functionality as the original PR.

Link to Devin run

https://app.devin.ai/sessions/cba4dafb7aba4c2b889b737e91803bf4

Requested by

[email protected]

Copy link

vercel bot commented May 16, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 16, 2025 5:34am
web ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 16, 2025 5:34am

Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Copy link
Contributor Author

Closing due to inactivity for more than 7 days.

@Kitenite Kitenite reopened this May 24, 2025
Copy link

supabase bot commented May 24, 2025

This pull request has been ignored for the connected project wowaemfasoptxrdjhilu because there are no changes detected in apps/backend/supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant