{"id":13571984,"url":"https://github.com/mpco/AlfredWorkflow-DEVONthink-Search","last_synced_at":"2025-04-04T09:31:22.680Z","repository":{"id":42391226,"uuid":"155792455","full_name":"mpco/AlfredWorkflow-DEVONthink-Search","owner":"mpco","description":"Powerful Tool for Searching in DEVONthink.","archived":false,"fork":false,"pushed_at":"2023-06-13T14:39:45.000Z","size":264,"stargazers_count":576,"open_issues_count":13,"forks_count":37,"subscribers_count":22,"default_branch":"master","last_synced_at":"2024-11-05T05:33:41.051Z","etag":null,"topics":["alfred","alfred-workflow","alfred4","devonthink"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mpco.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-11-02T00:27:54.000Z","updated_at":"2024-11-04T01:29:17.000Z","dependencies_parsed_at":"2024-01-14T03:49:52.952Z","dependency_job_id":"65db3ef4-c959-45a9-9b72-7214d774ad8b","html_url":"https://github.com/mpco/AlfredWorkflow-DEVONthink-Search","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpco%2FAlfredWorkflow-DEVONthink-Search","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpco%2FAlfredWorkflow-DEVONthink-Search/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpco%2FAlfredWorkflow-DEVONthink-Search/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpco%2FAlfredWorkflow-DEVONthink-Search/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mpco","download_url":"https://codeload.github.com/mpco/AlfredWorkflow-DEVONthink-Search/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247153120,"owners_count":20892605,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alfred","alfred-workflow","alfred4","devonthink"],"created_at":"2024-08-01T14:01:10.269Z","updated_at":"2025-04-04T09:31:17.660Z","avatar_url":"https://github.com/mpco.png","language":"JavaScript","readme":"\u003ch1 align=\"center\"\u003eDEVONthink Search\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003ePowerful tool for seaching in DEVONthink 3\u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"#\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/stars/mpco/AlfredWorkflow-DEVONthink-Search\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://twitter.com/intent/tweet?text=Amazing%20Alfred%20workflow:%20https://github.com/mpco/AlfredWorkflow-Recent-Documents\"\u003e\n        \u003cimg src=\"https://img.shields.io/twitter/url?url=https%3A%2F%2Fgithub.com%2Fmpco%2FAlfredWorkflow-Recent-Documents\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/mpco/AlfredWorkflow-DEVONthink-Search/blob/master/README_CN.md\"\u003e中文说明\u003c/a\u003e •\n    \u003ca href=\"https://github.com/mpco/AlfredWorkflow-DEVONthink-Search/releases\"\u003eDownload\u003c/a\u003e •\n    \u003ca href=\"#how-to-use\"\u003eHow To Use\u003c/a\u003e •\n    \u003ca href=\"#configuration\"\u003eConfiguration\u003c/a\u003e\n\u003c/p\u003e\n\n\n**NB:** For DEVONthink 2.x, you should use the versions of this workflow before V7.0. Switch to [Branch DEVONthink 2.x](https://github.com/mpco/AlfredWorkflow-DEVONthink-Search/tree/DEVONthink2.x) to access the README document and source code.\n\n**Sorry, no more updates as I no longer use a Mac computer and the installation of macOS virtual machine failed.**\n\n## How to Use\n\n- Type `dnt + keywords` to search in all opened databases in Alfred. **Search results are sorted by relevance score, consistent with DEVONthink.**\n- Type `dnts + keywords` to search in DEVONthink window.\n    - Press `Enter` to search in existing window.\n    - Press `⌘Command + Enter` to search in a new window. \n- Type `dnd` to choose which datebase to search\n    - Press `Enter`, then type in `keywords` to search in the chosen database. \n    - Press `⌘Command + Enter` to list all tags in the database, then choose a tag and press `Enter` to list all documents which have the tag.\n    - Press `⌥Option + Enter` to list smart groups in the chosen database.\n- Type `dnm + tag1, tag2, ...` to list all documents which have these tags in all database. **Tags inputed must be exact. For example, Tag `aBcD` can't be inputed as `aBc` or `abcd`**\n- Actions for Workspace:\n    - Type `dnw` to list all workspaces, press `Enter` to load the selected workspace.\n    - Type `dnwa + WorkspaceName` to save current workspace named `WorkspaceName`.\n- Type `dnf` to list favorites.\n- Type `dnsg` to list all smart groups in all opened databases.\n\nAfter documents were listed,\n\n- Press `Enter` to open the selected file with external editor.\n- Press `⌘Command + Enter` to open with DEVONthink.\n- Press `⌥Option + Enter` to reveal result in DEVONthink.\n- Press `⇧Shift + Enter` to copy item's markdown link.\n- Press `→`, `fn`, etc. to show file actions of Alfred. The keys are set in `Features → File Search → Actions` of Alfred Preferences.\n- Press `Shift` or `⌘Command + Y` to `QuickLook` the selected file.\n- Press `⌘Command + C` to copy DEVONthink link (x-devonthink-item://xxxx) of the selected file.\n- Drag \u0026 Drop file in the result list to wherever you want.\n\n![Enter](https://user-images.githubusercontent.com/3690653/48790940-73625180-ed2b-11e8-89dc-6bf4f6b9e72a.png)\n\n## Configuration\n\n### `ignoredDbUuidList`: ignore databases\n\n`dnt` and `dnm` search in **all** opened databases. You can ignore some databases by setting `ignoredDbUuidList` environment variable in Alfred workflow.\n\n1. Copy database link in DEVONthink, which is similar to `x-devonthink-item://1FC1A542-D8CA-4807-B806-8617966870B5`.\n2. The part `1FC1A542-D8CA-4807-B806-8617966870B5` is the database's UUID.\n3. Fill in workflow configuration with UUIDs. You should separate multiple UUIDs with comma(,).\n\n\u003cimg src=\"https://user-images.githubusercontent.com/3690653/48790986-9987f180-ed2b-11e8-8f64-846d96fd26b9.png\" width=\"450\"\u003e\n\n### `filterOutGroup`: filter out group and tag in searching result\n\nYou can set environment variable `filterOutGroup` to `yes` if you want to filter out group and tag.\n\n### Automation permission in macOS Mojave\n\nAlfred will ask for Automation permission to control DEVONthink when you run the workflow for the first time. You should check up permission of Alfred controlling DEVONthink in `System Preferences → Security \u0026 Privacy → Privacy → Automation` if the workflow doesn't work.\n\n## Known issues\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpco%2FAlfredWorkflow-DEVONthink-Search","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmpco%2FAlfredWorkflow-DEVONthink-Search","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpco%2FAlfredWorkflow-DEVONthink-Search/lists"}