From a34331b5b9fd4555385571436a2eca1d2974aff9 Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Sun, 27 Jul 2025 15:42:26 +0100 Subject: docs: Drop docs older than 0.21 --- docs/versioned_docs/version-v0.15.0/10-import.md | 45 ------------------------ 1 file changed, 45 deletions(-) delete mode 100644 docs/versioned_docs/version-v0.15.0/10-import.md (limited to 'docs/versioned_docs/version-v0.15.0/10-import.md') diff --git a/docs/versioned_docs/version-v0.15.0/10-import.md b/docs/versioned_docs/version-v0.15.0/10-import.md deleted file mode 100644 index 14c59034..00000000 --- a/docs/versioned_docs/version-v0.15.0/10-import.md +++ /dev/null @@ -1,45 +0,0 @@ -# Importing Bookmarks - -## Import using the WebUI - -Hoarder supports importing bookmarks using the Netscape HTML Format. - -Simply open the WebUI of your Hoarder instance and drag and drop the bookmarks file into the UI. - -:::info -All the URLs in the bookmarks file will be added automatically, you will not be able to pick and choose which bookmarks to import! -::: - -## Import using the CLI - -:::warning -Importing bookmarks using the CLI requires some technical knowledge and might not be very straightforward for non-technical users. Don't hesitate to ask questions in github discussions or discord though. -::: - -### Import from Chrome - -- First follow the steps below to export your bookmarks from Chrome -- To extract the links from this html file, you can run this simple bash one liner (if on windows, you might need to use [WSL](https://learn.microsoft.com/en-us/windows/wsl/install)): `cat | grep HREF | sed 's/.*HREF="\([^"]*\)".*/\1/' > all_links.txt`. -- This will create a file `all_links.txt` with all of your bookmarks one per line. -- To import them, we'll use the [hoarder cli](https://docs.hoarder.app/command-line). You'll need a Hoarder API key for that. -- Run the following command to import all the links from `all_links.txt`: - -``` -cat all_links.txt | xargs -I{} hoarder --api-key --server-addr bookmarks add --link {} -``` - -### Import from other platforms - -If you can get your bookmarks in a text file with one link per line, you can use the following command to import them using the [hoarder cli](https://docs.hoarder.app/command-line): - -``` -cat all_links.txt | xargs -I{} hoarder --api-key --server-addr bookmarks add --link {} -``` - -## Exporting Bookmarks from Chrome - -- Open Chrome and go to `chrome://bookmarks` -- Click on the three dots on the top right corner and choose `Export bookmarks` -- This will download an html file with all of your bookmarks. - -You can use this file to import the bookmarks using the UI or CLI method described above \ No newline at end of file -- cgit v1.2.3-70-g09d2