Skip to content

FR: Import existing HTML files #2045

@JokerQyou

Description

@JokerQyou

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions