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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file couch-remote-0.2.2.tar.gz.

File metadata

  • Download URL: couch-remote-0.2.2.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for couch-remote-0.2.2.tar.gz
Algorithm Hash digest
SHA256 a4e568103369dd279380076c6bb406dbb5dbf0988e99ddbeb67d9c4f93754d51
MD5 265c4797226df1ccf917dd85cc774a64
BLAKE2b-256 5e26ad511e0c4dd6b2cf198928e9719e8f4e4a5dbd5ca8468820aff1b1591904

See more details on using hashes here.

File details

Details for the file couch_remote-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: couch_remote-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for couch_remote-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ebec50fc895d8c6c2f1ff13acfa3e0f4caa201f9554e5c74d7c50a3905bb8e8d
MD5 02488dba345d0e2b0bfa7ac1c30a3042
BLAKE2b-256 5ba4953254471c0625d2fe3960fb963e429c62c0cf9e0ff0a4a7377edb0d0e4d

See more details on using hashes here.

Supported by

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