aboutsummaryrefslogtreecommitdiffstats
path: root/apps/cli/src/commands (unfollow)
Commit message (Collapse)AuthorFilesLines
2026-01-26feat(cli): Add bookmark search command (#2426)Mohamed Bassem2-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>
2025-12-25fix(cli): migrate bookmark source in migration commandMohamed Bassem1-0/+1
2025-12-08feat(cli): Add ability to list users for the admin in the CLIMohamed Bassem1-0/+89
2025-10-12feat: Add source field to track bookmark creation sources (#2037)Mohamed Bassem1-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>
2025-09-28feat: Add tag search and pagination (#1987)Mohamed Bassem3-6/+17
* 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
2025-09-14feat(cli): Give more targetting options for dump/migrate/wipeMohamed Bassem3-304/+419
2025-09-14feat(cli): Implement a full account dump archiveMohamed Bassem1-0/+377
2025-09-14feat(cli): Implement a wipe command in the CLIMohamed Bassem1-0/+386
2025-09-14feat: Add scripts to migrate all content from one server to the otherMohamed Bassem1-0/+774
2025-06-22chore: migrate away from eslint to oxlint (#1642)xuatz1-1/+1
* chore: migrate away from eslint to oxlint * revert turbo task name lint * it seems like we can remove the seemingly default globals
2025-04-12chore: Rename hoarder packages to karakeepMohamedBassem2-3/+3
2025-01-05fix(sdk): Publish both esm and cjs modules for the sdkMohamed Bassem1-1/+4
2025-01-05feat(cli): Add title option for bookmarks in CLI commands (#831)Subodh Dahal1-3/+4
2025-01-02feat: Add support for smart lists (#802)Mohamed Bassem1-2/+10
* 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>
2024-10-20fix: Improve field names in the tag APIsMohamed Bassem1-2/+2
2024-10-05feature(cli): Add ability to get all bookmark IDs of a list. Fixes #442 (#446)kamtschatka1-0/+18
Added a command that returns the ids of the bookmarks in a list
2024-07-27cli: Extract tag management into separate subcommandMohamedBassem1-20/+19
2024-07-27feature(cli): Allow updating tags/lists from CLI (#211)kamtschatka2-28/+118
* 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>
2024-07-01refactor: added the bookmark type to the database (#256)kamtschatka1-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>
2024-06-09fix(cli): Bookmark list output is not a valid JSON. Fixes #150 (#181)kamtschatka4-77/+177
* 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>
2024-05-24fix(cli): Switched to cursorV2 to make use of the fix for #140 and prevent ↵kamtschatka1-0/+1
infinite loops (#176) Co-authored-by: kamtschatka <simon.schatka@gmx.at>
2024-05-05fix(cli): Remove limit from array length when listing bookmarks. Fixes #135MohamedBassem1-2/+4
2024-05-05fix(cli): Allow bookmark listing to fetch all pages instead of only the ↵MohamedBassem1-3/+16
first one. Fixes #135
2024-04-24style(cli): Change all help messages to lowercaseMohamedBassem3-26/+26
2024-04-24build(cli): Prepare for publishing CLI to npmMohamedBassem4-0/+259