olrenso / obsidian-home-tab

A browser-like search tab for your local files in Obsidian.
MIT License
248 stars 7 forks source link

feat: support online search and related settings #26

Closed notSagyo closed 1 year ago

notSagyo commented 1 year ago

Description

Adds support for online search, works without Surfing but integrates seemingly with it. This should address and resolve #1.

I've seen some commits addressing this, but they didn't seem to be implemented yet. This should fix it in the meantime, and also adds functionality even without Surfing.

Features

Notes

I tried combining different settings to ensure everything works properly. I haven't worked with Svelte or Obsidian's API previously, so this may not follow best practices but I tried to achieve consistency with existing code.

Potential improvements include using a dropdown to select search engines instead of writing the URL, and showing search results in the current tab instead of opening a new one and closing the previous.

olrenso commented 1 year ago

Hi, thank you for the PR. I'll look into it as soon as I have some free time and let you know.