Jump to content

Web Bookmarks support for Brave


Recommended Posts

4 hours ago, JJJJ said:

I would like to try it again for Firefox history if you release an update.

 

Oh, right, yeah. I doubt that any update will fix the issue you're having because I've no idea what it is. It's basically impossible to debug the extension–workflow connection in Firefox, unfortunately.

Link to post
Share on other sites
  • 1 month later...

@Chris Spiegl Sorry to repeat my answer from November, but Brave doesn't currently make the bookmarks data readily available for third-parties to use, so there's no bookmarks integration for that particular browser.

 

It would be a good idea to make your voice heard to the Brave developers, as it'll be significantly easier for workflows and integrations  to work and be maintainable if the bookmarks data is more accessible. :)

 

Cheers,
Vero

Link to post
Share on other sites

Thank you @Vero for this update. I must have missed this in-between two threads I have found here.

I understand. I thought the fact that Brave is based on Chromium may mean that it is similar in terms of implementation with Bookmarks.

Do you happen to know of a public issue one can upvote to get a more consistent / open implementation happening with Brave?

Thank you again.

Link to post
Share on other sites
29 minutes ago, Chris Spiegl said:

that it is similar in terms of implementation with Bookmarks.

 

It is the same, but it's more complicated than how much effort it would be to add support for <Chromium-based Browser> right now. A new integration is for life, not just for Christmas.

 

A public API implies a certain guarantee of stability. Relying on reading an app's private data is inherently very risky because they might change or disappear at any time.

Link to post
Share on other sites
  • 2 weeks later...
  • 1 month later...

