Skip to content

Add 4get - #347

Open
k1f1t wants to merge 1 commit into
ente:mainfrom
k1f1t:main
Open

k1f1t wants to merge 1 commit into
ente:mainfrom
k1f1t:main

Conversation

@k1f1t

@k1f1t k1f1t commented Nov 14, 2026

Copy link
Copy Markdown

4get or fourget in an alternative to SearXNG.
As SearXNG, it's an open source and self hosted search engine.
It does lots of things better then SearXNG and is more reliable.

Project repo: https://git.lolcat.ca/lolcat/4get

All the tests pass on chromium, did not test on webkit as it's broken on arch linux. (maybe I'll test on another machine in a moment)

Output below:

Details
npm notice run privacypack@0.1.0 check
npm notice run npm run assets:check && npm run catalog:validate && npm run test:unit && npm run typecheck && npm run lint && npm run build && npm run test:e2e
npm notice run privacypack@0.1.0 assets:check
npm notice run node scripts/asset-versions.mjs --check
Asset versions are current.
npm notice run privacypack@0.1.0 catalog:validate
npm notice run node scripts/validate-catalog.mjs
Catalog summary: 29 categories, 136 mainstream apps, 242 private alternatives, 336 logo assets in use.
Catalog validation passed.
npm notice run privacypack@0.1.0 test:unit
npm notice run node --test tests/infra-unit.mjs tests/pack-unit.mjs tests/fit-name-unit.mjs tests/catalog-validation.mjs tests/picker-state-unit.mjs
✔ catalog validation accepts complete JPEG logos (98.17579ms)
✔ catalog validation rejects a JPEG truncated after its dimensions header (106.443922ms)
✔ catalog validation rejects corrupt scan data despite SOS and EOI markers and reports each logo (98.065746ms)
✔ malformed catalogs produce validation errors rather than uncaught exceptions (265.145089ms)
✔ catalog validation enforces: logos must be 200x200 (84.665946ms)
✔ catalog validation enforces: logos must be at most 50KB (74.482738ms)
✔ catalog validation enforces: logos must really be JPEGs (78.738426ms)
✔ catalog validation enforces: every app needs a logo (80.353736ms)
✔ catalog validation enforces: every logo needs an app (79.713147ms)
✔ catalog validation enforces: ids are unique within a bucket (82.136611ms)
✔ catalog validation enforces: ids are safe file names (79.959095ms)
✔ catalog validation enforces: category orders are contiguous (79.94616ms)
✔ catalog validation enforces: logo files use the .jpg extension (82.394455ms)
✔ catalog validation enforces: apps have an id (79.224123ms)
✔ catalog validation enforces: apps have a name (76.540029ms)
✔ catalog validation enforces: categories have a name (81.283328ms)
✔ catalog validation enforces: category orders are positive integers (78.409544ms)
✔ catalog validation enforces: category names and orders are unique (79.872213ms)
✔ catalog validation enforces: each bucket has at least one app (76.966958ms)
✔ names whose words fit are left alone (1.457152ms)
✔ overlong words wrap after a slash or between camelCase parts (0.322489ms)
✔ a word with no break opportunity is set small enough to fit (0.232323ms)
✔ every catalog name fits every export column without a mid-word cut (8.534772ms)
✔ picker names whose words fit are left whole and at full size (0.371985ms)
✔ overlong picker words wrap after a slash or a dot or between camelCase parts (0.271269ms)
✔ a picker word with no break opportunity is set smaller only where it cannot fit (0.228205ms)
✔ every catalog picker label fits every picker slot without a mid-word cut (14.314711ms)
✔ known public images use their actual content version (6.336145ms)
✔ asset URLs replace stale versions while preserving query and fragment (0.82587ms)
✔ checked-in manifest covers current public images (61.089156ms)
✔ a manifest checked out with CRLF line endings still matches (98.916183ms)
✔ asset checks detect changed, added, deleted, and missing manifest entries (4.253274ms)
✔ the initial pack follows category order and each first mainstream app (1.913041ms)
✔ alternatives keep selection order and stop at the cap (0.300776ms)
✔ deselecting frees a slot and reselecting appends to the end (0.342207ms)
✔ Remove clears one category and keeps the mainstream choice (0.334001ms)
✔ only categories with alternatives are exported, in category order (0.249346ms)
✔ mainstream changes alone do not select a category (0.173909ms)
✔ alternative labels summarise the first pick and the remainder (0.194649ms)
✔ a delayed close keeps the new picker open (separate renders) (131.10094ms)
✔ a delayed close keeps the new picker open (batched updates) (37.643731ms)
ℹ tests 41
ℹ suites 0
ℹ pass 41
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 1876.482413
npm notice run privacypack@0.1.0 typecheck
npm notice run tsc --noEmit --incremental false
npm notice run privacypack@0.1.0 lint
npm notice run eslint .
npm notice run privacypack@0.1.0 build
npm notice run npm run assets:check && next build
npm notice run privacypack@0.1.0 assets:check
npm notice run node scripts/asset-versions.mjs --check
Asset versions are current.
▲ Next.js 16.4.0 (Turbopack)
✓ Running next.config.ts took 30ms

  Creating an optimized production build ...
