aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* feat(mobile): more native screensMohamed Bassem6 days20-409/+575
|
* feat(ai): Support restricting AI tags to a subset of existing tags (#2444)Mohamed Bassem6 days18-18/+3538
| | | | | * feat(ai): Support restricting AI tags to a subset of existing tags Co-authored-by: Claude <noreply@anthropic.com>
* feat(mcp): Support custom configurable HTTP headers (#2436)Chen Ye6 days2-3/+19
| | | | | | | | | * feat(mcp): Support custom configurable HTTP headers * docs(mcp): Add KARAKEEP_CUSTOM_HEADERS documentation * fix(mcp): Prioritize default headers and safely parse custom headers * docs(mcp): Correct capitalization of Cloudflare headers
* feat: Added Import for Instapaper (#2434)Daniel Wieser6 days3-1/+83
| | | | | * Added Instapaper import * Fixes #1444 Added Instapaper import support
* feat: Add drag-and-drop support for bookmarks to lists (#2469)Mohamed Bassem6 days5-111/+265
| | | | | * feat: add drag and drop bookmark cards into sidebar lists Co-authored-by: Claude <noreply@anthropic.com>
* feat(crawler): Split bookmark metadata updates into two phases for faster ↵Mohamed Bassem6 days1-22/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | feedback (#2467) * feat(crawler): write metadata to DB early for faster user feedback Split the single DB transaction in crawlAndParseUrl into two phases: - Phase 1: Write metadata (title, description, favicon, author, etc.) immediately after extraction, before downloading assets - Phase 2: Write content and asset references after all assets are stored (banner image, screenshot, pdf, html content) This gives users near-instant feedback with bookmark metadata while the slower asset downloads and uploads happen in the background. https://claude.ai/code/session_013vKTXDcb5CEve3WMszQJmZ * fix(crawler): move crawledAt to phase 2 DB write crawledAt should only be set once all assets are fully stored, not during the early metadata write. https://claude.ai/code/session_013vKTXDcb5CEve3WMszQJmZ --------- Co-authored-by: Claude <noreply@anthropic.com>
* fix: correctly sum low pri and normal crawl queue sizeMohamed Bassem6 days2-4/+11
|
* chore: add pnpm test to the root packageMohamed Bassem6 days2-0/+7
|
* feat: add source filter to query language (#2465)Mohamed Bassem6 days8-4/+154
| | | | | | | | | | | * feat: add source filter to query language Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * autocomplete source --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
* fix: treat bookmark not found as a no-op in rule engine instead of a failure ↵Mohamed Bassem6 days3-15/+24
| | | | | | | | | | | (#2464) When a bookmark is deleted before the rule engine worker processes its event, the worker would throw an error, triggering failure metrics, error logging, and retries. This changes both the worker and RuleEngine.forBookmark to gracefully skip processing with an info log instead. Co-authored-by: Claude <noreply@anthropic.com>
* fix(extension): dont store tab title when saving links or images. fixes #2462Mohamed Bassem7 days1-1/+5
|
* feat: Add separate queue for import link crawling (#2452)Mohamed Bassem7 days5-36/+70
| | | | | | | * feat: add separate queue for import link crawling --------- Co-authored-by: Claude <noreply@anthropic.com>
* fix: lower the priority of recrawlingMohamed Bassem7 days3-9/+20
|
* feat(metrics): add prometheus metric for bookmark crawl latency (#2461)Mohamed Bassem7 days3-2/+28
| | | | | | | | | | Track the time from bookmark creation to crawl completion as a histogram (karakeep_bookmark_crawl_latency_seconds). This measures the end-to-end latency users experience when adding bookmarks via extension, web, etc. Excludes recrawls (crawledAt already set) and imports (low priority jobs). https://claude.ai/code/session_019jTGGXGWzK9C5aTznQhdgz Co-authored-by: Claude <noreply@anthropic.com>
* feat(db): add OpenTelemetry instrumentation for database queriesClaude7 days5-3/+83
| | | | | | | | | Instruments the better-sqlite3 driver so that every prepared statement execution (run/get/all) produces an OTel span with db.system, db.statement, and db.operation attributes. The instrumentation is a no-op when no TracerProvider is registered (i.e. tracing is disabled). https://claude.ai/code/session_01JZut7LqeHPUKAFbFLfVP8F
* feat(import): new import details page (#2451)Mohamed Bassem10 days5-2/+666
| | | | | | | * feat(import): new import details page * fix typecheck * review comments
* fix(ci): fix missing format errorMohamed Bassem10 days1-1/+1
|
* feat: add extra instrumentation in the otel traces (#2453)Mohamed Bassem10 days7-31/+231
|
* fix(import): sanitize error messages to prevent backend detail leakage (#2455)Mohamed Bassem10 days1-1/+26
| | | | | | | | | | | | | | | | | | The catch block in processOneBookmark was storing raw error strings via String(error) in the resultReason field, which is exposed to users through the getImportSessionResults tRPC route. This could leak internal details like database constraint errors, file paths, stack traces, or connection strings. Replace String(error) with getSafeErrorMessage() that only allows through: - TRPCError client errors (designed to be user-facing) - Known safe validation messages from the import worker - A generic fallback for all other errors The full error is still logged server-side for debugging. https://claude.ai/code/session_01F1NHE9dqio5LJ177vmSCvt Co-authored-by: Claude <noreply@anthropic.com>
* fix(import): skip counting pending items for paushed sessionsMohamedBassem10 days1-7/+16
|
* fix(import): register improt metrics to the prom registryMohamed Bassem10 days2-1/+9
|
* fix(import): propagate crawling/tagging failure to import statusMohamed Bassem10 days1-18/+50
|
* fix: extra logging for the import workerMohamed Bassem10 days1-13/+39
|
* fix: lower priority of mass admin actionsMohamedBassem10 days1-12/+33
|
* fix: backfill old sessions and do queue backpressure (#2449)Mohamed Bassem10 days3-22/+118
| | | | | * fix: backfill old sessions and do queue backpressure * fix typo
* feat: Import workflow v3 (#2378)Mohamed Bassem10 days22-483/+8300
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat: import workflow v3 * batch stage * revert migration * cleanups * pr comments * move to models * add allowed workers * e2e tests * import list ids * add missing indicies * merge test * more fixes * add resume/pause to UI * fix ui states * fix tests * simplify progress tracking * remove backpressure * fix list imports * fix race on claiming bookmarks * remove the codex file
* feat: Add LLM-based OCR as alternative to Tesseract (#2442)Mohamed Bassem13 days4-10/+78
| | | | | | | | | | | | | | | | | | | | | | | | | * feat(ocr): add LLM-based OCR support alongside Tesseract Add support for using configured LLM inference providers (OpenAI or Ollama) for OCR text extraction from images as an alternative to Tesseract. Changes: - Add OCR_USE_LLM environment variable flag (default: false) - Add buildOCRPrompt function for LLM-based text extraction - Add readImageTextWithLLM function in asset preprocessing worker - Update extractAndSaveImageText to route between Tesseract and LLM OCR - Update documentation with the new configuration option When OCR_USE_LLM is enabled, the system uses the configured inference model to extract text from images. If no inference provider is configured, it falls back to Tesseract. https://claude.ai/code/session_01Y7h7kDAmqXKXEWDmWbVkDs * format --------- Co-authored-by: Claude <noreply@anthropic.com>
* feat: batch meilisearch requests (#2441)Mohamed Bassem13 days6-20/+226
| | | | | * feat: batch meilisearch requests * more fixes
* fix(mobile): migrate from RN image to expo-imageMohamed Bassem13 days6-34/+55
|
* chore: replace dayjs with data-fnsMohamed Bassem13 days7-28/+13
|
* fix(web): don't bundle tiktoken in client bundlesMohamed Bassem13 days9-85/+144
|
* feat(mobile): use native tabs for mobileMohamed Bassem13 days5-90/+62
|
* fix(mobile): make the subtext in bookmark info page more subtleMohamed Bassem13 days1-3/+3
|
* feat(mobile): add signup support to the mobile appMohamed Bassem13 days1-1/+14
|
* feat: add support for redirectUrl after signup (#2439)Mohamed Bassem13 days10-21/+215
| | | | | | | | | | | * feat: add support for redirectUrl after signup * pr review * more fixes * format * another fix
* fix: better looking error message when article content is unavailableMohamed Bassem13 days2-1/+22
|
* fix(mobile): fix some mobile warning after expo 54 upgradeMohamed Bassem13 days11-30/+50
|
* refactor: remove unused trpc files from web and mobileMohamed Bassem13 days76-83/+102
|
* refactor: migrate trpc to the new react query integration mode (#2438)Mohamed Bassem13 days112-1871/+2536
| | | | | | | | | * refactor: migrate trpc to the new react query integration mode * more fixes * more migrations * upgrade trpc client
* refactor: centralize auth imports through new client module (#2437)Mohamed Bassem13 days15-15/+25
| | | | | | | | | | | | | | | * refactor(web): centralize next-auth client-side utilities Create lib/auth/client.ts to re-export all next-auth/react APIs (useSession, signIn, signOut, SessionProvider) from a single location. This prepares for future auth provider replacement by isolating the next-auth dependency. https://claude.ai/code/session_01RLLL6SquzmegG6wKHdT3Fm * format --------- Co-authored-by: Claude <noreply@anthropic.com>
* chore: add an endpoint for propagating client configs to the mobile appMohamed Bassem13 days3-0/+41
|
* docs: replace emojis with icon in category namesMohamed Bassem13 days25-21/+298
|
* feat(mobile): show num bookmarks in the all lists viewMohamed Bassem13 days1-4/+30
|
* fix(mobile): fix mobile list stylingMohamed Bassem13 days4-12/+12
|
* refactor: lazy init background queuesMohamed Bassem13 days5-58/+155
|
* fix: use user's preferred language for manual summarization (#2429)Mohamed Bassem2026-01-281-1/+9
|
* feat(cli): Add bookmark search command (#2426)Mohamed Bassem2026-01-262-12/+88
| | | | | | | | | | | | | | | | | | | | | | * feat(cli): Add search subcommand to bookmarks Add a new search subcommand that uses the searchBookmarks API endpoint. The command supports: - Full-text search with advanced query matchers (tag:, is:, list:, etc.) - Pagination with --all flag to fetch all results - Sorting by relevance, ascending, or descending order - Optional full content inclusion with --include-content - Configurable result limit per page Example usage: bookmarks search "is:fav tag:important" bookmarks search "kotlin" --sort-order desc --limit 20 bookmarks search "title:api" --include-content --all * fixes + format --------- Co-authored-by: Claude <noreply@anthropic.com>
* feat(search): add tag: alias for # and ! alias for negation (#2425)Mohamed Bassem2026-01-263-6/+151
| | | | | | | | Add `tag:` as an alternative syntax to `#` for tag search queries, and `!` as an alternative to `-` for negating qualifiers. This provides more intuitive syntax options for users who prefer text-based qualifiers over special characters. Co-authored-by: Claude <noreply@anthropic.com>
* fix(ui): Improve visual consistency in all lists and highlights pageMohamed Bassem2026-01-195-21/+29
|
* feat: disable karakeep 2025 wrappedMohamed Bassem2026-01-194-56/+11
|