rcgit

/ karakeep
follow (on) | order: default date topo
Age Commit message Author Files +/-
fix(mobile): Fix crash when bookmark doesn't have archive or screenshot. Fixes… Mohamed Bassem 2 -26/+65
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
feat(mobile): Add support for viewing PDFs (#1519)
* feat(mobile): add react-native-pdf dependency
Add react-native-pdf package to enable PDF viewing functionality
in the mobile app. This will be used to display PDF bookmarks
directly within the app.
Part of #597
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* feat(mobile): add PDF viewer component with authentication support
Add a dedicated PDFViewer component that handles downloading and
displaying PDF assets with proper authentication headers. Features
include:
- Download progress indication
- Error handling with user-friendly messages
- Automatic cleanup of temporary files
- Proper memory management to prevent leaks
- Content type validation for PDF files
Part of #597
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* feat(mobile): integrate PDF viewing in bookmark detail view
Integrate the PDFViewer component to display PDF bookmarks inline.
When a bookmark is a PDF asset, it now renders using the dedicated
PDF viewer instead of treating it as an image.
Also adds external PDF opening functionality with platform-specific
handling for iOS and Android, proper filename handling, and temporary
file cleanup.
Additionally fixes dark mode styling for the navigation header to ensure
proper contrast in both light and dark themes.
Part of #597
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* revert the open externally button
* use react query for downloading the pdf
---------
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: MohamedBassem <me@mbassem.com>
Code Love 4 -33/+226
fix(mobile): Move the delete button to the end in the bookmark menu MohamedBassem 1 -11/+11
feat(mobile): add reader/screenshot/archive view to bookmark preview (#1509)
* feat(mobile): add reader view by default to bookmark detail view, retaining WebView fallback
* feat(mobile): add dark mode support for mobile reader view
* Add selectors for different views for bookmark link
---------
Co-authored-by: MohamedBassem <me@mbassem.com>
Simon Kenny 2 -12/+288
refactor: Move bookmark utils from shared-react to shared Mohamed Bassem 20 -104/+100
fix: Dont download html content by default in the bookmark grid. Fixes #1198 Mohamed Bassem 14 -36/+112
chore: Rename hoarder packages to karakeep MohamedBassem 230 -644/+654
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
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: Add delete bookmark confirmation dialog. Fixes #776 (#787) Nicole Li 6 -38/+110
feat(mobile): Add support for managing tags from mobile MohamedBassem 6 -16/+211
ui(mobile): Replace bottom sheet with native screens (#690)
* Remove bottom sheet from bookmark info page
* Remove bottom sheet from manage lists page
* Remove bottom sheet from new list page
* Remove bottom sheet from new bookmark page
* Drop bottom-sheets
* Improve the look of the modals
* Make the search page fade from bottom
Mohamed Bassem 19 -914/+746
feature(mobile): Use inline WebView for expanding bookmarks MohamedBassem 5 -151/+329
feature(mobile): Add proper error handling for server errors MohamedBassem 6 -13/+58
feature(mobile): Show the view bookmark modal for links as well MohamedBassem 2 -5/+56
feature(mobile): Allow interacting with images in the app. Fixes #352 MohamedBassem 6 -18/+52
ui(mobile): Merge the editors for notes and links MohamedBassem 3 -32/+30
feature(mobile): Change the view bookmark page to be a modal and add tags and
notes
MohamedBassem 6 -192/+285
ui(mobile): Change the add/edit note editor dialogs to be bottom sheets MohamedBassem 5 -125/+154
feature(mobile): Allow editing notes from the mobile app MohamedBassem 4 -32/+122
fix(mobile): Allow expanding the text by clicking on bookmark card MohamedBassem 4 -37/+160
feat(mobile): Add ability to manage lists MohamedBassem 6 -163/+426
refactor: fixed typos in BookmarkTypes (#268) kamtschatka 3 -6/+6
refactor: added the bookmark type to the database (#256)
* refactoring asset types
Extracted out functions to silently delete assets and to update them after crawling
Generalized the mapping of assets to bookmark fields to make extending them easier
* Added the bookmark type to the database
Introduced an enum to have better type safety
cleaned up the code and based some code on the type directly
* add BookmarkType.UNKNWON
* lint and remove unused function
---------
Co-authored-by: MohamedBassem <me@mbassem.com>
kamtschatka 27 -120/+1266
fix: Fix missing bookmarks during pagination if they got created in the same… MohamedBassem 5 -20/+120
ui(mobile): Add horizontal margins to the bookmark cards MohamedBassem 4 -3/+10
feature: Download images and screenshots MohamedBassem 22 -135/+1373
refactor: Move the shared types to the shared package MohamedBassem 53 -241/+260
mobile: Add dark mode support MohamedBassem 22 -56/+188
feature: Add title to bookmarks and allow editing them. Fixes #27 MohamedBassem 17 -54/+1240
feature: Extract hook logic into separate package and add a new action bar in… MohamedBassem 23 -330/+672
format: Add missing lint and format, and format the entire repo MohamedBassem 57 -192/+255
mobile(android): Getting the android app ready for submission MohamedBassem 19 -43/+109
fix(mobile): Fix flicker on search MohamedBassem 8 -70/+105
Feature: Add support for uploading images and automatically inferring their…
* feature: Experimental support for asset uploads
* feature(web): Add new bookmark type asset
* feature: Add support for automatically tagging images
* fix: Add support for image assets in preview page
* use next Image for fetching the images
* Fix auth and error codes in the route handlers
* Add support for image uploads on mobile
* Fix typing of upload requests
* Remove the ugly dragging box
* Bump mobile version to 1.3
* Change the editor card placeholder to mention uploading images
* Fix a typo
* Change ios icon for photo library
* Silence typescript error
Mohamed Bassem 31 -79/+2736
feature: Implemente pagination support MohamedBassem 8 -70/+143
refactor: Prepare for pagination by dropping querying bookmarks by id MohamedBassem 16 -100/+155
ui(mobile): New header style in the app MohamedBassem 12 -114/+163
fix(mobile): Scroll to the top when the main tab is clicked MohamedBassem 3 -9/+15
feat(mobile): Add tag viewing page MohamedBassem 2 -2/+34
mobile: Revamp bookmark card's action bar MohamedBassem 3 -57/+116
mobile: Fix keyboard interactions in search and signin form MohamedBassem 2 -50/+64
mobile: Revert the margins around the cards MohamedBassem 5 -9/+7
lint: Lint and format the entire repo with the new configs MohamedBassem 122 -411/+424
structure: Create apps dir and copy tooling dir from t3-turbo repo MohamedBassem 396 -9511/+10350