rcgit

/ karakeep
follow | order: default date topo
Age Commit message Author Files +/-
tests: Fix failing test Mohamed Bassem 1 -12/+16
feat: Add support for user uploaded files (#2100)
* feat: add user file upload support for bookmarks
Add a new "user-uploaded" asset type that allows users to upload and
attach their own files to bookmarks from the attachment box in the
bookmark preview page.
Changes:
- Add USER_UPLOADED asset type to database schema
- Add userUploaded to zAssetTypesSchema for type safety
- Update attachment permissions to allow attaching/detaching user files
- Add fileName field to asset schema for displaying custom filenames
- Add "Upload File" button in AttachmentBox component
- Display actual filename for user-uploaded files
- Allow any file type for user uploads (respects existing upload limits)
- Add Upload icon for user-uploaded files
Fixes #1863 related asset attachment improvements
* fix: ensure fileName is returned and remove edit button for user uploads
- Fix attachAsset mutation to fetch and return complete asset with fileName
  instead of just returning the input (which lacks fileName)
- Remove replace/edit button for user-uploaded files - users can only
  delete and re-upload instead
- This ensures the filename displays correctly in the UI immediately
  after upload
Fixes fileName propagation issue for user-uploaded assets
* fix asset file name
* remove filename from attach asset api
---------
Co-authored-by: Claude <noreply@anthropic.com>
Mohamed Bassem 10 -31/+101
fix: browser service connection check using dns instead. Fixes #2080 Mohamed Bassem 1 -6/+8
refactor: generalize tidy assets queue into admin maintenance (#2059)
* refactor: generalize admin maintenance queue
* more fixes
Mohamed Bassem 10 -159/+227
feat: Add source field to track bookmark creation sources (#2037)
* feat: Add source field to track bookmark creation sources
Add a new 'source' field to the bookmarks table to track where bookmarks
were created from. Possible values: api, web, cli, mobile, singlefile, rss.
Changes:
- Add source field to bookmarks table schema
- Update Zod schemas to include source field
- Update tRPC createBookmark procedure to store source
- Update all callsites to pass appropriate source value:
  - api: Default to "api" if not provided
  - singlefile: Set to "singlefile"
  - rss: Set to "rss" in feedWorker
  - cli: Set to "cli"
  - mobile: Set to "mobile" in all mobile app bookmark creation
  - browser-extension: Set to "web"
  - web: Set to "web" in all web app bookmark creation
- Create migration file for database schema change
Fixes #2036
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Mohamed Bassem <MohamedBassem@users.noreply.github.com>
* feat: Add extension source type for browser extension
- Add 'extension' to bookmark source enum
- Update browser extension to use 'extension' instead of 'web'
Co-authored-by: Mohamed Bassem <MohamedBassem@users.noreply.github.com>
* fix CI
* fix CI
* fix the migration file
* add import source
* make source nullish
---------
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Mohamed Bassem <MohamedBassem@users.noreply.github.com>
Mohamed Bassem 16 -12/+2650
feat: Add service dependency checks in the server overview page Mohamed Bassem 7 -102/+404
feat: Revamp import experience (#2001)
* WIP: import v2
* remove new session button
* don't redirect after import
* store and lint to root list
* models + tests
* redesign the progress
* simplify the import session for ow
* drop status from session schema
* split the import session page
* i18n
* fix test
* remove pagination
* fix some colors in darkmode
* one last fix
* add privacy filter
* privacy check
* fix interactivity of import progress
* fix test
Mohamed Bassem 21 -37/+3618
feat: recursive list delete (#1989) Mohamed Bassem 5 -16/+437
feat: Add tag search and pagination (#1987)
* feat: Add tag search and use in the homepage
* use paginated query in the all tags view
* wire the load more buttons
* add skeleton to all tags page
* fix attachedby aggregation
* fix loading states
* fix hasNextPage
* use action buttons for load more buttons
* migrate the tags auto complete to the search api
* Migrate the tags editor to the new search API
* Replace tag merging dialog with tag auto completion
* Merge both search and list APIs
* fix tags.list
* add some tests for the endpoint
* add relevance based sorting
* change cursor
* update the REST API
* fix review comments
* more fixes
* fix lockfile
* i18n
* fix visible tags
Mohamed Bassem 32 -493/+1731
fix: optimize memory usage of tag listing Mohamed Bassem 2 -51/+137
refactor: Move callsites to liteque to be behind a plugin Mohamed Bassem 39 -405/+707
feat: Regen api keys Mohamed Bassem 8 -29/+259
refactor: strongly type the search plugin interface Mohamed Bassem 3 -10/+41
fix: fix 5xx on invalid api key Mohamed Bassem 1 -1/+5
fix: fix tag flicker caused by tag sorting Mohamed Bassem 6 -50/+53
refactor: Extract quota logic into its own class Mohamed Bassem 11 -102/+133
refactor: Move highlights object into models Mohamed Bassem 2 -131/+188
refactor: Move feed object into models Mohamed Bassem 2 -94/+134
refactor: Move webhook, users and tags into models MohamedBassem 12 -1120/+1602
feat: Drop support for time bounded invitations MohamedBassem 8 -124/+2376
refactor: Extract meilisearch as a plugin MohamedBassem 26 -155/+524
fix: Drop legacy container notice Mohamed Bassem 2 -22/+2
fix: Remove bcrypt from the api key validation route Mohamed Bassem 6 -25/+568
fix(test): Fix subscription.test Mohamed Bassem 1 -0/+1
fix(stripe): Allow promotion codes Mohamed Bassem 1 -0/+1
feat: Allow setting browserless crawling per user Mohamed Bassem 10 -6/+2399
Revert "fix: Fix the types of the bookmark types in the db query"
This reverts commit 4ba3e8047a5b1f160169617187436c09e91662ec.
Mohamed Bassem 4 -27/+16
fix: Fix the types of the bookmark types in the db query Mohamed Bassem 4 -16/+27
feat: Add stripe based subscriptions Mohamed Bassem 18 -60/+4351
feat: Add delete account support Mohamed Bassem 6 -2/+252
fix: Drop auth failure logger Mohamed Bassem 4 -61/+11
fix: Add ratelimiting to bookmark recrawl and summarization Mohamed Bassem 1 -1/+15
fix: Prioritize crawling user added links over bulk imports. fixes #1717 Mohamed Bassem 14 -91/+159
refactor: Move db interactions into the trpc routes Mohamed Bassem 4 -33/+66
feat: Support forget and reset password Mohamed Bassem 13 -47/+3170
feat: Add API ratelimits Mohamed Bassem 7 -13/+173
feat: Add invite user support Mohamed Bassem 18 -109/+3973
feat: Add support for email verification Mohamed Bassem 12 -157/+748
feat: Store large html content in the asset db Mohamed Bassem 17 -18/+2383
fix(tests): Fix broken user setting test Mohamed Bassem 1 -0/+2
feat: Add a new timezone user setting Mohamed Bassem 9 -27/+2189
feat: Add per user storage quota Mohamed Bassem 17 -108/+2388
feat: Add new user stats page. Fixes #1523 Mohamed Bassem 6 -1/+1102
feat: Add per user bookmark count quota Mohamed Bassem 13 -168/+2553
fix(tags): normalise leading hashes in tag names (#1317) (#1351)
* fix(tags): normalise leading hashes in tag names (#1317)
* move the transformation to zod
* fix openapi spec
---------
Co-authored-by: Mohamed Bassem <me@mbassem.com>
Mostafa Wahied 5 -7/+56
chore: migrate away from eslint to oxlint (#1642)
* chore: migrate away from eslint to oxlint
* revert turbo task name lint
* it seems like we can remove the seemingly default globals
xuatz 70 -1695/+1174
fix: Fix webhook not firing on deletion. Fixes #1613 Mohamed Bassem 3 -19/+23
fix: Fix oauth creation failure due to missing UserSettings table. Fixes #1583 Mohamed Bassem 4 -45/+81
fix: Use a new public list metadata endpoint for metadata generation Mohamed Bassem 6 -52/+126
feat: Add support for public lists (#1511)
* WIP: public lists
* Drop viewing modes
* Add the public endpoint for assets
* regen the openapi spec
* proper handling for different asset types
* Add num bookmarks and a no bookmark banner
* Correctly set page title
* Add a not-found page
* merge the RSS and public list endpoints
* Add e2e tests for the public endpoints
* Redesign the share list modal
* Make NEXTAUTH_SECRET not required
* propery render text bookmarks
* rebase migration
* fix public token tests
* Add more tests
Mohamed Bassem 36 -147/+3286
feat: add user customisable default archive display behaviour (#1505)
* fix typo
* implementation
* bug fix and refactoring
* Use nuqs for searchParam management
* remove the todo about the tests
* fix tests
---------
Co-authored-by: Mohamed Bassem <me@mbassem.com>
xuatz 19 -24/+2226
feat: Generate RSS feeds from lists (#1507)
* refactor: Move bookmark utils from shared-react to shared
* Expose RSS feeds for lists
* Add e2e tests
* Slightly improve the look of the share dialog
* allow specifying a limit in the rss endpoint
Mohamed Bassem 26 -293/+3131
feat: Add "deleted" webhook event (#1464) Salvatore Gentile 5 -3/+6
feat: Allow defaulting to reader mode when clicking on bookmarks. Fixes #662 Mohamed Bassem 16 -34/+2341
feat: Add AI auto summarization. Fixes #1163 Mohamed Bassem 34 -2639/+4843
feat(api): Expose the endpoint to create a new tag Mohamed Bassem 7 -49/+172
fix(search): add new relevance sort order (#1392)
* fix(search): add new relevance sort order
* address pr comments
* some minor fixes
---------
Co-authored-by: Mohamed Bassem <me@mbassem.com>
xuatz 7 -16/+74
feat: Allow enabling/disabling RSS feeds Mohamed Bassem 10 -21/+2032
fix: When triggering a re-index, drop all the documents first Mohamed Bassem 1 -0/+3
feat: Implement generic rule engine (#1318)
* Add schema for the new rule engine
* Add rule engine backend logic
* Implement the worker logic and event firing
* Implement the UI changesfor the rule engine
* Ensure that when a referenced list or tag are deleted, the corresponding event/action is
* Dont show smart lists in rule engine events
* Add privacy validations for attached tag and list ids
* Move the rules logic into a models
Mohamed Bassem 42 -40/+5787
tests: Add tests for various trpc endpoints Mohamed Bassem 9 -5/+1108
fix: Add includeContent to search endpoint and document it in the docs Mohamed Bassem 11 -22/+122
feat(web): Add support for merging lists (#1231)
* feat: Support list merging
* some fixes
* move @hoarder to @karakeep
---------
Co-authored-by: Mohamed Bassem <me@mbassem.com>
omnitrix 8 -3/+325
fix: Add password salt to the user table Mohamed Bassem 8 -12/+1718
fix: Dont download html content by default in the bookmark grid. Fixes #1198 Mohamed Bassem 14 -36/+112
feat: Allow editing the extracted content of an asset bookmark Mohamed Bassem 6 -6/+66
chore: Rename hoarder packages to karakeep MohamedBassem 230 -644/+654
fix: Deprecate the updateBookmarkText trpc endpoint and replace it with… MohamedBassem 4 -20/+6
feat: Allow editing bookmark details MohamedBassem 14 -102/+732
feat(workers): Adds publisher and author og:meta tags to Bookmark (#1141) erik-nilcoast 12 -33/+2191
feat: Add endpoints for whoami and user stats. Fixes #1113 Mohamed Bassem 9 -9/+455
fix: Harden getBookmarks endpoint against inconsistent bookmarks. Fixes #1094 Mohamed Bassem 2 -66/+60
feat: Move background jobs with the admin actions. Fixes #1083 Mohamed Bassem 8 -257/+284
fix: Fix missing workers in the server stats Mohamed Bassem 3 -0/+86
fix: Move away from JSON outputs to structured outputs. Fixes #1047 Mohamed Bassem 7 -39/+74
feat(web): Show list stats in the sidebar Mohamed Bassem 6 -42/+97
refactor: Move the list logic into a separate model Mohamed Bassem 6 -194/+308
feat: Add a setting page to manage assets. Fixes #730 Mohamed Bassem 16 -347/+630
feat: Add PDF screenshot generation and display (#995)
* Updated pdf2json to 3.1.5
* Extract and store a screenshot from PDF files using pdf2pic
* Installing graphicsmagick and ghostscript
* Generate Missing PDF screenshot with tidyAssets worker for backward support
* Display PDF screenshot instead of the PDF in web if it exists.
* Display PDF screenshot in mobile app if exists.
* Updated pnpm-lock.yaml
* Removed console.log
* Revert the unnecessary changes in package.json
* Revert pnpm-lock changes
* Prevent rendering PDF files if the screenshot is not generated
* refactor: replace useEffect with useMemo for section initialization
* feat: show PDF file download button and handle large PDFs by defaulting to screenshot view
* feat: add file size to openapi spec
* feature: Add Assets preprocessing in fix mode to admin actions
* i18n: add reprocess_assets_fix_mode translation
* i18n: Add missing ar translations
* A bunch of fixes
* Fix openspec schema
---------
Co-authored-by: Mohamed Bassem <me@mbassem.com>
Ahmad Mujahid 34 -101/+545
fix: Dont rearchive singlefile uploads and consider them as archives Mohamed Bassem 4 -4/+20
feat: Update the last modifiedAt timestamp when tags of the bookmark change Mohamed Bassem 1 -0/+9
feat: Add a new modifiedAt field to bookmarks table. Fixes #952 Mohamed Bassem 5 -13/+1683
feat: Change webhooks to be configurable by users Mohamed Bassem 23 -28/+4272
feat: Add Bookmark Sorting Feature (#812)
* feat: add bookmark sorting by creation date
- Add sort order toggle in GlobalActions component
- Implement ascending/descending sort functionality
- Update translations for sorting feature in all languages
- Add sort order icons and dropdown menu
- Maintain sort preference in URL params
* feat: add bookmark sorting by creation date
- Add sort order toggle in GlobalActions component
- Implement ascending/descending sort functionality
- Update translations for sorting feature in all languages
- Add sort order icons and dropdown menu
- Maintain sort preference in URL params during session
Note: Sort order resets to default on page refresh, server-side persistence can be implemented in future enhancement
* feat: Add global sort by date feature with shared sort order state
- Implement global sort order functionality using a shared Zustand store (`useSortOrder` hook).
- Update `getBookmarks` and `searchBookmarks` endpoints to accept a `sortOrder` parameter.
- Refactor code to import `ZSortOrder` from shared types (`bookmarks.ts`), ensuring consistency across the codebase.
- Update components (`UpdatableBookmarksGrid`, `bookmark-search`) to use the shared `useSortOrder` hook.
- Remove unused `zSortBy` definition from `packages/shared/types/bookmarks.ts` to avoid confusion.
- Ensure consistent naming conventions by prefixing Zod inferred types with `Z`.
- Clean up code and address previous PR feedback comments.
* tiny fixes and fixing TS errors
---------
Co-authored-by: Mohamed Bassem <me@mbassem.com>
Daksh Pareek 24 -32/+231
feat: Support customizing the summarization prompt. Fixes #731 Mohamed Bassem 10 -16/+1649
feat: Add support for singlefile extension uploads. #172 Mohamed Bassem 14 -37/+275
feat: Expose the search functionality in the REST API Mohamed Bassem 8 -20/+299
fix: Change search endpoint to accept query as raw string Mohamed Bassem 3 -9/+10
feat: Add support for smart lists (#802)
* feat: Add support for smart lists
* i18n
* Fix update list endpoint
* Add a test for smart lists
* Add header to the query explainer
* Hide remove from lists in the smart context list
* Add proper validation to list form
---------
Co-authored-by: Deepak Kapoor <41769111+orthdron@users.noreply.github.com>
Mohamed Bassem 26 -100/+2045
feat: Introduce advanced search capabilities (#753)
* feat: Implement search filtering in the backend
* feat: Implement search language parser
* rename matcher name
* Add ability to interleve text
* More fixes
* be more tolerable to parsing errors
* Add a search query explainer widget
* Handle date parsing gracefully
* Fix the lockfile
* Encode query search param
* Fix table body error
* Fix error when writing quotes
Mohamed Bassem 11 -20/+1054
feat: Implement the all highlights page. Fixes #620 Mohamed Bassem 13 -85/+255
feat: Add REST APIs for manipulating highlights. Fixes #620 Mohamed Bassem 11 -10/+448
feat: Implement highlights support for links. Fixes #620 Mohamed Bassem 16 -6/+3837
refactor: Move asset preprocessing to its own worker out of the inference worker Mohamed Bassem 7 -120/+258
feat: Add basic pagination to searchBookmarks tRPC Mohamed Bassem 5 -19/+75
feature: Add an admin notice about the usage of the legacy container images Mohamed Bassem 7 -9/+229
feature: Store crawling status code and allow users to find broken links. Fixes… Mohamed Bassem 9 -6/+1628
feature: Allow setting bookmark metadata during creation Mohamed Bassem 4 -133/+120
feature(web): Add the ability to view the bookmarks of a particular rss feed Mohamed Bassem 5 -2/+77
feature: Add support for subscribing to RSS feeds. Fixes #202 Mohamed Bassem 16 -3/+2280
next