Commit Graph

53 Commits

Author SHA1 Message Date
Mohamed Bassem
2b89f1777e release(cli,sdk): release cli and sdk v0.30 2026-01-01 14:18:24 +00:00
Mohamed Bassem
65cfa87107 fix(cli): migrate bookmark source in migration command 2025-12-25 13:01:57 +00:00
Mohamed Bassem
697c853a7d release(cli): Bump CLI version to 0.29.1 2025-12-13 13:55:51 +00:00
Mohamed Bassem
69a756aadd feat(cli): Add ability to list users for the admin in the CLI 2025-12-08 11:02:59 +00:00
Mohamed Bassem
28d6750ecc release: cli, mcp and sdk 2025-11-29 18:35:52 +00:00
Mohamed Bassem
2defc2475f feat: Add source field to track bookmark creation sources (#2037)
* 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-10-12 22:41:56 +01:00
Mohamed Bassem
62f7d900c5 feat: Add tag search and pagination (#1987)
* 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-28 11:03:48 +01:00
Mohamed Bassem
69ef2ffe5e release(cli): Bump CLI version to 0.27.1 2025-09-14 14:48:48 +00:00
Mohamed Bassem
6501f69a2d feat(cli): Give more targetting options for dump/migrate/wipe 2025-09-14 14:48:25 +00:00
Mohamed Bassem
0700aab8c8 release(cli): Bump CLI version to 0.27.0 2025-09-14 13:15:05 +00:00
Mohamed Bassem
b9a8ca2948 feat(cli): Implement a full account dump archive 2025-09-14 13:14:41 +00:00
Mohamed Bassem
bc0e746150 feat(cli): Implement a wipe command in the CLI 2025-09-14 13:01:19 +00:00
Mohamed Bassem
783f72cb91 feat: Add scripts to migrate all content from one server to the other 2025-09-14 12:47:21 +00:00
MohamedBassem
77ae89b222 chore: More turbo fixes 2025-07-27 15:06:22 +01:00
MohamedBassem
8f1cb065d7 fix: Ensure that all packages are ESM packages 2025-07-27 14:36:16 +01:00
Mohamed Bassem
a441a67775 deps: Upgrade vite 2025-07-26 21:32:40 +00:00
Mohamed Bassem
fd0bac2832 deps: Upgrade trpc 2025-07-26 10:26:39 +00:00
Mohamed Bassem
f7b3193815 chore: More oxlint changes 2025-06-22 12:38:24 +00:00
xuatz
d5e2973dce 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
2025-06-22 12:29:30 +01:00
Mohamed Bassem
bb00699b79 release(cli): Bump CLI version to 0.25.0 2025-06-15 17:48:29 +00:00
MohamedBassem
755fc36e91 chore: Rename hoarder packages to karakeep 2025-04-12 19:37:40 +01:00
Mohamed Bassem
7297144c3a deps: Upgrade trpc and react query 2025-03-22 16:08:26 +00:00
Mohamed Bassem
59c444a503 fix: Revert the accidental upgrade of deps. #1107 2025-03-10 14:57:04 +00:00
dependabot[bot]
d2c37c2e6a build(deps-dev): bump vite from 5.1.4 to 5.4.12 (#1103)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.1.4 to 5.4.12.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.12/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.4.12/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-09 21:24:36 +00:00
Mohamed Bassem
c0a4af7887 fix: Fix node22 error in worker container. Fixes #962 2025-02-02 15:47:21 +00:00
Mohamed Bassem
838d30890a fix(sdk): Publish both esm and cjs modules for the sdk 2025-01-05 17:33:44 +00:00
Subodh Dahal
90412dca3f feat(cli): Add title option for bookmarks in CLI commands (#831) 2025-01-05 16:46:06 +00:00
Mohamed Bassem
5ecdc36b7d feat: Add support for smart lists (#802)
* 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>
2025-01-02 13:00:58 +02:00
Mohamed Bassem (aider)
17af22bb6d chore: add format:fix and lint:fix scripts to all packages 2024-12-31 12:33:48 +00:00
Mohamed Bassem
7dd5b2bc87 release(cli): Bump CLI version to 0.20.0 2024-12-28 10:43:43 +00:00
Mohamed Bassem
4086c37b83 fix: Improve field names in the tag APIs 2024-10-20 16:00:17 +00:00
kamtschatka
4bda7a9230 feature(cli): Add ability to get all bookmark IDs of a list. Fixes #442 (#446)
Added a command that returns the ids of the bookmarks in a list
2024-10-05 14:37:39 +01:00
MohamedBassem
a13c552f2b build: Fix sherif failures by sorting deps 2024-08-31 17:48:00 +00:00
MohamedBassem
f6ecef8832 cli: Extract tag management into separate subcommand 2024-07-27 20:47:28 +00:00
MohamedBassem
4f661c410d release(cli): Bump CLI version to 0.13.6 2024-07-27 20:34:34 +00:00
kamtschatka
5e4decbe96 feature(cli): Allow updating tags/lists from CLI (#211)
* 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-27 13:32:37 -07:00
kamtschatka
a2225648a2 fix: Fix TRPC batchign failure because of long URLs. Fixes #281 (#291)
limiting the length of the URL for batched requests to prevent 431 errors
2024-07-13 13:39:25 +01:00
kamtschatka
e6486465de 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>
2024-07-01 12:03:53 +01:00
MohamedBassem
219329b2a6 release(cli): Bump CLI version to 0.13.5 2024-06-09 21:44:32 +00:00
MohamedBassem
5f263a3017 release(cli): Bump CLI version to 0.13.4 2024-06-09 21:39:02 +00:00
kamtschatka
cde97267a9 fix(cli): Bookmark list output is not a valid JSON. Fixes #150 (#181)
* 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-06-09 22:30:24 +01:00
MohamedBassem
f7a7753324 fix(cli): Fix CLI version in help message. Fixes #139 2024-06-09 10:52:09 +00:00
kamtschatka
6dc67cf467 fix(cli): Switched to cursorV2 to make use of the fix for #140 and prevent infinite loops (#176)
Co-authored-by: kamtschatka <simon.schatka@gmx.at>
2024-05-24 23:21:05 +01:00
MohamedBassem
1506ff0f69 docs: Change references from the old repo URL to the new one 2024-05-19 18:58:45 +00:00
MohamedBassem
2ed134e6f4 fix(cli): Remove limit from array length when listing bookmarks. Fixes #135 2024-05-05 14:41:16 +01:00
MohamedBassem
79777bd7e2 build: Add a workflow to auto publish the CLI to npm 2024-05-05 12:21:00 +01:00
MohamedBassem
27f45d595b fix(cli): Allow bookmark listing to fetch all pages instead of only the first one. Fixes #135 2024-05-05 11:55:27 +01:00
MohamedBassem
ac2f78f636 style(cli): Change all help messages to lowercase 2024-04-24 12:40:29 +01:00
MohamedBassem
3352a3ea39 build(cli): Prepare for publishing CLI to npm 2024-04-24 12:21:55 +01:00
MohamedBassem
af0cf9c1ee feature(cli): Add ability to manipulate lists, tags and update bookmarks 2024-04-24 11:08:30 +01:00