Skip to main content

CLI tool to upload GIFs to Epomaker RT82 keyboard LCD screen

Project description

RT82 Display CLI

Upload GIFs to your Epomaker RT82 keyboard's LCD screen from the command line.

Installation

Install from PyPI

pip install rt82display

This installs the CLI tool and all Python dependencies. You can immediately use rt82display list, rt82display info, and upload pre-encoded .qgif files.

Linux: udev rules (required for non-root access)

# Download the rules file from the repo
sudo curl -o /etc/udev/rules.d/99-rt82.rules \
  https://raw.githubusercontent.com/guysoft/rt82display/main/udev/99-rt82.rules
sudo udevadm control --reload-rules
sudo udevadm trigger

Then unplug and replug the keyboard.

macOS: No extra setup required.

Optional: Build the native QGIF encoder

The native encoder is needed to upload .gif files directly (auto-converts GIF to QGIF). Without it you can still upload pre-encoded .qgif files.

git clone https://github.com/guysoft/rt82display.git
cd rt82display/wasm2c_runtime
./build.sh

Requirements: A C compiler (gcc/clang). The WABT runtime headers are included in the repository.

Development install

To install from a local checkout instead of PyPI:

git clone https://github.com/guysoft/rt82display.git
cd rt82display
pip install -e .

Usage

Upload a GIF (auto-encodes to QGIF)

rt82display upload my_animation.gif

Upload a pre-encoded QGIF file

rt82display upload my_animation.qgif

Encode a GIF without uploading

rt82display encode input.gif output.qgif

List connected devices

rt82display list

Show device/protocol info

rt82display info

Example

A test GIF is included in the repository to verify your setup works:

rt82display upload capture_test.gif

Example GIF

Limitations

  • 64KB file size limit: The RT82 firmware has a ~64KB buffer. Complex GIFs with many color transitions may exceed this limit and cause display artifacts.
  • Best results: Use simple GIFs with solid colors and minimal patterns.
  • If your GIF exceeds the limit, you'll see a warning but can still attempt the upload.

Alternative: Web Tool Encoding

If the native encoder doesn't work for your GIF, you can capture QGIF from the official web tool:

  1. Open https://image.rdmctmzt.com/ in Chrome
  2. Paste this in DevTools Console (F12):
window._p=[];const _s=HIDDevice.prototype.sendReport;HIDDevice.prototype.sendReport=function(i,d){window._p.push(Array.from(new Uint8Array(d)));return _s.call(this,i,d)};window.dl=()=>{const c=[];window._p.filter(x=>x[1]===0x19).forEach(x=>c.push(...x.slice(8)));if(!c.length){console.log('No data!');return}const a=document.createElement('a');a.href=URL.createObjectURL(new Blob([new Uint8Array(c)]));a.download='animation.qgif';a.click();console.log('Saved',c.length,'bytes')};console.log('Ready! Upload GIF, Download to Device, then run: dl()');
  1. Upload your GIF and click "Download to Device"
  2. Run dl() in console to save the QGIF file
  3. Upload via CLI: rt82display upload animation.qgif

Technical Details

  • Display: 240×135 RGB565
  • Format: Proprietary QGIF (RLE compressed)
  • Protocol: USB HID with two-stage device activation
  • Encoder: wasm2c-compiled from official qgif.wasm

See PROTOCOL.md and QGIF.md for technical documentation.

Troubleshooting

See AGENTS.md for detailed troubleshooting steps.

Quick fixes:

  • Device not found: Unplug and replug keyboard
  • Permission denied (Linux): Install the udev rules (see Prerequisites above) and replug
  • Screen stuck on "Downloading": Unplug and replug
  • Garbled display: GIF likely exceeds 64KB limit, try simpler patterns

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

rt82display-0.6.1.tar.gz (147.0 kB view details)

Uploaded Source

Built Distributions

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

rt82display-0.6.1-py3-none-win_amd64.whl (212.5 kB view details)

Uploaded Python 3Windows x86-64

