aboutsummaryrefslogtreecommitdiffstats
path: root/apps/cli/src/commands (follow)
Commit message (Collapse)AuthorAgeFilesLines
* feat(cli): Add ability to list users for the admin in the CLImainMohamed Bassem2025-12-081-0/+89
|
* 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>
* feat: Add tag search and pagination (#1987)Mohamed Bassem2025-09-283-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
* feat(cli): Give more targetting options for dump/migrate/wipeMohamed Bassem2025-09-143-304/+419
|
* feat(cli): Implement a full account dump archiveMohamed Bassem2025-09-141-0/+377
|
* feat(cli): Implement a wipe command in the CLIMohamed Bassem2025-09-141-0/+386
|
* feat: Add scripts to migrate all content from one server to the otherMohamed Bassem2025-09-141-0/+774
|
* 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-122-3/+3
|
* 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
|
* feat: Add support for smart lists (#802)Mohamed Bassem2025-01-021-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>
* fix: Improve field names in the tag APIsMohamed Bassem2024-10-201-2/+2
|
* feature(cli): Add ability to get all bookmark IDs of a list. Fixes #442 (#446)kamtschatka2024-10-051-0/+18
| | | Added a command that returns the ids of the bookmarks in a list
* cli: Extract tag management into separate subcommandMohamedBassem2024-07-271-20/+19
|
* feature(cli): Allow updating tags/lists from CLI (#211)kamtschatka2024-07-272-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>
* 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-094-78/+178
| | | | | | | | | | | * 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-243-26/+26
|
* build(cli): Prepare for publishing CLI to npmMohamedBassem2024-04-244-0/+259