Commit graph

417 commits

Author SHA1 Message Date
ThatGuySam
a1ae595717 fix(search): prevent pagefind filter hangs
Resolve the Pagefind browser loader in Vite dev and cap filter-only
result hydration so broad filters render promptly instead of stalling
behind thousands of fragment fetches.
2026-03-15 19:25:07 -05:00
ThatGuySam
e1da6eb880 feat(search): add pagefind provider support
Add Pagefind indexing and browser search adapters behind a provider switch.

This lets prebuild generate either Stork or Pagefind search artifacts and lets the existing search UI run against Pagefind while preserving scoped filters, excerpts, and result metadata.
2026-03-15 13:42:07 -05:00
ThatGuySam
727f84e4c2 refactor(search): extract shared filter helper
Share filter parsing and provider mapping logic between Stork and upcoming search adapters.

This keeps the existing Stork API stable while adding Pagefind-oriented filter serialization under test.
2026-03-15 13:41:33 -05:00
ThatGuySam
fcda9f0a02 chore(node): move repo tooling to node 24
Align local version markers and GitHub Actions with Node 24, switch the default test entrypoint to the maintained Vitest runner, and replace pnpm-incompatible npm helpers in repo scripts.

This also removes the obsolete AVA plus esm path and excludes disabled test fixtures from generic Vitest discovery so CI reflects the supported test surface.
2026-03-15 12:55:25 -05:00
ThatGuySam
f378862b23 fix(config): stop relying on global public config 2026-03-15 12:20:19 -05:00
ThatGuySam
9e48862a5f fix(stork): support netlify ubuntu 24 builds
Switch Stork downloads to artifacts that match current runtimes and fix the runtime detection path that Node 22 changed.

This keeps the existing Stork pipeline working on Netlify's Noble image and on Apple Silicon development machines.
2026-03-15 11:57:41 -05:00
Sam Carlton
fa7ca3804b
Update for M3 Verbiage 2023-10-30 20:08:06 -05:00
ThatGuySam
e54c0cdac1 Move msw listener to file 2023-08-12 16:14:45 -05:00
ThatGuySam
361350e5fa Enable msw file server for DoesItAPI 2023-08-12 16:02:17 -05:00
ThatGuySam
ea40288bea Add streamToJson helper 2023-04-01 09:55:03 -05:00
Sam Carlton
13f29b9a64 Revert back to Stork 1.6.0 2023-02-11 17:30:22 -06:00
Sam Carlton
0d5180c7c2 Add future Stork 2.0 code 2023-02-11 17:20:34 -06:00
Sam Carlton
91d36b7f0e Add comment on what’s needed to fix YouTube 2023-02-11 16:32:46 -06:00
Sam Carlton
f1be7ca87e Lock YouTube API data for now 2023-02-11 16:18:27 -06:00
Sam Carlton
8e6ed6ed49 Upgrade to Stork 1.6.0 2023-02-11 16:02:02 -06:00
Sam Carlton
350f9d5b19 Add isLinux helper 2022-09-04 10:13:37 -05:00
Sam Carlton
9c6a4628be Load file directly into fileLoader 2022-08-21 08:46:43 -05:00
Sam Carlton
16fdd159a9 Add getArrayBufferFromFileData function 2022-08-21 08:45:55 -05:00
Sam Carlton
e5b3ba3d9e Trim readFile error message 2022-08-21 08:45:04 -05:00
Sam Carlton
fa156c3733 Use getZipFileReader on readFileBlob 2022-08-21 08:44:36 -05:00
Sam Carlton
ff8e07e11a Add getZipFileReader method 2022-08-21 08:43:04 -05:00
Sam Carlton
3f238dfd4e Add loadFile method 2022-08-21 08:42:32 -05:00
Sam Carlton
c883fe85d6 Message extraction start 2022-08-20 22:38:15 -05:00
Sam Carlton
6d0fafd041 Throw for falsy fileArrayBuffer 2022-08-20 21:35:57 -05:00
Sam Carlton
0cfb9efe29 Catch zipReader errors 2022-08-20 21:35:26 -05:00
Sam Carlton
ada3aec3f6 Make worker self.onmessage into classic function 2022-08-20 21:35:02 -05:00
Sam Carlton
8b15f2580b Pass all message details through receivers 2022-08-20 21:34:29 -05:00
Sam Carlton
c2021fe6fd Fix v2 scans timing out after finishing 2022-08-07 16:07:30 -05:00
Sam Carlton
9e1a7c0158 Fix scan page not receiving v2 messages 2022-08-07 16:07:01 -05:00
Sam Carlton
c79603b361 Fix scan not receiving from Worker 2022-08-07 16:06:26 -05:00
Sam Carlton
6b08545081 Fix data not transferring into Worker 2022-08-07 16:05:43 -05:00
Sam Carlton
f73635de08 Make scan finish verbiage more consistent 2022-08-07 16:03:47 -05:00
Sam Carlton
dcf0a3a265 Use runScanWorker for v2 scan 2022-08-07 15:15:01 -05:00
Sam Carlton
6de839a6d6 Make scan imports relative for Worker compat 2022-08-07 15:13:56 -05:00
Sam Carlton
d37603fcd5 Move scan business login into scan file 2022-08-07 14:33:58 -05:00
Sam Carlton
f82e47c4b6 Put scan steps into single method 2022-08-07 14:19:40 -05:00
Sam Carlton
9ec294c629 Remove undefined arg 2022-08-07 14:18:14 -05:00
Sam Carlton
e3af5f7bb8 Add Scan Worker 2022-08-07 14:18:00 -05:00
Sam Carlton
b857977fbe Reenable V2 Scanner 2022-07-27 21:25:49 -05:00
Sam Carlton
e008ad7ddf Reenable MachoNode 2022-07-27 21:25:36 -05:00
Sam Carlton
3be1dd52a7 Try importing buffer index
# Conflicts:
#	helpers/scanner/client.mjs
2022-07-26 23:25:27 -05:00
Sam Carlton
3ee6a8c13e Remove big int import 2022-07-26 21:31:51 -05:00
Sam Carlton
df266d7760 Use native BigInt
# Conflicts:
#	helpers/scanner/parsers/plist.js
2022-07-26 21:28:44 -05:00
Sam Carlton
f22bfe4d03 Import zip.js at top 2022-07-22 12:20:12 -05:00
Sam Carlton
0d50f7a70a Wrap scan steps in try catch 2022-07-22 12:19:55 -05:00
Sam Carlton
f717f4bf22 Import parseMacho normally 2022-07-22 00:07:35 -05:00
Sam Carlton
9e16769fa5 Disable v2 scanner 2022-07-21 22:57:41 -05:00
Sam Carlton
65692733f2 Try disabling MachoNode 2022-07-21 22:47:02 -05:00
Sam Carlton
07ee8760b5 Rebuild endian-reader as class 2022-07-21 22:42:26 -05:00
Sam Carlton
622856cacb Move pretty bytes with other modules 2022-07-21 22:15:56 -05:00