[GH-ISSUE #1260] Can I set the full page content of a bookmark by myself instead of having it fetched automatically? #808

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

Originally created by @dzx-dzx on GitHub (Apr 13, 2025).
Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/1260

Describe the feature you'd like

I have my own feed reader which I spent a lot of time polishing its ability to fetch the article's full content. I hope to just extract such content from my reader and send it to karakeep, instead of setting up credentials on another location.

Describe the benefits this would bring to existing Karakeep users

Browser extensions can subsequently add a function to send the whole page to this service, which I believe is an improvement.

Can the goal of this request already be achieved via other means?

I thought https://docs.karakeep.app/api/update-a-bookmark/ is what I'm looking for, but description and text doesn't work.

Have you searched for an existing open/closed issue?

  • I have searched for existing issues and none cover my fundamental request

Additional context

No response

Originally created by @dzx-dzx on GitHub (Apr 13, 2025). Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/1260 ### Describe the feature you'd like I have my own feed reader which I spent a lot of time polishing its ability to fetch the article's full content. I hope to just extract such content from my reader and send it to karakeep, instead of setting up credentials on another location. ### Describe the benefits this would bring to existing Karakeep users Browser extensions can subsequently add a function to send the whole page to this service, which I believe is an improvement. ### Can the goal of this request already be achieved via other means? I thought https://docs.karakeep.app/api/update-a-bookmark/ is what I'm looking for, but `description` and `text` doesn't work. ### Have you searched for an existing open/closed issue? - [x] I have searched for existing issues and none cover my fundamental request ### Additional context _No response_
Author
Owner

@MohamedBassem commented on GitHub (Apr 13, 2025):

We support the SingleFile extension which does exactly that: https://docs.karakeep.app/Guides/singlefile. So I think you can piggyback on the singlefile endpoint.

<!-- gh-comment-id:2799947425 --> @MohamedBassem commented on GitHub (Apr 13, 2025): We support the SingleFile extension which does exactly that: https://docs.karakeep.app/Guides/singlefile. So I think you can piggyback on the singlefile endpoint.
Author
Owner

@dzx-dzx commented on GitHub (Apr 13, 2025):

Thanks! Let me take a look at it.

<!-- gh-comment-id:2799987909 --> @dzx-dzx commented on GitHub (Apr 13, 2025): Thanks! Let me take a look at it.
Author
Owner

@MohamedBassem commented on GitHub (Apr 14, 2025):

Feel free to reopen if it doesn't satisfy your needs.

<!-- gh-comment-id:2801688905 --> @MohamedBassem commented on GitHub (Apr 14, 2025): Feel free to reopen if it doesn't satisfy your needs.
Author
Owner

@dzx-dzx commented on GitHub (Apr 14, 2025):

For other visitors to this issue, an example of utilizing the singlefile endpoint with script:

  const html; // Assuming this is where the page content is stored
  const formData = new FormData();
  formData.append("file", new Blob([html], {
    type: "text/html"
  }), "temp") // Third argument unimportant?
  formData.append("url", "https://example.com/") // URL to your resource
  await fetch(`https://YOUR_KARAKEEP_URL/api/v1/bookmarks/singlefile`, {
    method: "POST",
    headers: {
      "Authorization": "Bearer xxx_xxxxxx" //Your token
    },
    body: formData
  })
<!-- gh-comment-id:2801849300 --> @dzx-dzx commented on GitHub (Apr 14, 2025): For other visitors to this issue, an example of utilizing the `singlefile` endpoint with script: ```js const html; // Assuming this is where the page content is stored const formData = new FormData(); formData.append("file", new Blob([html], { type: "text/html" }), "temp") // Third argument unimportant? formData.append("url", "https://example.com/") // URL to your resource await fetch(`https://YOUR_KARAKEEP_URL/api/v1/bookmarks/singlefile`, { method: "POST", headers: { "Authorization": "Bearer xxx_xxxxxx" //Your token }, body: formData }) ```
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#808
No description provided.