hoarder-app / hoarder

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
https://hoarder.app
GNU Affero General Public License v3.0
6.63k stars 240 forks source link

[FR] Support uploading SingleFile `.html` files from local filesystem. #329

Open huyz opened 4 months ago

huyz commented 4 months ago

Sometimes we've manually saved web pages using browser extensions like SingleFile into a single .html file. This is especially needed if the web page is behind a paywall or a login or we've already painstakingly zapped unwanted DOM elements before saving.

So it would be nice to support uploading these SingleFile .html files.

These use cases overlap with what the official Hoarder browser extension could do if it supported web-clipping functionality (https://github.com/hoarder-app/hoarder/issues/330). I think that there's a need for both. The advantage of supporting uploading local .html files from the filesystem are for uploading a cache of old SingleFile .html files we've already collected or those collected by other apps such as ArchiveBox.