mirror of
https://github.com/SillyTavern/Extension-WebSearch.git
synced 2026-10-15 13:31:52 +00:00
[PR #13] Add Firecrawl search source #13
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
SillyTavern/Extension-WebSearch#13
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/SillyTavern/Extension-WebSearch/pull/13
Author: @JuampiHernandez
Created: 9/24/2026
Status: 🔄 Open
Base:
main← Head:feat/websearch-firecrawl📝 Commits (1)
550d7a9Add Firecrawl search source📊 Changes
3 files changed (+75 additions, -1 deletions)
View changed files
📝
README.md(+14 -1)📝
index.js(+49 -0)📝
settings.html(+12 -0)📄 Description
Hey, I'm Juampi from the Firecrawl team. Following up on SillyTavern/SillyTavern#6072.
This adds Firecrawl as a search source. It needs SillyTavern/SillyTavern#6073, which adds the
/api/search/firecrawlendpoint andSECRET_KEYS.FIRECRAWL, so please merge this one after that lands in staging. On a build without it, Firecrawl still shows in the list, but the key isn't stored and searches just come back empty.What changed, following the other keyed sources:
index.jsaddsFIRECRAWLtoWEBSEARCH_SOURCES, the missing key check, the settings toggle, the key button and adoFirecrawlQuerythat readsdata.data.weband pushestitle+descriptionas text andurlas links. On a failed request it returns empty arrays, so a bad key doesn't make/websearchthrow.settings.htmladds the Firecrawl option and a key block with the same markup as the other key blocks, linking to the Firecrawl API keys page.README.mdadds Firecrawl to the sources list and to the "what can be included" list. I also changed the Z.AI heading from##to###so both sit under "Available sources".How I tested it, on SillyTavern staging at bc81b9f7e with SillyTavern/SillyTavern#6073 applied:
/websearch snippets=onand/websearch links=onboth work, and Visit Links scraped the returned URLs./websearchreturns empty instead of an error.index.js.No other source is touched. Happy to change anything.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.