shaarli / Shaarli

The personal, minimalist, super-fast, database free, bookmarking service - community repo
https://shaarli.readthedocs.io/
Other
3.45k stars 296 forks source link

Chrome and Firefox advanced extension #825

Open nilsbyte opened 7 years ago

nilsbyte commented 7 years ago

This tool is awesome... if it only would have a proper browser extension. The extensions I found only replace the bookmarklet.

Things, a browser extension for Shaarli should have in my view:

Is something like this possible in the current state of development? I saw there is an API in development. Can it handle the things mentioned?

If someone is willing to do it, I would be happy to help with UI work.

alexisju commented 7 years ago

Long time ago, i was also a regular user of this kind of add-on (with the del.icio.us plugin for Firefox), before to moving to Shaarli. Indeed i think that an intregrated browser based tool to manage (and use) saved links could be more efficient that a web based tool (in particular if you just want to keep and manage your bookmarks for yourself).

ArthurHoaro commented 7 years ago

I'm not sure to understand your request here. Would Shaarli results in the browser bar be mixed with your actual history and Google suggestion or would you use a special keyword? Would it returns the actual URL or a link to your shaare?

Could you provide one or two use case examples?

Also note that Shaarli supports OpenSearch, meaning that you can make a quick search by adding your instance as a search engine, apply a keyword like shaa and search with shaa test.

alexisju commented 7 years ago

In the past, for delicious, they were a browser addon which was a kind of sync and manage tool. All bookmarks were very quickly usable as local bookmarks.

Look at : http://web.archive.org/web/20111006160517/https://addons.mozilla.org/en-US/firefox/addon/delicious-bookmarks/

nilsbyte commented 7 years ago

@ArthurHoaro the Omnibar functionality usualy works in the way that you type a trigger, for example shaa and then the search string. The results are displayed among the browser history hits and Google suggest, mostly at the first position. When selecting a result, the underlying URL is opened.

The Chrome extension 'Bookmarks Tagger' (https://chrome.google.com/webstore/detail/bookmarks-tagger/dpiecafonfminhngabegejbligdagjfc) works this way. The trigger is bt here. The results are marked with a specific icon to tell them apart from suggests.

nilsbyte commented 7 years ago

@alexisju Yes, I am aware of this addon, but it did not sync traditional Browser-Bookmarks as far as I can remember. It only allowed for direct access to your tag-tree and the submission of URLs.

Bookmark Sync would NOT be a needed feature for a Shaarli browser extension, because there is no hierarchy or structure, only tags.

Something like the tag-tree would of course be nice (see: http://web.archive.org/web/20111017153017/https://static-cdn.addons.mozilla.net/img/uploads/previews/full/24/24424.png?modified=1218135152), but not a necessity.

virtualtam commented 7 years ago

Ideally, it should follow the Browser Extension format to ease supporting compatible browsers:

Edit by @nodiscc:

nodiscc commented 5 years ago

I found https://gitlab.com/calfater/shaarli-synchronizer (Firefox, Chrome) which apparently uses the API to synchronize Firefox and Shaarli bookmarks. Project archived, unmaintained

I have not tested it yet but using the API instead of just relying on the "Add link" dialog (like the Shaarli addon does) looks promising, as it would allow live synchronization and more.

sunjam commented 5 years ago

Have you considered Floccus? It is a very nice extension, which supports Firefox/Chrome/Vivaldi. Syncs Bookmarks and Folders across any number of devices to Nextcloud/WebDAV/local file system. See this related request in Floccus for Shaarli support.

Here is documentation for adding additional backends