An AutoHotkey server allowing remote clients to execute ahk functionality
Project description
ahk-server
A server to allow remote execution of AutoHotkey using the Python ahk wrapper. Uses fastapi.
Installation
pip install ahk-server
Requires you have AutoHotkey installed. See ahk readme for non-python dependencies.
Usage
To start the server:
python -m ahk_server
This accepts two optional command line parameters: --host
and --port
. Alternatively, you can also configure the host
and port by setting the environment variables AHK_SERVER_HOST
and AHK_SERVER_PORT
.
Alternatively still, you can also invoke the server using uvicorn
uvicorn ahk_server.app:app
Standalone release
ahk-server
is also available in a standalone exe release which can be found in the releases page
For connecting to the server, see the client project: ahk-client.
Status
This project (and its client counterpart) is usable, but in very early stages of development. Notably, it does not currently include any authentication mechanisms for securing server connections, so use with caution.
TODO:
A noninclusive list of things that might come in the future:
- support some kind of basic authentication
- implement
run_script
functionality - implement non-blocking functionality
- implement extension negotiation with clients
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for ahk_server-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9e5d1f132e2d4a53995203aafb260258b0794f92b93ced9769dcef516aab3ab |
|
MD5 | 7eeca95189e9997648d84f55b7727e6a |
|
BLAKE2b-256 | b73c4e33077740617286ab0a92c2b4a00e7fcef3afb0643eb298a29cef4b69cb |