- Qt6 >= 6.5
- Meson
- Ninja
Linux build:
- run
make
ormake release
and binary is ready insidebuild/linux/src
folder
Windows build:
- Download qt source from Qt website and compile only qtbase and qttools.
- Add Qt bin folder to
PATH
by editingQT_BIN
variable inbuild.ps1
- execute
.\build.ps1 release
and executable is produced insidebuild/win/src
folder
The IPC is using jsonrpc 2.0 and only communicate over WebSocket through port 31795.
Example usage can be found in the test script.
API documentation available in wsserver.cpp where
function name start with method
or here in summary with aria2 documentation style:
Open url or filepath using xdg-open
in Unix and win32 cmd's start
in Windows.
params:
uri: string;
return: "OK"
Delete file or folder.
filepath: string;
return: "OK"
Get status of file.
params:
filepath: string;
return:
{
type?: "folder" | "file",
exist: boolean,
}
Open a file picker pop-up and return selected file/folder, empty string if cancelled.
Since version 0.2.0
params:
type: "file" | "folder",
filter: string, // https://doc.qt.io/qt-6/qfiledialog.html#getOpenFileName
return:
{
selected: string,
}
Get aria2tray version.
return:
{
version: string,
}
Ping the server.
return: pong