Skip to content

Commit fbdb8a4

Browse files
authored
Merge branch 'plugin_api_v2' into plugin_api_v2
2 parents fbff36c + 8562a63 commit fbdb8a4

File tree

48 files changed

+3661
-3284
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+3661
-3284
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Looking for a list of currently available plugins in Flow? Visit [here](https://
1010

1111
## How to submit your plugin
1212

13-
1. Create a file named `${name}-${uuid}.json` in the [plugins](https://github.com/Jack251970/Flow.Launcher.PluginsManifest/tree/plugin_api_v2/plugins) directory.
13+
1. Create a file named `${name}-${uuid}.json` in the [plugins](https://github.com/Flow-Launcher/Flow.Launcher.PluginsManifest/tree/plugin_api_v2/plugins) directory.
1414
2. Copy these items from your plugin project's `plugin.json` file:
1515
- `ID`
1616
- `Name`

ci/src/test-python.py

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,36 @@ def get_all_python_plugins(manifest: dict) -> list:
8181
return [plugin for plugin in manifest if plugin["Language"].lower() == "python"]
8282

8383
def run_plugin(plugin_name: str, plugin_path: str, execute_path: str) -> bool:
84-
"""Run plugin and check output. Returns true if test successfull else false"""
84+
"""Run plugin and check output. Returns true if test successful else false"""
8585
os.chdir(plugin_path)
8686
default_settings = init_settings(plugin_name, plugin_path)
8787
args = json.dumps(
8888
{"method": "query", "parameters": [""], "Settings": default_settings}
8989
)
90-
full_args = ["python", "-S", Path(plugin_path, execute_path), args]
90+
9191
# Older Flox used environmental variable to locate Images directory
9292
os.environ["PYTHONPATH"] = str(USER_PATH.joinpath("PythonEmbeddable"))
93+
94+
# Compose the sys.path setup and runpy logic as Flow Launcher does in
95+
# https://github.com/Flow-Launcher/Flow.Launcher/blob/dfe96160ed44684810bcdf853f86fda4305122d6/Flow.Launcher.Core/Plugin/PythonPlugin.cs#L69-L81
96+
sys_path_setup = (
97+
f"import sys; "
98+
f"sys.path.append(r'{plugin_path}'); "
99+
f"sys.path.append(r'{plugin_path}\\lib'); "
100+
f"sys.path.append(r'{plugin_path}\\lib\\win32\\lib'); "
101+
f"sys.path.append(r'{plugin_path}\\lib\\win32'); "
102+
f"sys.path.append(r'{plugin_path}\\plugin'); "
103+
f"import runpy; "
104+
f"runpy.run_path(r'{Path(plugin_path, execute_path)}', None, '__main__')"
105+
)
106+
107+
full_args = [
108+
"python",
109+
"-S",
110+
"-c",
111+
sys_path_setup,
112+
args
113+
]
93114
print_section("Input", full_args)
94115
p = Popen(full_args, text=True, stdout=PIPE, stderr=PIPE)
95116
stdout, stderr = p.communicate()
@@ -104,7 +125,7 @@ def run_plugin(plugin_name: str, plugin_path: str, execute_path: str) -> bool:
104125
return True
105126
else:
106127
print_section(f"{plugin['Name']} test FAILED!", "")
107-
print(f'Plugin returned a non-zero exit code: {max(exit_code, 1)}')
128+
print(f'Plugin has returned a non-zero exit code: {max(exit_code, 1)}')
108129
if stderr != "":
109130
print_section('Trace', stderr)
110131
if json_msg:

etags.json

Lines changed: 272 additions & 260 deletions
Large diffs are not rendered by default.

plugins.json

Lines changed: 3085 additions & 2913 deletions
Large diffs are not rendered by default.

plugins/AudFlow-7CCD5CC94597483EBC3F179A69511D5C.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
"Name": "AudFlow",
44
"Description": "Text to speech Plugin",
55
"Author": "Ahmed ElSaeed",
6-
"Version": "2.1.1",
6+
"Version": "2.1.2",
77
"Language": "python",
88
"Website": "https://github.com/asmpro7/AudFlow",
9-
"UrlDownload": "https://github.com/asmpro7/AudFlow/releases/download/v2.1.1/AudFlow.zip",
9+
"UrlDownload": "https://github.com/asmpro7/AudFlow/releases/download/v2.1.2/AudFlow.zip",
1010
"UrlSourceCode": "https://github.com/asmpro7/AudFlow",
1111
"IcoPath": "https://cdn.jsdelivr.net/gh/asmpro7/AudFlow@main/Images/app.png",
1212
"Tested": true,
1313
"DateAdded": "2023-05-12T14:34:13Z",
14-
"LatestReleaseDate": "2024-02-17T19:08:59Z"
14+
"LatestReleaseDate": "2025-08-26T17:59:36Z"
1515
}

plugins/Bitwarden-5A8EBCEB7F6940E5B628BE122A87B560.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
"Name": "Bitwarden",
44
"Description": "Quick access to your Bitwarden vault via Flow Launcher.",
55
"Author": "RedMageKnight",
6-
"Version": "2.1.0",
6+
"Version": "2.2.0",
77
"Language": "csharp",
88
"Website": "https://github.com/RedMageKnight/Flow.Launcher.Plugin.BitwardenSearch",
9-
"UrlDownload": "https://github.com/RedMageKnight/Flow.Launcher.Plugin.BitwardenSearch/releases/download/v2.1.0/Flow.Launcher.Plugin.Bitwarden.zip",
9+
"UrlDownload": "https://github.com/RedMageKnight/Flow.Launcher.Plugin.BitwardenSearch/releases/download/v2.2.0/Flow.Launcher.Plugin.Bitwarden.zip",
1010
"UrlSourceCode": "https://github.com/RedMageKnight/Flow.Launcher.Plugin.BitwardenSearch/tree/main",
1111
"IcoPath": "https://cdn.jsdelivr.net/gh/RedMageKnight/Flow.Launcher.Plugin.BitwardenSearch/Images/bitwarden.png",
1212
"DateAdded": "2024-07-22T16:13:00Z",
13-
"LatestReleaseDate": "2024-12-06T09:58:21Z"
13+
"LatestReleaseDate": "2025-08-08T18:26:55Z"
1414
}

plugins/Browser Bookmarks-0ECADE17459B49F587BF81DC3A125110.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
"Name": "Browser Bookmarks",
44
"Description": "Search your browser bookmarks",
55
"Author": "qianlifeng, Ioannis G.",
6-
"Version": "1.20.1",
6+
"Version": "1.20.2",
77
"Language": "csharp",
88
"Website": "https://github.com/Flow-Launcher/Flow.Launcher",
99
"IcoPath": "https://cdn.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher@master/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Images/bookmark.png",
10-
"UrlDownload": "https://github.com/Flow-Launcher/Flow.Launcher.Plugin.BrowserBookmark/releases/download/v1.20.1/Flow.Launcher.Plugin.BrowserBookmark.zip",
10+
"UrlDownload": "https://github.com/Flow-Launcher/Flow.Launcher.Plugin.BrowserBookmark/releases/download/v1.20.2/Flow.Launcher.Plugin.BrowserBookmark.zip",
1111
"UrlSourceCode": "https://github.com/Flow-Launcher/Flow.Launcher.Plugin.BrowserBookmark",
1212
"DateAdded": "2023-09-27T02:43:06Z",
13-
"LatestReleaseDate": "2025-06-14T10:46:54Z"
13+
"LatestReleaseDate": "2025-07-13T14:19:59Z"
1414
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"ID": "10A62E71-37A5-4978-95A7-4D3F7FBD5885",
3+
"Name": "Browser Tabs",
4+
"Description": "Search, activate, or close browser tabs. A centralized plugin for managing all open tabs in your browser",
5+
"Author": "Jeremy Wu",
6+
"Version": "1.0.1",
7+
"Language": "csharp",
8+
"Website": "https://github.com/Flow-Launcher/Flow.Launcher.Plugin.BrowserTabs",
9+
"UrlDownload": "https://github.com/Flow-Launcher/Flow.Launcher.Plugin.BrowserTabs/releases/download/v1.0.1/BrowserTabs-1.0.1.zip",
10+
"UrlSourceCode": "https://github.com/Flow-Launcher/Flow.Launcher.Plugin.BrowserTabs",
11+
"IcoPath": "https://cdn.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.Plugin.BrowserTabs@main/Images/icon.png",
12+
"LatestReleaseDate": "2025-08-25T12:56:14Z",
13+
"DateAdded": "2025-08-24T15:21:19Z"
14+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"ID": "517b8920fe5647e284c29089749ab69b",
3+
"Name": "CHZZK",
4+
"Description": "Watch CHZZK conveniently.",
5+
"Author": "yckim",
6+
"Version": "1.1.2",
7+
"Language": "typescript",
8+
"Website": "https://github.com/kim0chan/Flow.Launcher.Plugin.CHZZK",
9+
"UrlDownload": "https://github.com/kim0chan/Flow.Launcher.Plugin.CHZZK/releases/download/v1.1.2/Flow.Launcher.Plugin.CHZZK.zip",
10+
"UrlSourceCode": "https://github.com/kim0chan/Flow.Launcher.Plugin.CHZZK/tree/main",
11+
"IcoPath": "https://cdn.jsdelivr.net/gh/kim0chan/[email protected]/packages/plugin/images/app.png",
12+
"DateAdded": "2025-08-11T02:09:48Z",
13+
"LatestReleaseDate": "2025-08-10T08:21:19Z"
14+
}