(When API comes out ! Also reach out maybe to the Brave developers, I'm sure one of them even uses Alfred !)

 

Definitely, definitely, definitely must include Brave browser bookmarks support, this thing is taking off like crazy in the tech savy users sphere, which is the exact population that would know about and use something like Alfred. Would extremely appreciate bookmark support for this browser, it's beyond annoying to have to switch to google chrome just to add a bookmark and then go back to brave to continue browsing; like it makes no sense, especially that some people don't even want google chrome downloaded on their system. For me personally, it's literally the last barrier to overcome before completely switching to Brave full time.

It's really just a matter of time before like half the world uses this (ok maybe exaggerating but seriously), everybody that tried it made the switch already, it's that good... and maybe for some new comers to Alfred, that exclusively use Brave, it could be a hard turn off that there isn't bookmark support, especially that a BIG portion of Alfred's utility for non-Powerpack (but also for Powerpack, hardcore) users is the INSTANT BOOKMARK search results.... that they can't use because they don't use chrome, let alone safari --- agreed, that shouldn't be the case.

Thanks in advance, best utility application, hands down, by light years, there is on MacOS, period. PS: I've tried the suggested workflow, but it's not even close to comparable to Alfred's native support (instant results). Also it would be nice if Alfred could natively support Browser history, a great idea supported by this workflow ! Looking forward !

 

Thanks for your time and efforts for developing and maintaining this application !

Edited by akharrou
Link to post
Share on other sites

I've just checked our site analytics before responding to make sure there hadn't been a significant shift in recent times, and currently, Safari and Chrome represent nearly 95% of Alfred's user base. Both of these browsers provide a reliable way to present bookmarks in the results.

 

If and when Edge, Brave or any browser, takes prevalence on macOS, we will consider supporting it, provided a legitimate, supported way to search bookmarks is available for the browser.

 

For transparency's sake, I posted this same answer in the Edge browser thread, as the argument is much the same: We love our users and want to make you happy. As such, it's also our responsibility to make sure that Alfred doesn't become bloated with features that become obsolete due to third-party changes, or are unsuitably niche. 


Workflows excel at filling the gap for features that are more fleeting or less stable, as users can continue to evolve their workflows to support changing apps or private APIs that could be taken away at any time.  

 

Cheers,
Vero

Link to post
Share on other sites

Thanks @Vero for considering this option. I know it would be the single greatest thing Alfred could do for me.

 

Currently there is a delay, when using this third party workflow and I also wish I didn't have to think if something is a bookmark or a file I've saved, but rather just have it all under the same Command-Space search. 

 

All of the code is available here so it seems like it should be easy for Alfred to implement and would only require one checkbox so it shouldn't bloat things too much, especially considering there is already a section in Alfred for Web Bookmarks. 

 

Anyways, I realize the Brave users are small in number. I imagine it will grow in time as people become more privacy conscious.

Edited by Awerkamp
Link to post
Share on other sites
On 2/11/2021 at 7:21 PM, Awerkamp said:

it seems like it should be easy for Alfred to implement and would only require one checkbox so it shouldn't bloat things too much, especially considering there is already a section in Alfred for Web Bookmarks. 

 

It is more complicated than just how easy it would be to do. Please read the thread.

Link to post
Share on other sites

This would be so good! 

 

That user base data can be misleading though. I'm included in that 95% as a Safari user, but that's only because this feature doesn't exist for Brave. Opening bookmarks is a huge part of how I use Alfred, so it's a major deciding factor in which browser I actually use. 

 

When it boils down to how I begin accessing the browser, it's either through Google Search or my rediculously large collection of bookmarks, and every now and then a link in an email. 🤷‍♂️ If the feature does get implemented, I'd close Safari immediately and change my default to Brave and it wouldn't be game changing but you'd see a shift int hat user base for sure.

 

Thanks for all the hard work @Vero 👍 most useful tool I've ever bought!

 

 

Link to post
Share on other sites

@dencoSeca a tip on that note:

You can already manage your bookmarks in Safari or Chrome but have Alfred open them in the "System Default Browser" which then means it would actually open in Brave if you have Brave setup as your system default.

It is inconvenient to have to manage the bookmarks in Safari and go there to make changes or add a new bookmark… but it's better than "having to use Safari" if you actually want to use Brave.

Hope that helps.

Link to post
Share on other sites
On 11/9/2020 at 12:01 PM, JJJJ said:

Hello, Thank you for the workflow. It look very useful and supports many browsers. I would really like to use it for Firefox bookmarks and history but It doesn't work for me. Not only for Firefox but also for Chrome. I am on 10.15.7 Catalina and Alfred 4.2.1. You can find the debugger output below.

 

[13:48:11.784] Chromium&Firefox Bookmarks and History[Script Filter] Queuing argument 'test'
[13:48:11.960] Chromium&Firefox Bookmarks and History[Script Filter] Script with argv 'test' finished
[13:48:11.965] ERROR: Chromium&Firefox Bookmarks and History[Script Filter] Code 1: Traceback (most recent call last):
  File "/Users/Ceyhun/Documents/Alfred.alfredpreferences/workflows/user.workflow.FBBADA4A-C051-42F1-B3CF-340DFF384FCB/chrom_bookmarks.py", line 12, in <module>
    from Alfred3 import Items as Items
  File "/Users/Ceyhun/Documents/Alfred.alfredpreferences/workflows/user.workflow.FBBADA4A-C051-42F1-B3CF-340DFF384FCB/Alfred3.py", line 7, in <module>
    from plistlib import readPlist, writePlist
ImportError: cannot import name 'readPlist' from 'plistlib' (/usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/plistlib.py)
[13:48:19.497] Chromium&Firefox Bookmarks and History[Script Filter] Queuing argument 'test'
[13:48:19.652] Chromium&Firefox Bookmarks and History[Script Filter] Script with argv 'test' finished
[13:48:19.657] ERROR: Chromium&Firefox Bookmarks and History[Script Filter] Code 1: Traceback (most recent call last):
  File "/Users/Ceyhun/Documents/Alfred.alfredpreferences/workflows/user.workflow.FBBADA4A-C051-42F1-B3CF-340DFF384FCB/chrom_history.py", line 12, in <module>
    from Alfred3 import Items as Items
  File "/Users/Ceyhun/Documents/Alfred.alfredpreferences/workflows/user.workflow.FBBADA4A-C051-42F1-B3CF-340DFF384FCB/Alfred3.py", line 7, in <module>
    from plistlib import readPlist, writePlist
ImportError: cannot import name 'readPlist' from 'plistlib' (/usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/plistlib.py)

 

 

I have same error .... what is the solution?

Edited by deanishe
Remove link
Link to post
Share on other sites

This error comes from Python 3.9 on plist libs. I assume you have 3.8 also installed on your system. What version are you using for python3

pyhton3 -V

 

Edited by Acidham
Link to post
Share on other sites
59 minutes ago, Acidham said:

What version are you using for python3

 

plistlib.readPlist() has been deprecated since 2014 (v3.4) and was removed in 3.9. Fix the workflow to use plistlib.load() instead.

 

Edited by deanishe
Link to post
Share on other sites
1 hour ago, deanishe said:

 

plistlib.readPlist() has been deprecated since 2014 (v3.4) and was removed in 3.9. Fix the workflow to use plistlib.load() instead.

 

I know, I nead to change that but didn't had time ;)

 

Edited by Acidham
Link to post
Share on other sites

Interesting, I just checked the code, but I already fixed the readPlist issue.

 

@evaaa Let me know on which version of the chromium-hist-bookmarks workflow you are. Latest, containing fix for the readPlist issue is 2.2.1

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...