Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration with Alfred, LaunchBar #92

Open
ylian opened this issue Apr 9, 2015 · 33 comments

Comments

Projects
None yet
@ylian
Copy link
Member

commented Apr 9, 2015

Lots of power users use app launchers such as Alfred and LaunchBar. It would be nice to be able to run a few basic actions from these apps, e.g., search Quiver notes, create a new note.

What's really needed is to provide scripting support in Quiver. Then it would be easy to integrate with these app launchers.

@LeonardoGentile

This comment has been minimized.

Copy link

commented Apr 9, 2015

👍

4 similar comments
@marksb

This comment has been minimized.

Copy link

commented Apr 16, 2015

👍

@eliasmaier

This comment has been minimized.

Copy link

commented May 23, 2015

👍

@robdecker

This comment has been minimized.

Copy link

commented Jun 6, 2015

👍

@dkarter

This comment has been minimized.

Copy link

commented Jul 1, 2015

👍

@januz

This comment has been minimized.

Copy link

commented Jul 3, 2015

That would be awesome!

@ylian

This comment has been minimized.

Copy link
Member Author

commented Jul 3, 2015

After I finish the current update.

@lastobelus

This comment has been minimized.

Copy link

commented Sep 9, 2015

👍🏻

(but not as important to me as Services ;))

@asafge

This comment has been minimized.

Copy link

commented Oct 16, 2015

+1

@z-jason

This comment has been minimized.

Copy link

commented Oct 22, 2015

Great app. What is the process of the Alfred integration of Quiver?

@ylian

This comment has been minimized.

Copy link
Member Author

commented Oct 22, 2015

@benjamin19890721 No process at the moment.

@pglombardo

This comment has been minimized.

Copy link

commented Nov 29, 2015

I'd like to see this too. I've written Alfred workflows in the past. Is there an public API somewhere for Quiver? Couldn't find any docs.

Love v3.0 BTW. Just killed off Evernote for good (finally).

@ylian

This comment has been minimized.

Copy link
Member Author

commented Nov 29, 2015

@pglombardo No public API but working on it. Scripting support coming soon.

@mAAdhaTTah

This comment has been minimized.

Copy link

commented Dec 2, 2015

@ylian Is there an issue for scripting support we can follow? Will it support scripting in JavaScript?

@ylian

This comment has been minimized.

Copy link
Member Author

commented Dec 2, 2015

I will set up a ticket when the scripting support is close to ready, to gather feedback. Yes it will support JavaScript.

@facetheheat

This comment has been minimized.

Copy link

commented Dec 7, 2015

👍🏻

1 similar comment
@yangcaimu

This comment has been minimized.

Copy link

commented Dec 8, 2015

👍🏻

@ylian

This comment has been minimized.

Copy link
Member Author

commented Dec 11, 2015

Created a page for Alfred/LaunchBar workflows: https://github.com/HappenApps/Quiver/wiki/Alfred-LaunchBar-Integration

I'm working on scripting support right now. I will send out a build in a day or two.

Also here is a ticket for scripting support: #247

I'm not sure at the moment how Alfred/LaunchBar workflows work with AppleScript/JXA, so keep two tickets open for now.

@ylian

This comment has been minimized.

Copy link
Member Author

commented Dec 13, 2015

Here is the first draft of scripting support: https://dl.dropboxusercontent.com/u/3445731/Quiver-scripting-draft1.zip

In this first draft, only notebooks, notes, tags and a few basic properties are exposed. And they are read-only.

Let me know what else you need for your scripts and I will try to add.

Check the scripting dictionary for details:

screen shot 2015-12-13 at 4 35 22 pm

@segphault

This comment has been minimized.

Copy link

commented Mar 5, 2016

I made an experimental Alfred workflow for searching Quiver notes. It uses Quiver's own SearchKit index file in order to perform efficient full-text searches. It's implemented in Python and I used PyObjC to dig into the SearchKit APIs. When the user selects a note from the search results, it uses a quiver:// URL to open it.

Quiver.zip

@ylian

This comment has been minimized.

Copy link
Member Author

