aboutsummaryrefslogtreecommitdiffstats
path: root/apps/cli/src/commands/bookmarks.ts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* feat: Add source field to track bookmark creation sources (#2037)Mohamed Bassem2025-10-121-3/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* chore: migrate away from eslint to oxlint (#1642)xuatz2025-06-221-1/+1
| | | | | | | * chore: migrate away from eslint to oxlint * revert turbo task name lint * it seems like we can remove the seemingly default globals
* chore: Rename hoarder packages to karakeepMohamedBassem2025-04-121-2/+2
|
* fix(sdk): Publish both esm and cjs modules for the sdkMohamed Bassem2025-01-051-1/+4
|
* feat(cli): Add title option for bookmarks in CLI commands (#831)Subodh Dahal2025-01-051-3/+4
|
* cli: Extract tag management into separate subcommandMohamedBassem2024-07-271-20/+19
|
* feature(cli): Allow updating tags/lists from CLI (#211)kamtschatka2024-07-271-11/+97
| | | | | | | | | | | | * Improve the CLI #209 added the possibility to assign tags to bookmarks while creating added the possibility to assign a newly created to a list right away added the possibility to add and remove tags from bookmarks * minor tweaks --------- Co-authored-by: MohamedBassem <me@mbassem.com>
* refactor: added the bookmark type to the database (#256)kamtschatka2024-07-011-5/+8
| | | | | | | | | | | | | | | | | * 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>
* fix(cli): Bookmark list output is not a valid JSON. Fixes #150 (#181)kamtschatka2024-06-091-34/+70
| | | | | | | | | | | * bookmark list output is not a valid JSON #150 Reworked the cli to switch over to json output * changed the logging to log created bookmarks as an array switch all log output that is just a status to stderr --------- Co-authored-by: kamtschatka <simon.schatka@gmx.at>
* fix(cli): Switched to cursorV2 to make use of the fix for #140 and prevent ↵kamtschatka2024-05-241-0/+1
| | | | | infinite loops (#176) Co-authored-by: kamtschatka <simon.schatka@gmx.at>
* fix(cli): Remove limit from array length when listing bookmarks. Fixes #135MohamedBassem2024-05-051-2/+4
|
* fix(cli): Allow bookmark listing to fetch all pages instead of only the ↵MohamedBassem2024-05-051-3/+16
| | | | first one. Fixes #135
* style(cli): Change all help messages to lowercaseMohamedBassem2024-04-241-12/+12
|
* build(cli): Prepare for publishing CLI to npmMohamedBassem2024-04-241-0/+135