open-source-ideas / ideas

💡 Looking for inspiration for your next open source project? Or perhaps you've got a brilliant idea you can't wait to share with others? Open Source Ideas is a community built specifically for this! 👋
6.59k stars 221 forks source link

Browser extension to search open tabs and browsing history #187

Open ItsNickBarry opened 5 years ago

ItsNickBarry commented 5 years ago

Project description

A project with two parts:

  1. Many users of tabbed browsing make use of the feature to the extreme, and may find it difficult to locate a particular tag among the multitudes. A full-text search of all open tabs would be useful. This might include fuzzy matching.

  2. Some users, weary of being overwhelmed by their open tabs, close them prematurely. A full-text search of closed tabs would help them to locate lost information. This could be applied to recently-closed tabs, or to a user's entire browsing history, depending on storage restrictions.

Relevant Technology

Javascript, Browser Extensions, Databases (must work with browser local storage), Search (something like Lunr?)

Complexity and required time

Complexity

Required time (ETA)

Categories

ItsNickBarry commented 5 years ago

Tabs can be searched by title, but not by content, as far as I know.

jeffslofish commented 5 years ago

I would like to work on this.

jeffslofish commented 5 years ago

I am making good progress, but in the meantime I found an extension that pretty much already does what you want and more: https://chrome.google.com/webstore/detail/tab-master-5000/mippmhcfjhliihkkdobllhpdnmmciaim. Just install it and open a new tab and you can search tabs, history, etc. Is there some different functionality you are looking for?

Repo here: https://github.com/jaszhix/tab-master-5000-extension

ItsNickBarry commented 5 years ago

@jeffslofish The search function seems to account for only tab titles and URLs. What I'm suggesting is that it be extended to search the full content of the tabs, and that the results be displayed like those of a search engine - with context, not just a filtered list of tabs.

jeffslofish commented 5 years ago

@ItsNickBarry So I have some good news. I have a prototype that demonstrates the feasibility of searching tab content and displaying search results that link to each tab.

You can find the repo here: https://github.com/jeffslofish/tab-search-chrome-extension. I have included some instructions for how to test it out in development mode right now.

ItsNickBarry commented 5 years ago

I'll take a look. Any chance of a cross-browser version? Is any of your code Chrome-specific?

ItsNickBarry commented 5 years ago

I imagine each browser might handle loading of restored tabs from a previous session differently.

jeffslofish commented 5 years ago

I developed it in Chrome. Let me see what it would take to make it work in Firefox too.

jeffslofish commented 5 years ago

I just made a fix to the manifest file and it is working in Firefox too now.

ItsNickBarry commented 5 years ago

@jeffslofish Looks very good so far.

Mennaruuk commented 2 years ago

I stumbled upon Memex a few days ago. It can basically do what you want! It can scour through “every word of all websites & PDFs you bookmarked, tagged, listed, or annotated.” It can’t directly search open tabs, but you can add all open tabs to a collection, and from there you can search through them. Check it out!

kema-dev commented 1 year ago

You might want to use omni