commented Mar 5, 2016

@segphault Impressive work!

@julianmenzler

This comment has been minimized.

Copy link

commented Mar 5, 2016

@segphault That sounds nice! Unfortunately I don't get it to work. No output for any keyword.

@segphault

This comment has been minimized.

Copy link

commented Mar 7, 2016

@jmenzler if you wouldn't mind, could you try it with the debug panel open in the Alfred workspace view and let me know what error message pops up? I've found a few bugs that I'm working out (it breaks when the path to your Quiver files has a space in it because I forgot to have it reverse the url encoding for the path that SearchKit returns for the matched notes). I'll have an updated version shortly.

@julianmenzler

This comment has been minimized.

Copy link

commented Mar 7, 2016

@segphault Of course, here you go:

`[ERROR: alfred.workflow.input.scriptfilter] Code 1: Traceback (most recent call last):
File "", line 12, in
File "quiver.py", line 26, in getData
with open (metaFile, "r") as f:
IOError: [Errno 2] No such file or directory: u'/Users/username/Dropbox/Macs/App%20Data/Quiver/Quiver.qvlibrary/Tutorial.qvnotebook/D2A1CC36-CC97-4701-A895-EFC98EF47026.qvnote/meta.json'
[ERROR: alfred.workflow.input.scriptfilter] XML Parse Error 'The operation couldn’t be completed. (NSXMLParserErrorDomain error 5.)'. Row (null), Col (null): 'Extra content at the end of the document' in XML:

[ERROR: alfred.workflow.input.scriptfilter] Code 1: Traceback (most recent call last): File "", line 12, in File "quiver.py", line 26, in getData with open (metaFile, "r") as f: IOError: [Errno 2] No such file or directory: u'/Users/username/Dropbox/Macs/App%20Data/Quiver/Quiver.qvlibrary/47749668-B202-42A1-933D-285D44E164E8.qvnotebook/4E6F7D31-C958-42D6-9B7A-4E1BF3C3885E.qvnote/meta.json'`
@segphault

This comment has been minimized.

Copy link

commented Mar 7, 2016

@jmenzler yep, it's the URL encoding issue, as I suspected. Thanks for sending the error message. Here's an updated version of the workflow that should work: Quiver.zip

@julianmenzler

This comment has been minimized.

Copy link

commented Mar 7, 2016

Awesome, works fairly well now! Thanks a lot! Will you put it up on packal.org?

@segphault

This comment has been minimized.

Copy link

commented Mar 7, 2016

Great, I'm glad it's working now. 😄 I wasn't planning on putting it up on Packal right away, but I'll probably do it in the future as I add more features and want to start updating it regularly.

@julianmenzler

This comment has been minimized.

Copy link

commented Mar 7, 2016

Great! Looking forward to it.. 😉

@underscorephil

This comment has been minimized.

Copy link

commented Mar 8, 2016

@ylian are there plans to support note creation?

@AmadeusB

This comment has been minimized.

Copy link

commented Mar 24, 2016

👍🏻

@moubi

This comment has been minimized.

Copy link

commented Mar 29, 2016

Using Quiver with Alfred is a good way to go. As a programmer I need to find fairly quick any code related information - snippets, common problems, bookmarks. Usually what we do is to go search google or stackoverflow.

I would like to first search my own knowledge base and then go to google. And this should happen faster, so I think Cmd + Space -> quiver action is the way to go. Doing as Mac native as possible.

@wonderffee

This comment has been minimized.

Copy link

commented May 29, 2016

Is it possible to search tags in Quiver with Alfred workflow? I really like one EverNote workflow(Evernote 8.991 (Evernote 6.06+ support): Search, Create, Append, set Reminders... All within Alfred) , it supports search Evernote tag by "ens #tag". I hope Quiver has the similar feature.

@JMichaelTX

This comment has been minimized.

Copy link

commented Mar 23, 2017

Request for LaunchBar Support

I don't use Alfred, but I use LaunchBar extensively.
I could really use the ability to search Quiver from LaunchBar. From there I can use LB's powerful "Send" feature to send it to any app I want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.