[PR #2] [MERGED] Feature: Add support for uploading images and automatically inferring their tags #1521

Closed
opened 2026-03-02 11:58:00 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/karakeep-app/karakeep/pull/2
Author: @MohamedBassem
Created: 3/19/2024
Status: Merged
Merged: 3/19/2024
Merged by: @MohamedBassem

Base: mainHead: bookmark-assets


📝 Commits (10+)

  • e2b7ea5 feature: Experimental support for asset uploads
  • ea3e08b feature(web): Add new bookmark type asset
  • 8bcd58d feature: Add support for automatically tagging images
  • d0acfac fix: Add support for image assets in preview page
  • cc2bba9 use next Image for fetching the images
  • b1d0f6d Fix auth and error codes in the route handlers
  • 27d9d63 Add support for image uploads on mobile
  • fd3e7c5 Fix typing of upload requests
  • 6546891 Remove the ugly dragging box
  • af17bc5 Bump mobile version to 1.3

📊 Changes

31 files changed (+2736 additions, -79 deletions)

View changed files

📝 .husky/pre-commit (+1 -0)
📝 apps/mobile/app.json (+9 -3)
📝 apps/mobile/app/dashboard/(tabs)/index.tsx (+34 -2)
📝 apps/mobile/app/sharing.tsx (+28 -6)
📝 apps/mobile/components/bookmarks/BookmarkCard.tsx (+33 -0)
apps/mobile/lib/upload.ts (+72 -0)
📝 apps/mobile/package.json (+1 -0)
📝 apps/mobile/tsconfig.json (+1 -1)
apps/web/app/api/assets/[assetId]/route.ts (+29 -0)
apps/web/app/api/assets/route.ts (+52 -0)
📝 apps/web/app/api/trpc/[trpc]/route.ts (+2 -17)
📝 apps/web/app/dashboard/layout.tsx (+2 -1)
apps/web/components/dashboard/UploadDropzone.tsx (+79 -0)
apps/web/components/dashboard/bookmarks/AssetCard.tsx (+76 -0)
📝 apps/web/components/dashboard/bookmarks/BookmarkPreview.tsx (+17 -0)
📝 apps/web/components/dashboard/bookmarks/BookmarksGrid.tsx (+4 -0)
📝 apps/web/components/dashboard/bookmarks/EditorCard.tsx (+3 -1)
📝 apps/web/package.json (+1 -0)
📝 apps/web/server/api/client.ts (+18 -0)
📝 apps/workers/openaiWorker.ts (+87 -17)

...and 11 more files

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/karakeep-app/karakeep/pull/2 **Author:** [@MohamedBassem](https://github.com/MohamedBassem) **Created:** 3/19/2024 **Status:** ✅ Merged **Merged:** 3/19/2024 **Merged by:** [@MohamedBassem](https://github.com/MohamedBassem) **Base:** `main` ← **Head:** `bookmark-assets` --- ### 📝 Commits (10+) - [`e2b7ea5`](https://github.com/karakeep-app/karakeep/commit/e2b7ea5057fdbec9616b40641ef69f785c68b325) feature: Experimental support for asset uploads - [`ea3e08b`](https://github.com/karakeep-app/karakeep/commit/ea3e08b25fe7991ded0a7f4421754d89e9d9ffe3) feature(web): Add new bookmark type asset - [`8bcd58d`](https://github.com/karakeep-app/karakeep/commit/8bcd58d9ba71a801799443e67907545e388f93e3) feature: Add support for automatically tagging images - [`d0acfac`](https://github.com/karakeep-app/karakeep/commit/d0acfacf57cd79f618b56e0b6f90a0cb1e0f777c) fix: Add support for image assets in preview page - [`cc2bba9`](https://github.com/karakeep-app/karakeep/commit/cc2bba95383961560692f43b3610616427e98ebd) use next Image for fetching the images - [`b1d0f6d`](https://github.com/karakeep-app/karakeep/commit/b1d0f6d5b0f94b66b066fe7fdce47f64b17e0b9f) Fix auth and error codes in the route handlers - [`27d9d63`](https://github.com/karakeep-app/karakeep/commit/27d9d638c87de8d7fb0e52282c04ef91570d7503) Add support for image uploads on mobile - [`fd3e7c5`](https://github.com/karakeep-app/karakeep/commit/fd3e7c57bcd73370206f7d01c0876e152c0ad797) Fix typing of upload requests - [`6546891`](https://github.com/karakeep-app/karakeep/commit/6546891665d5da665a24e993620acbd40954fa62) Remove the ugly dragging box - [`af17bc5`](https://github.com/karakeep-app/karakeep/commit/af17bc5b4f24feadf05057ac4479d9b0aae06f3c) Bump mobile version to 1.3 ### 📊 Changes **31 files changed** (+2736 additions, -79 deletions) <details> <summary>View changed files</summary> 📝 `.husky/pre-commit` (+1 -0) 📝 `apps/mobile/app.json` (+9 -3) 📝 `apps/mobile/app/dashboard/(tabs)/index.tsx` (+34 -2) 📝 `apps/mobile/app/sharing.tsx` (+28 -6) 📝 `apps/mobile/components/bookmarks/BookmarkCard.tsx` (+33 -0) ➕ `apps/mobile/lib/upload.ts` (+72 -0) 📝 `apps/mobile/package.json` (+1 -0) 📝 `apps/mobile/tsconfig.json` (+1 -1) ➕ `apps/web/app/api/assets/[assetId]/route.ts` (+29 -0) ➕ `apps/web/app/api/assets/route.ts` (+52 -0) 📝 `apps/web/app/api/trpc/[trpc]/route.ts` (+2 -17) 📝 `apps/web/app/dashboard/layout.tsx` (+2 -1) ➕ `apps/web/components/dashboard/UploadDropzone.tsx` (+79 -0) ➕ `apps/web/components/dashboard/bookmarks/AssetCard.tsx` (+76 -0) 📝 `apps/web/components/dashboard/bookmarks/BookmarkPreview.tsx` (+17 -0) 📝 `apps/web/components/dashboard/bookmarks/BookmarksGrid.tsx` (+4 -0) 📝 `apps/web/components/dashboard/bookmarks/EditorCard.tsx` (+3 -1) 📝 `apps/web/package.json` (+1 -0) 📝 `apps/web/server/api/client.ts` (+18 -0) 📝 `apps/workers/openaiWorker.ts` (+87 -17) _...and 11 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 11:58:00 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/karakeep#1521
No description provided.