Skip to main content

A simple remote web keyboard

Project description

⚠️ Current status of this project

  • Run remote to serve
    • Commands are not supported yet.
  • Supported Operating Systems:
    • Linux (Xorg) - by pynput
    • Windows - by pynput
  • Not yet supported Operating Systems:
    • Linux (Wayland)
    • macos - requires testing

Couch Remote

A utility, available at PyPI, which serves a remote keyboard to control a computer.

Usage

  1. To install: pip install couch-remote (in a venv or globally)
  2. Now, your remote should be available.
  3. Optionally, remote scaffold-config, creates a basic settings file, then remote global settings.py copies it to a global configuration directory.
  4. Finally, remote control serves an instance at 0.0.0.0:4444. This is the only command, you're going to need from now on.

Settings

from pynput.keyboard import Key
from remote.models import Button

buttons = {
    'play_pause_media': Button(key=Key.media_play_pause, label='⏯️'),
    'esc': Button(key=Key.esc, label='Esc'),
    'caps': Button(key=Key.caps_lock, label='Caps Lock'),
    'space': Button(key=Key.space, label='Space'),
}

port = 4444

Q: Do jakiego formatu zapisują się i wczytują configi w settingsach?

Install a global settings file remote global settings.py

When ran, stores settings at a default path: ~/.config/couch-remote/settings.py

The app will default to this path when not specified.

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

couch-remote-0.2.2.tar.gz (6.1 kB view hashes)

Uploaded Source

Built Distribution

couch_remote-0.2.2-py3-none-any.whl (7.7 kB view hashes)

Uploaded Python 3

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