Giter VIP home page Giter VIP logo

alfred-chrome-history's People

Contributors

jberkel avatar tupton avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

alfred-chrome-history's Issues

Integrate favicons

Chrome stores a favicon_id with history items which is a foreign key on a separate favicon db. Figure out how to use sqlite's ATTACH via the python bindings and use the favicon in the Alfred listing.

Integrate bookmarks

Bookmarks are stored in a similar sqlite db; search both of these and integrate, like the Chrome omnibar.

This probably should include some sort of intelligent sorting; since we use last_accessed_time for history items, we need to figure out where to insert bookmark results.

More fuzzy searching

Instead of using LIKE, use some sort of better fuzzy search like sqlite's full text or fzf.

Investigate why favicon support can make querying history slow

I have a feeling it has to do with the ATTACH and complex query.

This manifests as a ~1s delay in results, but not on my system.

At minimum, the band-aid is to make favicon optional. It'd be nice to know what the actual slowness is – copying the favicon db? ATTACH? the query itself? – and fix that instead.

The released workflow does not work well.

Alfred version is v3.2

I clicked the released workflow 'alfred-chrome-history-v0.4.0.alfredworkflow' to install this workflow.
The installation was successful. But is didn't work.

However, if I installed it with symlinking the cloned directory to /Alfred.alfredpreferences/workflows/alfred-chrome-history, it worked well.

By the way, it seems that installing python-alfred globally is necessary, also docopt!

How to show history results more friendly?

I think there is some more friendly way to show the results as some of the history may point to the same page with a little different, e.g. different head(#1, #2).

But I have not got a good idea how to deal with it.

Unable to copy database error

Does anyone know how to resolve this error? Whenever I try to search I get this error:

Unable to copy Google Chrome history database from /Users/name/Library/Application Support/Google/Chrome/Default/History

2018-03-29_1543

Better README

Add installation instructions, usage, etc.

Also add help for contributing, "building" from source, developing, etc.

get SyntaxError

SyntaxError: invalid syntax
[2018-03-14 10:04:27][ERROR: input.scriptfilter] Code 1: File "chrome.py", line 138
    except IOError, e:

Does this have anything to do with python version?

panic when cache directory is cleaned

[11:22:22.216] Google Chrome History[Script Filter] Queuing argument 'ar'
[11:22:22.245] Google Chrome History[Script Filter] Script with argv '(null)' finished
[11:22:22.247] ERROR: Google Chrome History[Script Filter] Code 1: Traceback (most recent call last):
  File "chrome.py", line 137, in <module>
    db = history_db(profile, favicons=favicons)
  File "chrome.py", line 87, in history_db
    history = copy_db(HISTORY_DB, profile)
  File "chrome.py", line 74, in copy_db
    cache = os.path.join(alfred.work(True), name)
  File "/Users/xxxxxxxxxxxxxxxxxx/alfred/preferences/Alfred.alfredpreferences/workflows/user.workflow.C918F46E-3F2A-46AE-994F-3E9CA9F7A8FE/alfred.py", line 80, in work
    return _create(path)
  File "/Users/xxxxxxxxxxxxxxxxxx/alfred/preferences/Alfred.alfredpreferences/workflows/user.workflow.C918F46E-3F2A-46AE-994F-3E9CA9F7A8FE/alfred.py", line 93, in _create
    os.mkdir(path)
OSError: [Errno 2] No such file or directory: '/Users/xxxxx/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.thomasupton.chrome-history'

Change the default number of results?

Even though only 9 results are visible in Alfred, you can scroll or arrow down for more if more are available. Is it worth making more (15? 20? 50?) available, or would more results be less relevant and clutter things?

v.0.4.0 can't handle multiple-word queries

It seems that entering a query that has the space character in it in v.0.4.0 causes the fallback search engines to display. The previous version did not have this issue.

I couldn't find any errors in the debugger's log.

I'm on Alfred 2 v2.8.1 (425) on Mac OS X 10.10.5 (14F1509).

Ability to ignore/deprioritize certain domains

In my case I want to ignore mail.google.com, as I'm rarely trying to get to an email directly via URL. When searching for a confluence page titled "foo" I don't want to see emails about changes to that page, I want to see the page itself.

Perhaps this is solved by #6

Show without keyword

Is it possible to some how show it as results by default to Alfred search without having to enter the ch keyword before?

All browser history entries

Awesome workflow! Would love to see the last 10 or so default chrome history entries displayed after ch is typed. Would be really handy in some situations.

Unable to copy

What does it mean?

CleanShot 2021-12-14 at 14 50 34

[14:50:26.343] Google Chrome History[Script Filter] Queuing argument 't' [14:50:26.425] Google Chrome History[Script Filter] Queuing argument 'te' [14:50:26.520] Google Chrome History[Script Filter] Script with argv '(null)' finished [14:50:26.523] ERROR: Google Chrome History[Script Filter] Code 255: <items><item autocomplete="Unable to copy Google Chrome history database from /Users/mattbook/Library/Application Support/Google/Chrome/Default/History" valid="NO"><title>Unable to copy Google Chrome history database from /Users/mattbook/Library/Application Support/Google/Chrome/Default/History</title><subtitle>Check the workflow log for more information.</subtitle></item></items>

bug

I just use my new macbook, and when I run the workflow, there are some problems.

`

Starting debug for 'Google Chrome History'

[2018-05-28 09:42:39][input.scriptfilter] Queuing argument ' '
[2018-05-28 09:42:39][input.scriptfilter] Script with argument '(null)' finished
[2018-05-28 09:42:39][ERROR: input.scriptfilter] Code 255: <title>Unable to copy Google Chrome history database from /Users/tzungtzu/Library/Application Support/Google/Chrome/Default/History</title>Check the workflow log for more information.
[2018-05-28 09:42:40][input.scriptfilter] Queuing argument ' d'
[2018-05-28 09:42:40][input.scriptfilter] Script with argument '(null)' finished
[2018-05-28 09:42:40][ERROR: input.scriptfilter] Code 255: <title>Unable to copy Google Chrome history database from /Users/tzungtzu/Library/Application Support/Google/Chrome/Default/History</title>Check the workflow log for more information.

`

and seems there is no folder Default/History in /Users/tzungtzu/Library/Application\ Support/Google/Chrome

anyone could help me?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.