plugins/Calculator-CEA0FDFC6D3B4085823D60DC76F28855.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
"Name": "Calculator",
44
"Description": "Provide mathematical calculations.(Try 5*3-2 in Flow Launcher)",
55
"Author": "cxfksword",
6-
"Version": "1.20.1",
6+
"Version": "1.20.2",
77
"Language": "csharp",
88
"Website": "https://github.com/Flow-Launcher/Flow.Launcher",
9-
"UrlDownload": "https://github.com/Flow-Launcher/Flow.Launcher.Plugin.Calculator/releases/download/v1.20.1/Flow.Launcher.Plugin.Calculator.zip",
9+
"UrlDownload": "https://github.com/Flow-Launcher/Flow.Launcher.Plugin.Calculator/releases/download/v1.20.2/Flow.Launcher.Plugin.Calculator.zip",
1010
"UrlSourceCode": "https://github.com/Flow-Launcher/Flow.Launcher.Plugin.Calculator",
1111
"IcoPath": "https://cdn.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher@master/Plugins/Flow.Launcher.Plugin.Calculator/Images/calculator.png",
1212
"DateAdded": "2023-09-27T02:43:06Z",
13-
"LatestReleaseDate": "2025-06-14T10:47:05Z"
13+
"LatestReleaseDate": "2025-07-13T14:20:12Z"
1414
}

0 commit comments

Comments
 (0)