[PR #1088] [MERGED] Adds summarize action to the public API (proxy to TRPC mutation) #1732

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

📋 Pull Request Information

Original PR: https://github.com/karakeep-app/karakeep/pull/1088
Author: @erik-nilcoast
Created: 3/2/2025
Status: Merged
Merged: 3/9/2025
Merged by: @MohamedBassem

Base: mainHead: erik/subscribe


📝 Commits (1)

  • 66726ee feat: adds /summarize route to /api/v1/bookmarks/[id]/

📊 Changes

3 files changed (+121 additions, -0 deletions)

View changed files

apps/web/app/api/v1/bookmarks/[bookmarkId]/summarize/route.ts (+19 -0)
📝 packages/open-api/hoarder-openapi-spec.json (+79 -0)
📝 packages/open-api/lib/bookmarks.ts (+23 -0)

📄 Description

I added this in two commits. One is just for me. I had a few issues getting this running locally on a Linux box. It could just be a me problem :|

The second commit has the addition of a subroute for the summary mutation. It should return the bookmark object with the summarized contents. Please feel free to add or remove any commits and I'll do my best to address any feedback.

Thanks for a fantastic project.

Addresses: https://github.com/hoarder-app/hoarder/issues/523


🔄 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/1088 **Author:** [@erik-nilcoast](https://github.com/erik-nilcoast) **Created:** 3/2/2025 **Status:** ✅ Merged **Merged:** 3/9/2025 **Merged by:** [@MohamedBassem](https://github.com/MohamedBassem) **Base:** `main` ← **Head:** `erik/subscribe` --- ### 📝 Commits (1) - [`66726ee`](https://github.com/karakeep-app/karakeep/commit/66726ee3fa89e2db6823cd76042222330a7f3713) feat: adds /summarize route to /api/v1/bookmarks/[id]/ ### 📊 Changes **3 files changed** (+121 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `apps/web/app/api/v1/bookmarks/[bookmarkId]/summarize/route.ts` (+19 -0) 📝 `packages/open-api/hoarder-openapi-spec.json` (+79 -0) 📝 `packages/open-api/lib/bookmarks.ts` (+23 -0) </details> ### 📄 Description I added this in two commits. One is just for me. I had a few issues getting this running locally on a Linux box. It could just be a me problem :| The second commit has the addition of a subroute for the summary mutation. It should return the bookmark object with the summarized contents. Please feel free to add or remove any commits and I'll do my best to address any feedback. Thanks for a fantastic project. Addresses: https://github.com/hoarder-app/hoarder/issues/523 --- <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:55 +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#1732
No description provided.