Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ahk_server-0.1.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

ahk_server-0.1.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file ahk_server-0.1.0.tar.gz.

File metadata

  • Download URL: ahk_server-0.1.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for ahk_server-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7d44e676c60bcd04a9617290eeb5daf6cc5c011724718fc316482ce4a974ed1d
MD5 4c2acc7b1ed23425be503d836ffb78b6
BLAKE2b-256 a4fccc0e42bf8913610d034527cf13224c16ddbc84677bf7afe73dbbce683226

See more details on using hashes here.

File details

Details for the file ahk_server-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ahk_server-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for ahk_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d9e5d1f132e2d4a53995203aafb260258b0794f92b93ced9769dcef516aab3ab
MD5 7eeca95189e9997648d84f55b7727e6a
BLAKE2b-256 b73c4e33077740617286ab0a92c2b4a00e7fcef3afb0643eb298a29cef4b69cb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page