✓ Compiled successfully in 2.3s
  Running TypeScript ...
  Finished TypeScript in 2.7s ...
  Collecting page data using 8 workers ...
✓ Collecting page data using 8 workers in 439ms
  Generating static pages using 8 workers (0/7) ...
  Generating static pages using 8 workers (1/7)
  Generating static pages using 8 workers (3/7)
  Generating static pages using 8 workers (5/7)
✓ Generating static pages using 8 workers (7/7) in 555ms
  Finalizing page optimization ...
✓ Finalizing page optimization in 232ms

Route (app)
┌ ○ /
├ ○ /_not-found
├ ○ /create
├ ○ /privacy
└ ○ /terms


○  (Static)  prerendered as static content

Running 106 tests using 6 workers

  ✓    1 [chromium] › tests/accessibility.spec.ts:298:5 › menus still animate with no reduced motion preference (2.2s)
  ✓    2 [chromium] › tests/accessibility.spec.ts:103:5 › forced-colors mode outlines only the focused picker or menu item (2.4s)
  ✓    3 [chromium] › tests/accessibility.spec.ts:70:5 › menu text and home links meet WCAG AA contrast (1.3s)
  ✓    4 [chromium] › tests/accessibility.spec.ts:264:5 › menus open and close at once for reduced motion (2.0s)
  ✓    5 [chromium] › tests/accessibility.spec.ts:141:5 › forced-colors mode does not change the exported image (4.6s)
  ✓    6 [chromium] › tests/accessibility.spec.ts:237:5 › pickers open from a plain click and from Enter or Space (3.3s)
  ✓    7 [chromium] › tests/accessibility.spec.ts:332:9 › focused pickers are not hidden by the mobile export bar at 375x667 (7.8s)
  ✓    8 [chromium] › tests/accessibility.spec.ts:332:9 › focused pickers are not hidden by the mobile export bar at 568x320 (8.1s)
  ✓    9 [chromium] › tests/accessibility.spec.ts:332:9 › focused pickers are not hidden by the mobile export bar at 320x225 (7.9s)
  ✓   10 [chromium] › tests/accessibility.spec.ts:332:9 › focused pickers are not hidden by the mobile export bar at 375x667 with an export error (8.9s)
  ✓   11 [chromium] › tests/accessibility.spec.ts:332:9 › focused pickers are not hidden by the mobile export bar at 568x320 with an export error (8.7s)
  ✓   13 [chromium] › tests/accessibility.spec.ts:392:5 › the header does not overflow while an image is preparing (18.4s)
      13 [chromium] › tests/accessibility.spec.ts:392:5 › the header does not overflow while an image is preparing
  ✓   14 [chromium] › tests/accessibility.spec.ts:500:9 › the mobile export bar fits 320x225 while an image is preparing (2.4s)
  ✓   15 [chromium] › tests/accessibility.spec.ts:500:9 › the mobile export bar fits 375x667 while an image is preparing (2.4s)
  ✓   16 [chromium] › tests/accessibility.spec.ts:500:9 › the mobile export bar fits 568x320 while an image is preparing (2.3s)
  ✓   17 [chromium] › tests/accessibility.spec.ts:508:5 › the mobile export bar fits a larger default font while an image is preparing (4.4s)
  ✓   18 [chromium] › tests/accessibility.spec.ts:585:9 › the mobile export bar fits 256x400 while sharing (2.7s)
  ✓   19 [chromium] › tests/accessibility.spec.ts:585:9 › the mobile export bar fits 268x225 while sharing (2.7s)
  ✓   20 [chromium] › tests/accessibility.spec.ts:585:9 › the mobile export bar fits 320x225 while sharing (2.9s)
  ✓   22 [chromium] › tests/accessibility.spec.ts:677:5 › the header fits around its breakpoints while sharing (8.1s)
  ✓   23 [chromium] › tests/accessibility.spec.ts:683:5 › the header fits a larger default font while sharing (8.1s)
      23 [chromium] › tests/accessibility.spec.ts:683:5 › the header fits a larger default font while sharing
      24 [chromium] › tests/accessibility.spec.ts:753:5 › the pickers fit the page and keep their arrows at every width
  ✓   26 [chromium] › tests/accessibility.spec.ts:885:13 › open menus fit a 320px screen with a 24px default font (19.3s)
  ✓   27 [chromium] › tests/accessibility.spec.ts:885:13 › open menus fit a 375px screen with a 24px default font (18.6s)
  ✓   28 [chromium] › tests/accessibility.spec.ts:885:13 › open menus fit a 414px screen with a 24px default font (17.8s)
  ✓   29 [chromium] › tests/accessibility.spec.ts:885:13 › open menus fit a 320px screen with a 32px default font (18.1s)
  ✓   30 [chromium] › tests/accessibility.spec.ts:885:13 › open menus fit a 375px screen with a 32px default font (18.1s)
  ✓   31 [chromium] › tests/accessibility.spec.ts:885:13 › open menus fit a 414px screen with a 32px default font (17.8s)
  ✓   32 [chromium] › tests/accessibility.spec.ts:1079:5 › picker names wrap only between words with the longest names (58.8s)
  ✓   33 [chromium] › tests/accessibility.spec.ts:1113:5 › picker names wrap only between words with the longest words (26.4s)
  ✓   34 [chromium] › tests/accessibility.spec.ts:1148:5 › the off-screen capture copy is hidden from assistive technology (3.5s)
  ✓   35 [chromium] › tests/accessibility.spec.ts:1178:5 › pickers and pages have descriptive names and titles (1.4s)
  ✓   36 [chromium] › tests/accessibility.spec.ts:1219:5 › presses that end without a click do not swallow the next plain click (2.2s)
  ✓   37 [chromium] › tests/accessibility.spec.ts:1246:5 › a press released outside the page does not swallow the next plain click (1.7s)
  ✓   38 [chromium] › tests/accessibility.spec.ts:1269:9 › the builder stays reachable with a larger default font on a short screen (17.9s)
  ✓   39 [chromium] › tests/accessibility.spec.ts:1269:9 › the builder stays reachable with a larger default font on a short screen with an export error (16.7s)
  ✓   40 [chromium] › tests/accessibility.spec.ts:1355:9 › export feedback leaves the builder reachable and restores the sticky bar at 320x170 with a 16px font (3.2s)
  ✓   41 [chromium] › tests/accessibility.spec.ts:1355:9 › export feedback leaves the builder reachable and restores the sticky bar at 400x250 with a 24px font (2.6s)
  ✓   42 [chromium] › tests/accessibility.spec.ts:1439:5 › a clipped message in the mobile bar scrolls from the keyboard (2.3s)
  ✓   43 [chromium] › tests/builder-interactions.spec.ts:3:5 › selected alternatives remain readable when another option is focused (1.1s)
  ✓   44 [chromium] › tests/builder-interactions.spec.ts:78:5 › touch swipes over either picker scroll without opening a menu (3.5s)
  ✓   45 [chromium] › tests/builder-interactions.spec.ts:137:5 › touches that end without a tap do not reverse a later click (6.0s)
  ✓   46 [chromium] › tests/builder-interactions.spec.ts:243:5 › completed touch taps open pickers and allow selection and dismissal (2.6s)
  ✓   47 [chromium] › tests/builder-interactions.spec.ts:290:5 › keyboard users can change mainstream apps and toggle alternatives (1.8s)
  ✓   48 [chromium] › tests/builder-interactions.spec.ts:324:5 › Tab and Shift+Tab leave either picker's menu and close it (4.6s)
  ✓   49 [chromium] › tests/builder-interactions.spec.ts:374:5 › Tab past the last picker skips another menu still closing (3.5s)
  ✓   50 [chromium] › tests/builder-interactions.spec.ts:407:5 › mouse users can select apps and dismiss either picker (3.1s)
  ✓   51 [chromium] › tests/builder-interactions.spec.ts:449:5 › switching directly between pickers preserves the new menu and focus (5.8s)
  ✓   52 [chromium] › tests/builder-interactions.spec.ts:481:5 › tapping an export button while a picker is open closes it and prepares the image (4.1s)
  ✓   53 [chromium] › tests/builder-interactions.spec.ts:556:5 › keyboard focus stays visible among selected alternatives (1.9s)
  ✓   54 [chromium] › tests/builder-interactions.spec.ts:586:5 › Remove is set apart, names its category, and is disabled when empty (1.5s)
  ✓   55 [chromium] › tests/builder-interactions.spec.ts:611:5 › a picker reopened while its menu is still closing stays open (1.7s)
  ✓   56 [chromium] › tests/builder-interactions.spec.ts:633:5 › the card lists categories in catalog order, not selection order (2.2s)
  ✓   57 [chromium] › tests/builder-interactions.spec.ts:665:5 › an open menu stays above the mobile export bar (3.2s)
  ✓   58 [chromium] › tests/export-layout.spec.ts:122:9 › exports retain 1 alternative per category at every pack size (53.5s)
  ✓   59 [chromium] › tests/export-layout.spec.ts:122:9 › exports retain 2 alternatives per category at every pack size (59.7s)
  ✓   60 [chromium] › tests/export-layout.spec.ts:122:9 › exports retain 3 alternatives per category at every pack size (1.2m)
  ✓   61 [chromium] › tests/export-layout.spec.ts:122:9 › exports retain 1 alternative per category at every pack size in the system font (56.0s)
  ✓   62 [chromium] › tests/export-layout.spec.ts:122:9 › exports retain 3 alternatives per category at every pack size in the system font (1.2m)
  ✓   63 [chromium] › tests/export-reliability.spec.ts:17:5 › editing defers capture and keeps an unchanged prepared image ready (3.7s)
  ✓   64 [chromium] › tests/export-reliability.spec.ts:81:5 › broken images block export and can be retried without an incomplete PNG (2.7s)
  ✓   65 [chromium] › tests/export-reliability.spec.ts:109:5 › sharing uses the ready PNG on the tap and invalidates it after selection changes (4.0s)
  ✓   66 [chromium] › tests/export-reliability.spec.ts:216:5 › capture waits for newly injected clone fonts before encoding the PNG (2.2s)
  ✓   67 [chromium] › tests/export-reliability.spec.ts:284:5 › failed clones are cleaned up and a stalled clone cannot block a new selection (4.0s)
  ✓   68 [chromium] › tests/export-reliability.spec.ts:365:5 › retrying with the keyboard keeps focus and lands on Share when ready (2.7s)
  ✓   69 [chromium] › tests/export-reliability.spec.ts:387:5 › a retry that fails again keeps focus on Retry (2.1s)
  ✓   70 [chromium] › tests/export-reliability.spec.ts:399:5 › capture waits while the page is hidden instead of timing out (11.1s)
  ✓   71 [chromium] › tests/export-reliability.spec.ts:462:5 › a failed font download is recovered for export (4.9s)
  ✓   72 [chromium] › tests/export-reliability.spec.ts:535:5 › a blocked font still exports, in a system font, and says so (2.2s)
  ✓   73 [chromium] › tests/export-reliability.spec.ts:556:5 › the system font notice stays while the pack is edited, so the page does not move (3.4s)
  ✓   74 [chromium] › tests/export-reliability.spec.ts:592:5 › glancing at a picker mid-capture does not restart the capture (3.3s)
  ✓   75 [chromium] › tests/export-reliability.spec.ts:775:5 › html2canvas never fetches an image, so none can be missing from the PNG (3.2s)
  ✓   76 [chromium] › tests/export-reliability.spec.ts:848:5 › a stalled image fetch fails cleanly and Retry recovers (10.8s)
  ✓   77 [chromium] › tests/export-reliability.spec.ts:883:5 › an image served without an image type fails the export, not the PNG (2.9s)
  ✓   78 [chromium] › tests/export-reliability.spec.ts:921:5 › a mislabelled image in the HTTP cache is fetched again on Retry (3.0s)
  ✓   79 [chromium] › tests/export-reliability.spec.ts:984:5 › an image that cannot be decoded is fetched again on Retry (2.9s)
  ✓   80 [chromium] › tests/export-reliability.spec.ts:1023:5 › a font that arrives during a fallback capture is not used in it (10.3s)
  ✓   81 [chromium] › tests/export-reliability.spec.ts:1106:5 › a slow font falls back to a system font throughout, then recovers (11.8s)
  ✓   82 [chromium] › tests/export-reliability.spec.ts:1226:5 › a selection change exports offline once its images were exported (3.8s)
  ✓   83 [chromium] › tests/export-sharing.spec.ts:120:5 › a successful native share uses the tap and shows no fallback message (2.1s)
  ✓   84 [chromium] › tests/export-sharing.spec.ts:147:5 › cancelling the share sheet is silent and leaves export ready (2.2s)
  ✓   85 [chromium] › tests/export-sharing.spec.ts:171:5 › a throwing share capability check falls back instead of failing (2.1s)
  ✓   86 [chromium] › tests/export-sharing.spec.ts:192:5 › a refused share falls back to the clipboard (2.1s)
  ✓   87 [chromium] › tests/export-sharing.spec.ts:207:5 › unsupported sharing with a denied clipboard downloads the PNG (2.1s)
  ✓   88 [chromium] › tests/export-sharing.spec.ts:228:5 › export controls stay disabled while a share is pending (2.3s)
  ✓   89 [chromium] › tests/export-sharing.spec.ts:256:5 › mobile share feedback is visible from the bottom of the page (2.3s)
  ✓   90 [chromium] › tests/export-sharing.spec.ts:321:5 › keyboard focus stays on Share while and after it runs (2.3s)
  ✓   91 [chromium] › tests/privacy-pack.spec.ts:17:5 › catalog includes requested private alternatives (4ms)
  ✓   92 [chromium] › tests/privacy-pack.spec.ts:83:5 › home page links into the pack builder (383ms)
  ✓   93 [chromium] › tests/privacy-pack.spec.ts:95:5 › create page renders the full catalog and starts with exports disabled (726ms)
  ✓   94 [chromium] › tests/privacy-pack.spec.ts:112:5 › private alternative picker presents a multi-select menu (992ms)
  ✓   95 [chromium] › tests/privacy-pack.spec.ts:131:5 › export card uses JetBrains Mono for rendered text (484ms)
  ✓   96 [chromium] › tests/privacy-pack.spec.ts:179:5 › selecting a private alternative enables desktop export controls (1.9s)
  ✓   97 [chromium] › tests/privacy-pack.spec.ts:189:5 › selecting multiple private alternatives keeps one exportable pack (2.1s)
  ✓   98 [chromium] › tests/privacy-pack.spec.ts:202:5 › private alternative selection is capped at three per category (1.4s)
  ✓   99 [chromium] › tests/privacy-pack.spec.ts:217:5 › download creates a PrivacyPack PNG (2.2s)
  ✓  100 [chromium] › tests/privacy-pack.spec.ts:234:5 › share falls back to a PNG download when browser sharing is unavailable (2.0s)
  ✓  101 [chromium] › tests/privacy-pack.spec.ts:274:5 › mobile layout keeps export controls visible and disabled until selection (1.9s)
  ✓  102 [chromium] › tests/privacy-pack.spec.ts:291:5 › touch users can open and select a private alternative on mobile (2.6s)
  ✓  103 [chromium] › tests/static-hosting.spec.ts:24:5 › building, downloading and sharing a pack stays in the browser (2.8s)
  ✓  104 [chromium] › tests/static-hosting.spec.ts:140:5 › pages load directly and public images use content-versioned URLs (1.0s)
  ✓  105 [chromium] › tests/static-hosting.spec.ts:178:9 › local emulation of public/_headers › security and cache headers match each kind of response (208ms)
  ✓  106 [chromium] › tests/static-hosting.spec.ts:224:9 › local emulation of public/_headers › unknown routes return the not-found page with a 404 (406ms)

@CLAassistant

CLAassistant commented Nov 14, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@k1f1t

k1f1t commented Nov 14, 2026

Copy link
Copy Markdown
Author

All tests passed on webkit!

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.

2 participants