rt82display-0.6.1-py3-none-musllinux_1_2_x86_64.whl (153.7 kB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

rt82display-0.6.1-py3-none-musllinux_1_2_aarch64.whl (159.1 kB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

rt82display-0.6.1-py3-none-manylinux_2_28_x86_64.whl (152.7 kB view details)

Uploaded Python 3manylinux: glibc 2.28+ x86-64

rt82display-0.6.1-py3-none-manylinux_2_28_aarch64.whl (158.4 kB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

rt82display-0.6.1-py3-none-macosx_11_0_arm64.whl (175.0 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

rt82display-0.6.1-py3-none-macosx_10_9_x86_64.whl (173.1 kB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

Details for the file rt82display-0.6.1.tar.gz.

File metadata

  • Download URL: rt82display-0.6.1.tar.gz
  • Upload date:
  • Size: 147.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for rt82display-0.6.1.tar.gz
Algorithm Hash digest
SHA256 aacf1388b3a3ffef689a6bb72ef763abdc7822434a2b2525a17655af58e746a5
MD5 0643a3138d6100df73aadbbc00ff42b3
BLAKE2b-256 e2a658f23db4a5e4b43e87f7a2a8bceeb4f646cd14e53ee750b7b6117b61cdb9

See more details on using hashes here.

Provenance

The following attestation bundles were made for rt82display-0.6.1.tar.gz:

Publisher: publish.yml on guysoft/rt82display

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rt82display-0.6.1-py3-none-win_amd64.whl.

File metadata

  • Download URL: rt82display-0.6.1-py3-none-win_amd64.whl
  • Upload date:
  • Size: 212.5 kB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for rt82display-0.6.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 11c14f9279df3c38c3a301ad54be5e7eb1e17092442cec16414a7befdd34c18c
MD5 57604778c09fd0aa216eaa4868ce7c11
BLAKE2b-256 d1fbe40f3ee608fb0847ce58ca48c83d9b513706c5afd8a8ef2dbc1688050b63

See more details on using hashes here.

Provenance

The following attestation bundles were made for rt82display-0.6.1-py3-none-win_amd64.whl:

Publisher: publish.yml on guysoft/rt82display

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rt82display-0.6.1-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for rt82display-0.6.1-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a3f01df4664113a082c2a70478f2db388512cbc7d9675e8c2aa75b0477633716
MD5 cd8f65160b06ff248c0c8c9483be9a3a
BLAKE2b-256 04331fca244ba83a229c0f099d19bdf4427f8fd6f146396009306713745a5764

See more details on using hashes here.

Provenance

The following attestation bundles were made for rt82display-0.6.1-py3-none-musllinux_1_2_x86_64.whl:

Publisher: publish.yml on guysoft/rt82display

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rt82display-0.6.1-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for rt82display-0.6.1-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 746ef07b29bba1b7d71b5af8d7519d9e66bea0bc969f622f759cecf86d6a1c24
MD5 8610bf707ceead1ae8df2aa5c59c8732
BLAKE2b-256 a46ca838e057bbaf1152738f9a8c7b285cd524cba386d2e1a112787512656aa4

See more details on using hashes here.

Provenance

The following attestation bundles were made for rt82display-0.6.1-py3-none-musllinux_1_2_aarch64.whl:

Publisher: publish.yml on guysoft/rt82display

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rt82display-0.6.1-py3-none-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for rt82display-0.6.1-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e47ec11d2db4ecdc7eedbe3e8dbc86fe68aff6d45c151477154164d5af8e8f70
MD5 64b80ddeb6575312c0fb3f2227aec7f2
BLAKE2b-256 b87eb95c99ca3da245fd9de70780ddc3d82628d56456f97d6b09e340985cc338

See more details on using hashes here.

Provenance

The following attestation bundles were made for rt82display-0.6.1-py3-none-manylinux_2_28_x86_64.whl:

Publisher: publish.yml on guysoft/rt82display

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rt82display-0.6.1-py3-none-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for rt82display-0.6.1-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 688d085965564b57805e749b4b033f481a777830bcfd70299a135b667f0634a0
MD5 29b1a1fe548fcf10315836dec639d8b0
BLAKE2b-256 ee222a2b67703f60e5b7b700d7e6691107d58997d999bdfcfbfde49d28c10aec

See more details on using hashes here.

Provenance

The following attestation bundles were made for rt82display-0.6.1-py3-none-manylinux_2_28_aarch64.whl:

Publisher: publish.yml on guysoft/rt82display

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rt82display-0.6.1-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for rt82display-0.6.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e8f819be2f254b3982585e29540daac1e51ae0d84be8ee7a0032fe0e9e07f4b6
MD5 114240bf9a6b1d141815366c9ab9f11c
BLAKE2b-256 66f7b5cdabe4a709846209dfe46276318bff6f86012486e2dea2e25f5fc0c736

See more details on using hashes here.

Provenance

The following attestation bundles were made for rt82display-0.6.1-py3-none-macosx_11_0_arm64.whl:

Publisher: publish.yml on guysoft/rt82display

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rt82display-0.6.1-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for rt82display-0.6.1-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9907de7e0b6fbdca1fe408f02c2bc0510b6330e90d4bde6e7a99c4e77764016a
MD5 e742932c4d54aa99db24995c794d3473
BLAKE2b-256 bb30741462745822d173a916d9ce2a8a6a8288784c22c6bae4eb4fe1c0dbfad9

See more details on using hashes here.

Provenance

The following attestation bundles were made for rt82display-0.6.1-py3-none-macosx_10_9_x86_64.whl:

Publisher: publish.yml on guysoft/rt82display

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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