├── images ├── 1.png └── 2.png ├── SearchNeodbExtension ├── Icon.png └── Config.json ├── README.md └── README_en.md /images/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Wooden-Robot/Search-NeoDB-PopClip/HEAD/images/1.png -------------------------------------------------------------------------------- /images/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Wooden-Robot/Search-NeoDB-PopClip/HEAD/images/2.png -------------------------------------------------------------------------------- /SearchNeodbExtension/Icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Wooden-Robot/Search-NeoDB-PopClip/HEAD/SearchNeodbExtension/Icon.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 搜索 NeoDB 内容的 PopClip 插件 2 | 3 | [English](https://github.com/Wooden-Robot/Search-NeoDB-PopClip/blob/main/README_en.md) 4 | 5 | 这是一个简单的 PopClip 插件,可以让您在 Mac 上直接搜索 NeoDB。只需选中要搜索的文本并触发插件,您无需复制粘贴即可快速查找结果。 6 | 7 | ## 功能 8 | 9 | - 选中文本后,单击即可在 NeoDB 上搜索。 10 | - 在默认浏览器中打开搜索结果。 11 | - 快速高效的搜索体验。 12 | 13 | ## 安装 14 | 15 | 1. 下载 [SearchNeodbExtension.popclipextz](https://github.com/Wooden-Robot/Search-NeoDB-PopClip/releases/download/v0.02/SearchNeodbExtension.popclipextz) 文件。 16 | 2. 双击文件,安装该插件到 PopClip。 17 | 3. 安装完成后,您可以在任何应用中选中文本,点击 PopClip 菜单中的按钮进行搜索。 18 | 19 | ## 使用方法 20 | 21 | 只需在任何应用中选中文本,PopClip 菜单会弹出。 22 | 23 | - 点击 "🧩" 按钮,即可打开您选中文本的搜索结果。 24 | - 点击 "📖" 按钮,将会打开您选中文本的书籍搜索结果。 25 | - 点击 "🎬" 按钮,将会打开您选中文本的电影搜索结果。 26 | - 点击 "🎙️" 按钮,将会打开您选中文本的播客搜索结果。 27 | - 点击 "🎵" 按钮,将会打开您选中文本的音乐搜索结果。 28 | - 点击 "🎮" 按钮,将会打开您选中文本的游戏搜索结果。 29 | 30 | 你也可以在 PopClip 的插件管理中控制这些按钮的开启。 31 | 32 | ![1.png](/images/1.png) 33 | ![2.png](/images/2.png) -------------------------------------------------------------------------------- /README_en.md: -------------------------------------------------------------------------------- 1 | # PopClip Extension for Searching NeoDB Content 2 | 3 | [中文](https://github.com/Wooden-Robot/Search-NeoDB-PopClip/blob/main/README.md) 4 | 5 | This is a simple PopClip extension that allows you to directly search NeoDB on your Mac. Simply select the text you want to search and trigger the extension, and you can quickly find results without the need for copying and pasting. 6 | 7 | ## Features 8 | 9 | - Click to search on NeoDB after selecting text. 10 | - Opens search results in the default browser. 11 | - Fast and efficient search experience. 12 | 13 | ## Installation 14 | 15 | 1. Download the [SearchNeodbExtension.popclipextz](https://github.com/Wooden-Robot/Search-NeoDB-PopClip/releases/download/v0.02/SearchNeodbExtension.popclipextz) file. 16 | 2. Double-click the file to install the extension into PopClip. 17 | 3. After installation, you can select text in any application and click the button in the PopClip menu to perform a search. 18 | 19 | ## Usage 20 | 21 | Simply select text in any application, and the PopClip menu will pop up. 22 | 23 | - Click the "🧩" button to open the search results for your selected text. 24 | - Click the "📖" button to open the book search results for your selected text. 25 | - Click the "🎬" button to open the movie search results for your selected text. 26 | - Click the "🎙️" button to open the podcast search results for your selected text. 27 | - Click the "🎵" button to open the music search results for your selected text. 28 | - Click the "🎮" button to open the game search results for your selected text. 29 | 30 | You can also control the activation of these buttons in the PopClip extension management. 31 | 32 | ![1.png](/images/1.png) 33 | ![2.png](/images/2.png) -------------------------------------------------------------------------------- /SearchNeodbExtension/Config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Search NeoDB", 3 | "icon": "Icon.png", 4 | "options": [ 5 | { 6 | "identifier": "enableNeoDB", 7 | "label": "🧩", 8 | "type": "boolean", 9 | "defaultValue": true 10 | }, 11 | { 12 | "identifier": "enableBook", 13 | "label": "📖", 14 | "type": "boolean", 15 | "defaultValue": true 16 | }, 17 | { 18 | "identifier": "enableMovie", 19 | "label": "🎬", 20 | "type": "boolean", 21 | "defaultValue": true 22 | }, 23 | { 24 | "identifier": "enablePodcast", 25 | "label": "🎙️", 26 | "type": "boolean", 27 | "defaultValue": true 28 | }, 29 | { 30 | "identifier": "enableMusic", 31 | "label": "🎵", 32 | "type": "boolean", 33 | "defaultValue": true 34 | }, 35 | { 36 | "identifier": "enableGame", 37 | "label": "🎮", 38 | "type": "boolean", 39 | "defaultValue": true 40 | } 41 | ], 42 | "actions": [ 43 | { 44 | "title": "🧩", 45 | "icon": "magnifyingglass", 46 | "type": "url", 47 | "requirements": ["option-enableNeoDB=1"], 48 | "url": "https://neodb.social/search?q={popclip text}" 49 | }, 50 | { 51 | "title": "📖", 52 | "icon": "magnifyingglass", 53 | "requirements": ["option-enableBook=1"], 54 | "type": "url", 55 | "url": "https://neodb.social/search?q={popclip text}&c=book" 56 | }, 57 | { 58 | "title": "🎬", 59 | "icon": "magnifyingglass", 60 | "requirements": ["option-enableMovie=1"], 61 | "type": "url", 62 | "url": "https://neodb.social/search?q={popclip text}&c=movietv" 63 | }, 64 | { 65 | "title": "🎙️", 66 | "icon": "magnifyingglass", 67 | "requirements": ["option-enablePodcast=1"], 68 | "type": "url", 69 | "url": "https://neodb.social/search?q={popclip text}&c=podcast" 70 | }, 71 | { 72 | "title": "🎵", 73 | "icon": "magnifyingglass", 74 | "requirements": ["option-enableMusic=1"], 75 | "type": "url", 76 | "url": "https://neodb.social/search?q={popclip text}&c=music" 77 | }, 78 | { 79 | "title": "🎮", 80 | "icon": "magnifyingglass", 81 | "requirements": ["option-enableGame=1"], 82 | "type": "url", 83 | "url": "https://neodb.social/search?q={popclip text}&c=game" 84 | } 85 | ] 86 | } --------------------------------------------------------------------------------