/extract-bookmarks

Exports and extracts bookmarks from Windows browsers into a folder that can be easily archived by launchers like Windows Search, Cortana, Launchy, Wox, Everything and PowerToys Run.

Primary LanguagePowerShell

instructions

  1. Run "exportAndExtractBookmarks.ps1" via PowerShell (right click menu)
  2. Find exported bookmark links in "bookmarks" folder in this directory. Optionally add this directory to your launcher index.
  3. Extra: Create a Windows Task Scheduler or cron job to run this on a schedule.

troubleshoot

all links are not appearing

  1. Edit "exportAndExtractBookmarks.ps1" with your favorite text editor
  2. Replace everything after "$path{BROWSER}Bookmarks =" with respective file paths for your Bookmarks file, bounded in quotes.
  3. Example: $pathChromeBookmarks = "C:\Users\bobsmith\AppData\Local\Google\Chrome\User Data\Profile 2\Bookmarks"

problem

Modern broswers do not often export bookmarks into multiple shortcut/link files. They instead create a single html export file. While faster, this approach does not allow a user to easily index bookmark files when using launcher tools like the Windows Search, Cortana, Launchy, Wox, Everything and PowerToys Run

summary

Exports and extracts bookmarks from common web browsers into a folder that can be easily archived by launchers like Windows Search, Cortana, Launchy, Wox, Everything and PowerToys Run. Currently, ignore errors thrown by PowerShell for Browsers not installed. Will be fixed in future, just busy :)

browsers supported

Chrome Brave Edge

future

  1. Create config file with user-defined variables for the browser user profile name, placeholder "Default"
  2. Create "if..." statements to prevent error throwing when browser isn't installed. Or just include "true/false" for "Is Broswers Installed?" in config file.
  3. Combine export and extract scripts to minimize redundant code and increase speed.
  4. Add support for Firefox by importing and converting ":\Users<Name>\AppData\Roaming\Mozilla\Firefox\Profiles<edition>-default\bookmarkbackups" into HTML file
  5. Test application with all launcher tools. I have only tested this program with PowerToys Run as it is supported by Microsoft, secure and fairly stable.