Replies: 1 comment 8 replies
-
It's a fun angle, and potentially has something to it, but as it exists now it would need some work to run via Node. The Definitely non-trivial to add overall, so it isn't something that would come soon from my end. But it's a fun area to discuss so we can keep this convo open — if anyone reading that wants to tackle it, or has any great ideas for making it less work to tackle, jump in! Keen to hear more 🙂 |
Beta Was this translation helpful? Give feedback.
-
It would be interesting to be able to run a search server-side. I know that's not the goal of this project, so this is probably an edge case.
For me, I would like other applications to be able to programmatically invoke my search engine and integrate the results into their own UI (for federated search across multiple sites).
I know one way would be to use a headless browser. I might PoC that, but it doesn't seem like it would be efficient.
I tried importing
pagefind.js
in a Node script (see below), and got an errorSyntaxError: Cannot use 'import.meta' outside a module
.Beta Was this translation helpful? Give feedback.
All reactions