Skip to main content

Control your computer from a web interface

Project description

Preview of webcon.

Control your computer through shell commands from a barebones web interface.

Simple YAML-based configuration.


pip3 install webcon

Tab completion

sudo activate-global-python-argcomplete

If you installed via pip, you may need to run the following before autocompletion works:

grep 'PYTHON_ARGCOMPLETE_OK' "$(which webcon)" &>/dev/null || sudo sed -i "1a # PYTHON_ARGCOMPLETE_OK" "$(which webcon)"


usage: webcon [-h] [--host HOST] [-p PORT] [config_file]

Control your computer through shell commands from a barebones web interface.

Configuration goes in ~/.config/webcon/config.yaml, or may be provided by
command line argument. Variables in `__variables__` will be substituted once via

Example configuration:

    mpvfifo: ~/.local/share/mpv/fifo
    rewind: echo seek -5 > {mpvfifo}
    play/pause: echo cycle pause > {mpvfifo}
    fast forward: echo seek 5 > {mpvfifo}
    greet: say hello
    part: say farewell

positional arguments:
  config_file           The config file to use. Default:

optional arguments:
  -h, --help            show this help message and exit
  --host HOST           The server host. Default:
  -p PORT, --port PORT  The server port. Default: 8080

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

webcon-0.0.4.tar.gz (11.4 kB view hashes)

Uploaded source

Built Distribution

webcon-0.0.4-py36-none-any.whl (14.2 kB view hashes)

Uploaded 3 6

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