Open ylian opened 9 years ago
:+1:
:+1:
👍
:+1:
:+1:
That would be awesome!
After I finish the current update.
👍🏻
(but not as important to me as Services ;))
+1
Great app. What is the process of the Alfred integration of Quiver?
@benjamin19890721 No process at the moment.
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).
@pglombardo No public API but working on it. Scripting support coming soon.
@ylian Is there an issue for scripting support we can follow? Will it support scripting in JavaScript?
I will set up a ticket when the scripting support is close to ready, to gather feedback. Yes it will support JavaScript.
👍🏻
👍🏻
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: https://github.com/HappenApps/Quiver/issues/247
I'm not sure at the moment how Alfred/LaunchBar workflows work with AppleScript/JXA, so keep two tickets open for now.
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:
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.
@segphault Impressive work!
@segphault That sounds nice! Unfortunately I don't get it to work. No output for any keyword.
@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.
@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: <?xml version='1.0'?> [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'`
@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
Awesome, works fairly well now! Thanks a lot! Will you put it up on packal.org?
Great, I'm glad it's working now. :smile: 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.
Great! Looking forward to it.. 😉
@ylian are there plans to support note creation?
👍🏻
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.
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.
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.
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.