aboutsummaryrefslogtreecommitdiffstats
path: root/packages/db (follow)
Commit message (Collapse)AuthorAgeFilesLines
* feat: Allow enabling/disabling RSS feedsMohamed Bassem2025-05-174-0/+1968
|
* feat: Implement generic rule engine (#1318)Mohamed Bassem2025-04-274-2/+2109
| | | | | | | | | | | | | | | | | * 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
* chore: rename missing files/conf from Hoarder to Karakeep (#1280)adripo2025-04-211-1/+1
| | | | | | | | | * refactor: Rename remaining project configuration from Hoarder to Karakeep * some fixes --------- Co-authored-by: Mohamed Bassem <me@mbassem.com>
* tests: Add tests for various trpc endpointsMohamed Bassem2025-04-161-1/+1
|
* fix: Add password salt to the user tableMohamed Bassem2025-04-154-1/+1695
|
* feat(web): Optionally add short description to lists (#1225)ekambains2025-04-124-0/+1686
| | | | | | | | | * feat(web): Optionally add short description to lists * regenerate openapi spec --------- Co-authored-by: Mohamed Bassem <me@mbassem.com>
* chore: Rename hoarder packages to karakeepMohamedBassem2025-04-124-10/+10
|
* feat(workers): Adds publisher and author og:meta tags to Bookmark (#1141)erik-nilcoast2025-03-224-0/+1685
|
* feat: Add support for 'ai tagged' as a webhook trigger. Fixes #1092Mohamed Bassem2025-03-071-2/+1
|
* refactor: Move the list logic into a separate modelMohamed Bassem2025-03-022-0/+2
|
* feat: Add PDF screenshot generation and display (#995)Ahmad Mujahid2025-02-171-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* fix: Fix node22 error in worker container. Fixes #962Mohamed Bassem2025-02-021-1/+1
|
* feat: Add a new modifiedAt field to bookmarks table. Fixes #952Mohamed Bassem2025-02-014-0/+1659
|
* feat: Change webhooks to be configurable by usersMohamed Bassem2025-01-196-0/+3319
|
* feat: Support customizing the summarization prompt. Fixes #731Mohamed Bassem2025-01-124-2/+1572
|
* feat: Add support for singlefile extension uploads. #172Mohamed Bassem2025-01-111-0/+2
|
* Revert "ci: Run tests on push (#807)" (#808)Mohamed Bassem2025-01-021-1/+1
| | | This reverts commit 39358b1517a06b90b9886a648ce1c595d1556c8e.
* ci: Run tests on push (#807)Mohamed Bassem2025-01-021-1/+1
| | | | | | | * ci: Run tests on push * disable drizzle logging in tests * run db migrations in trpc tests
* feat: Add support for smart lists (#802)Mohamed Bassem2025-01-024-0/+1573
| | | | | | | | | | | | | | | | | | | * 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>
* refactor: Migrate from the deprecated drizzle-orm schemaMohamed Bassem2025-01-012-61/+48
|
* deps: Upgrade drizzle-orm to 0.38.3Mohamed Bassem2024-12-291-1/+1
|
* feat: Implement highlights support for links. Fixes #620Mohamed Bassem2024-12-276-0/+3108
|
* feature: Store crawling status code and allow users to find broken links. ↵Mohamed Bassem2024-12-084-0/+1421
| | | | Fixes #169
* fix: Fix slow AllTags page because of misconfigured tagId index. Fixes #528Mohamed Bassem2024-11-084-1/+1414
|
* feature: Add support for subscribing to RSS feeds. Fixes #202Mohamed Bassem2024-11-034-0/+1482
|
* feature: Archive videos using yt-dlp. Fixes #215 (#525)kamtschatka2024-10-281-0/+2
| | | | | | | | | | | | | | | | | | | | | * Allow downloading more content from a webpage and index it #215 Added a worker that allows downloading videos depending on the environment variables refactored the code a bit added new video asset updated documentation * Some tweaks * Drop the dependency on the yt-dlp wrapper * Update openapi specs * Dont log an error when the url is not supported * Better handle supported websites that dont download anything --------- Co-authored-by: Mohamed Bassem <me@mbassem.com>
* feature: Add a summarize with AI button for linksMohamed Bassem2024-10-274-0/+1238
|
* deps: Upgrade nodejs to v22MohamedBassem2024-10-121-2/+2
|
* refactor: Start tracking bookmark assets in the assets tableMohamedBassem2024-10-064-5/+1254
|
* refactor: Include userId in the assets tableMohamedBassem2024-10-064-0/+1225
|
* feature: Persevere the source URL of clipped texts from the extension.MohamedBassem2024-10-054-0/+1182
| | | | Fixes #448
* feature(web): Add the ability to customize the inference prompts. Fixes #170MohamedBassem2024-09-294-0/+1205
|
* deps: Upgrade drizzle-kitMohamedBassem2024-09-2829-2169/+2195
|
* deps: Upgrade drizzle and next auth drizzle adapterMohamedBassem2024-09-151-1/+1
|
* chore: added a new table to store the config in the database (#279)kamtschatka2024-07-084-0/+1106
|
* refactor: added the bookmark type to the database (#256)kamtschatka2024-07-014-0/+1090
| | | | | | | | | | | | | | | | | * 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>
* refactor: remove redundant code from crawler worker and refactor handling of ↵kamtschatka2024-06-291-0/+14
| | | | | | | | | | | | | asset types (#253) * 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 * revert silentDeleteAsset and hide better-sqlite3 --------- Co-authored-by: MohamedBassem <me@mbassem.com>
* refactor: extract assets into their own database table. #215 (#220)kamtschatka2024-06-234-3/+1135
| | | | | | | | | | | | | | | | | | | * Allow downloading more content from a webpage and index it #215 added a new table that contains the information about assets for link bookmarks created migration code that transfers the existing data into the new table * Allow downloading more content from a webpage and index it #215 removed the old asset columns from the database updated the UI to use the data from the linkBookmarkAssets array * generalize the assets table to not be linked in particular to links * fix migrations post merge * fix missing asset ids in the getBookmarks call --------- Co-authored-by: MohamedBassem <me@mbassem.com>
* feature: add support for PDF links. Fixes #28 (#216)kamtschatka2024-06-224-28/+1065
| | | | | | | | | | | | | | | | | * feature request: pdf support #28 Added a new sourceUrl column to the asset bookmarks Added transforming a link bookmark pointing at a pdf to an asset bookmark made sure the "View Original" link is also shown for asset bookmarks that have a sourceURL updated gitignore for IDEA * remove pdf parsing from the crawler * extract the http logic into its own function to avoid duplicating the post-processing actions (openai/index) * Add 5s timeout to the content type fetch --------- Co-authored-by: MohamedBassem <me@mbassem.com>
* feature: Full page archival with monolith. Fixes #132MohamedBassem2024-05-264-0/+1024
|
* fix: Add the missing bookmark URL index migrationMohamedBassem2024-05-183-0/+1016
|
* feature: Dedup links on creation. Fixes #49MohamedBassem2024-05-061-0/+4
|
* feature: Download images and screenshotsMohamedBassem2024-04-204-0/+1011
|
* feature: Nested lists (#110). Fixes #62Mohamed Bassem2024-04-194-1/+1002
| | | | | * feature: Add support for nested lists * prevent moving the parent to a subtree
* feature: Add title to bookmarks and allow editing them. Fixes #27MohamedBassem2024-04-154-0/+983
|
* feature: Recrawl failed links from admin UI (#95)Ahmad Mujahid2024-04-114-0/+980
| | | | | * feature: Retry failed crawling URLs * fix: Enhancing visuals and some minor changes.
* feature: Add PDF support (#88)Ahmad Mujahid2024-04-116-1/+1941
| | | | | | | | | | | | | | | | | | | * feature: Add PDF support * fix: PDF feature enhancements * fix: Freeze expo-share-intent version to prevent breaking changes * fix: set endOfLine to auto for cross-platform development * fix: Upgrading eslint/parser and eslint-plugin to 7.6.0 to solve the linting issues * fix: enhancing PDF feature * fix: Allowing null in fiename for backward compatibility * fix: update pnpm file with pnpm 9.0.0-alpha-8 * fix:(web): PDF Preview for web
* feature(web): Add support for attaching notes to bookmarksMohamedBassem2024-03-304-0/+947
|
* refactor: Validate env variables using zodMohamedBassem2024-03-272-2/+4
|
* refactor: Change asset storage to be the filesystem instead of sqliteMohamedBassem2024-03-196-24/+1889
|