[GH-ISSUE #2045] FR: Import existing HTML files #1275

Open
opened 2026-03-02 11:56:13 +03:00 by kerem · 1 comment
Owner

Originally created by @JokerQyou on GitHub (Oct 14, 2025).
Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/2045

Describe the feature you'd like

I've previously saved a lot of HTML files using SingleFile extension while browsing the Internet. I'd like to import them into Karakeep so they can be searched and tagged. I see there is already a CLI tool, but it does not currently support importing HTML files (as assets).

Describe the benefits this would bring to existing Karakeep users

User could import existing HTML files saved by SingleFile extension.

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

Karakeep has a SingleFile HTTP destination API, but it requires you to save the file using SingleFile extension. Since my files are already saved on local disk, this is not applicable.

I suppose it is possible to use this API, by writing a module in the CLI tool that does this:

  • Parse original URL from given HTML file.
  • Send the URL and HTML content using the SingleFile API.

Have you searched for an existing open/closed issue?

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

Additional context

Not to be confused with existing importing feature (which imports HTML files that contain bookmarks, not contents).

Originally created by @JokerQyou on GitHub (Oct 14, 2025). Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/2045 ### Describe the feature you'd like I've previously saved a lot of HTML files using SingleFile extension while browsing the Internet. I'd like to import them into Karakeep so they can be searched and tagged. I see there is already a CLI tool, but it does not currently support importing HTML files (as assets). ### Describe the benefits this would bring to existing Karakeep users User could import existing HTML files saved by SingleFile extension. ### Can the goal of this request already be achieved via other means? Karakeep has a [SingleFile HTTP destination API](https://docs.karakeep.app/guides/singlefile), but it requires you to save the file using SingleFile extension. Since my files are already saved on local disk, this is not applicable. I suppose it is possible to use this API, by writing a module in the CLI tool that does this: - Parse original URL from given HTML file. - Send the URL and HTML content using the SingleFile API. ### Have you searched for an existing open/closed issue? - [x] I have searched for existing issues and none cover my fundamental request ### Additional context Not to be confused with existing importing feature (which imports HTML files that contain bookmarks, not contents).
Author
Owner

@foxdodo commented on GitHub (Dec 9, 2025):

I'm in the exact same boat. I've got a ton of old HTML snapshots that I can't import into KaraKeep. Did you happen to find a workaround for this? 求老哥找个解决方法🙏

<!-- gh-comment-id:3633586539 --> @foxdodo commented on GitHub (Dec 9, 2025): I'm in the exact same boat. I've got a ton of old HTML snapshots that I can't import into KaraKeep. Did you happen to find a workaround for this? 求老哥找个解决方法🙏
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#1275
No description provided.