MM2-0 / Kvaesitso

A search-focused Android launcher
https://kvaesitso.mm20.de/
GNU General Public License v3.0
2.49k stars 82 forks source link

[Idea] Ability to directly access browser bookmarks from the launcher #375

Open Terkyz opened 1 year ago

Terkyz commented 1 year ago

I have no idea if this is even possible, as I'm not sure if browsers like Firefox allow it, but it would be great to have the ability to search for "Flat" and have a recommended shortcut to Flathub (My bookmark in Firefox) appear. I know I could just search for "Flathub" in the Kvaesitso search bar and I'll be redirected to Google and from there I can go to Flathub, but maybe this could also be something useful.

Sir-Photch commented 1 year ago

Technically you could use the "add to homescreen" feature for a given webpage. This would result in the site being searchable. IIRC you can even un-favorite the added icon in the favorites, while still keeping the item to be searchable.

MM2-0 commented 1 year ago

Unfortunately there is no API to this (it has been removed in Android 6).

There's only possible solution that I could think of:

  1. Maybe someone could write an extension for Firefox that would somehow publish the browser's bookmarks to Kvaesitso – similar to how Plasma Integration and KRunner's bookmark search work (on KDE). However, I don't really believe that this is possible and I'd rather spend my time developing other, more promising ideas. But if someone manages to build a proof of concept of this idea, I'd gladly give it a go.

  2. Maybe it is possible to access Firefox's sync server APIs directly and query the bookmarks from there, but again, this is quite ambitious and I don't really want to waste my time on that.

MM2-0 commented 1 year ago

Just another thing I'd like to add: while I definitely see the potential of this idea, I don't think I would use it a lot personally. I have set Firefox as my assistant app so I just need to squeeze my device to launch Firefox from every screen. From there, I can access my bookmarks from Firefox's home page or use its search. Maybe that is an option for you as well (I guess squeeze to Assistant isn't a thing anymore in modern devices but there are at least half a dozen other ways to launch the assistant app).

advait404 commented 1 year ago

@MM2-0 I think it should be possible to integrate nextcloud bookmarks. That should be easier to integrate with the search bar, since I think it provides an api for the bookmarks. Otherwise, the app also creates a backup .htm file that can be read for the bookmarks.