{"id":26165164,"url":"https://github.com/tobysolutions/plugin-firecrawl","last_synced_at":"2025-04-14T15:41:41.212Z","repository":{"id":278286257,"uuid":"934704638","full_name":"tobySolutions/plugin-firecrawl","owner":"tobySolutions","description":"This is the plugin for the firecrawl service with Eliza. This plugin is capable of data scraping and web search.","archived":false,"fork":false,"pushed_at":"2025-02-18T09:20:52.000Z","size":20,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T08:53:31.951Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/tobySolutions.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-18T09:19:48.000Z","updated_at":"2025-04-01T04:21:25.000Z","dependencies_parsed_at":"2025-02-19T01:07:38.584Z","dependency_job_id":"31de06b0-393c-459e-aef0-930457070fad","html_url":"https://github.com/tobySolutions/plugin-firecrawl","commit_stats":null,"previous_names":["tobysolutions/plugin-firecrawl"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobySolutions%2Fplugin-firecrawl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobySolutions%2Fplugin-firecrawl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobySolutions%2Fplugin-firecrawl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobySolutions%2Fplugin-firecrawl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tobySolutions","download_url":"https://codeload.github.com/tobySolutions/plugin-firecrawl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248907927,"owners_count":21181433,"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":"2025-03-11T15:59:42.846Z","updated_at":"2025-04-14T15:41:41.190Z","avatar_url":"https://github.com/tobySolutions.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Firecrawl Plugin\n\nWe've created a service wrapper for the Firecrawl API that provides two main functionalities: web scraping and crawling. Here's a breakdown of how it works:\n\n## Core Features\n\n1. **Service Factory**\n   * Creates a service instance using an API key\n   * Returns an object with two methods: `getScrapeData` and `getCrawlData`\n\n2. **Web Scraping (`getScrapeData`)**\n   * Fetches and extracts content from a single webpage\n   * Returns structured data including page content and metadata\n   * Endpoint: `https://api.firecrawl.dev/v1/scrape`\n\n3. **Web Searching (`getSearchData`)**\n   * Searches for data based on conversations\n   * Endpoint: `https://api.firecrawl.dev/v1/search`\n\n## Configuration\n\nThe plugin requires minimal configuration. In your character file, simply add:\n\n```json\n{\n    \"FIRECRAWL_API_KEY\": \"your-api-key-here\"\n}\n```\n\n## Usage Examples\n\n### Web Scraping\n\nThe plugin recognizes various ways users might request web scraping:\n\n```typescript\n// Single URL request\n\"Can you scrape the content from https://example.com?\"\n\"Get the data from www.example.com/page\"\n\n// Two-step interaction\nUser: \"I need to scrape some website data.\"\nAgent: \"I can help you scrape website data. Please share the URL you'd like me to process.\"\nUser: \"example.com/products\"\n```\n\n### Web Search\n\nThe plugin handles different crawling request patterns:\n\n```typescript\n// Direct search\n\"Find the latest news about SpaceX launches\"\n\"Can you find details about the iPhone 16 release?\"\n```\n\n## Response Handling\n\nThe plugin automatically:\n- Validates URLs before processing\n- Handles both direct and conversational requests\n- Provides appropriate feedback during the scraping/crawling process\n- Returns structured data from the target website\n\n## Error Handling\n\nThe plugin includes built-in error handling for common scenarios:\n- Invalid or missing URLs\n- API authentication issues\n- Network failures\n- Malformed responses\n\n## Actions\n\nThe plugin provides two main actions:\n- `FIRECRAWL_GET_SCRAPED_DATA`: For single-page content extraction\n- `WEB_SEARCH`: Web search for any data\n\n## Security\n\n- API keys should be kept secure and never shared\n- All requests are made over HTTPS\n- Input validation is performed on all URLs before processing\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftobysolutions%2Fplugin-firecrawl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftobysolutions%2Fplugin-firecrawl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftobysolutions%2Fplugin-firecrawl/lists"}