Skip to main content

A simple remote web keyboard

Project description

Couch Remote

A utility, available at pypi. Download it on a computer and serve yourself a remote keyboard to control it.

Current state of things:

  • run remote to serve, commands are not supported yet.

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 localhost:4444. This is the only command, you're going to need from now on.

Settings

And how to set them.

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

Pilot 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.1.tar.gz (6.0 kB view hashes)

Uploaded Source

Built Distribution

couch_remote-0.2.1-py3-none-any.whl (7.6 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